unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: C-delete in Emacs 23.1
Date: Mon, 19 Jan 2009 01:30:18 -0800 (PST)	[thread overview]
Message-ID: <b2413727-e9cb-4181-a2e4-d0c0dae8e8c3@p2g2000prn.googlegroups.com> (raw)
In-Reply-To: f0b396a1-3dcb-4853-b708-c3afd06d56b2@e24g2000vbe.googlegroups.com

On Jan 19, 12:16 am, "cmr.P...@gmail.com" <cmr.P...@gmail.com> wrote:
> In new Emacs the keybinding C-delete is assigned to kill-visual-line
> command, while it used to be assigned to kill-word-backward. My
> attempt to override the binding using global-set-key failed. How do I
> revert the C-delete behavior?

See:

• How To Reclaim Keybindings In Emacs
  http://xahlee.org/emacs/ergonomic_emacs_keybinding_minibuffer.html

• How to Define Keyboard Shortcuts in Emacs
  http://xahlee.org/emacs/keyboard_shortcuts.html

i'd recommend remap the keys so that

E R       I
D F     J K L

where the I J K L is cursor moving keys with Alt down. And
E R is deleting word left/right,
D F is deleting char left/right.

For the elisp code, see:

http://code.google.com/p/ergoemacs/wiki/adoption

  Xah
∑ http://xahlee.org/

  reply	other threads:[~2009-01-19  9:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19  8:16 C-delete in Emacs 23.1 cmr.Pent
2009-01-19  9:30 ` Xah Lee [this message]
2009-01-19  9:44 ` Katsumi Yamaoka
2009-01-19 11:31 ` Tassilo Horn
     [not found] ` <mailman.5229.1232364715.26697.help-gnu-emacs@gnu.org>
2009-01-19 22:10   ` cmr.Pent

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=b2413727-e9cb-4181-a2e4-d0c0dae8e8c3@p2g2000prn.googlegroups.com \
    --to=xahlee@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).