From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.help Subject: Re: Binding C-a to select all Date: Tue, 24 Jun 2008 21:33:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: <860891f5-ebe7-4813-a63a-50449b7df59a@g16g2000pri.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214368876 21223 80.91.229.12 (25 Jun 2008 04:41:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2008 04:41:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 06:42:01 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KBMpU-00037r-RS for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jun 2008 06:42:01 +0200 Original-Received: from localhost ([127.0.0.1]:54120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBMof-0002XI-7M for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jun 2008 00:41:09 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g16g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 60.234.164.158 Original-X-Trace: posting.google.com 1214368415 10539 127.0.0.1 (25 Jun 2008 04:33:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 25 Jun 2008 04:33:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g16g2000pri.googlegroups.com; posting-host=60.234.164.158; posting-account=SVVH0AoAAABplEQzMkIR3gU7a0gK8IuF User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159718 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55072 Archived-At: On Jun 25, 3:19 pm, "B. T. Raven" 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. > But I advise against it. C-a C-e M-a and M-e work together mnemonically > if you think of a and e as Anfang and Ende (German beginning and end). > Making the change you suggest disturbs this symmetry among related > commands. Using Dvorak layout and Keytweak on w2000 I have needed to > change only about half a dozen Emacs bindings (4 of them for single > character cursor movement via keys close to home row and so as to avoid > the arrow keys). This layout enables me to type ALL commands as easily > as I can type a shifted number key. You might barf but a long time ago I rebound keys like C-f to find-file, C-e to call-last-kbd-macro and I have never looked back! To me this seems sensible because a PC keyboard already has cursor keys and home/end keys so I believe that there is no need for the those standard Emacs keybindings.