unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* -Re: "Select All" elisp snippet
@ 2004-01-07 15:22 Dr. F.C.Caner
  2004-01-07 17:57 ` David Kastrup
  2004-01-07 20:04 ` Dr. F.C.Caner
  0 siblings, 2 replies; 6+ messages in thread
From: Dr. F.C.Caner @ 2004-01-07 15:22 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-10 12:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-07 15:22 -Re: "Select All" elisp snippet Dr. F.C.Caner
2004-01-07 17:57 ` David Kastrup
2004-01-07 20:04 ` Dr. F.C.Caner
2004-01-07 20:32   ` David Kastrup
2004-01-08 16:38     ` Greg Fenton
2004-01-10 12:09       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).