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: David Kastrup
Subject: Re: -Re: "Select All" elisp snippet
Date: 07 Jan 2004 18:57:21 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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