all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Davin Pearson <davin.pearson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Binding C-a to select all
Date: Tue, 24 Jun 2008 21:33:34 -0700 (PDT)	[thread overview]
Message-ID: <860891f5-ebe7-4813-a63a-50449b7df59a@g16g2000pri.googlegroups.com> (raw)
In-Reply-To: t7CdnW7XbsG6JPzVnZ2dnUVZ_tzinZ2d@sysmatrix.net

On Jun 25, 3:19 pm, "B. T. Raven" <ni...@nihilo.net> 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.


  reply	other threads:[~2008-06-25  4:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25  1:55 Binding C-a to select all Davin Pearson
2008-06-25  3:19 ` B. T. Raven
2008-06-25  4:33   ` Davin Pearson [this message]
2008-06-25  5:23     ` Jordan Greenberg
2008-06-25  6:02     ` Joost Kremers
2008-06-25  7:52     ` Lennart Borgman (gmail)
2008-06-25  7:58       ` Davin Pearson
2008-06-25 18:36 ` Joel J. Adamson
2008-06-25 23:12 ` Xah
2008-06-30 18:21   ` Miles Bader
2008-07-01 17:32     ` Joel J. Adamson
     [not found] ` <mailman.13837.1214419304.18990.help-gnu-emacs@gnu.org>
2008-06-26  0:34   ` Xah
2008-06-26  2:58     ` Joel J. Adamson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=860891f5-ebe7-4813-a63a-50449b7df59a@g16g2000pri.googlegroups.com \
    --to=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.