help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -Re: "Select All" elisp snippet


From: Dr. F.C.Caner
Subject: Re: -Re: "Select All" elisp snippet
Date: 7 Jan 2004 12:04:03 -0800

I do not claim that it does something more. The fact is that I did not
know about C-x h, nor (mark-whole-buffer) until I saw other replies.
May be I should have been more patient?
Best,
FCC

David Kastrup wrote:
> ferhun_caner@yahoo.com (Dr. F.C.Caner) writes:
> 
> 
>>I think you can put in your .emacs file something like
>>
>>(defun select-all()
>>(goto-char (point-min))
>>(set-mark-command)
>>(goto-char (point-max)))
>>
>>(global-set-key [C-a] 'select-all)
>>
>>to imitate Windows behavior. But, this is untested.
> 
> 
> It does nothing that C-x h (mark-whole-buffer) would not do just the
> same.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]