all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.