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

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

Re: Binding C-a to select all


From: Lennart Borgman (gmail)
Subject: Re: Binding C-a to select all
Date: Wed, 25 Jun 2008 09:52:24 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Davin Pearson wrote:
On Jun 25, 3:19 pm, "B. T. Raven" <address@hidden> wrote:
(define-key global-map [(control a)] 'mark-whole-buffer)

Thank you for your help but there is problem with the above code in
that it doesn't highlight the region in the face "region" or "primary-
selection".  Please advise me how I can go about getting this
functionality online.


Since you use the arrow keys you might want cua-mode or cua-selection-mode.




reply via email to

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