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

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

-Re: "Select All" elisp snippet


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

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.
FCC

Edward Wijaya wrote:
> Hi Emacsen,
> 
> Is there a elisp function that enable us
> to do 'select all' in the document text?
> 
> Instead of having to mark it front and end document
> and copyiing beforehand.
> 
> Thanks so much for your time.
> 
> Regards,
> Edward Wijaya
> SINGAPORE


reply via email to

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