[Top][All Lists]

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

Re: C-delete in Emacs 23.1

From: Katsumi Yamaoka
Subject: Re: C-delete in Emacs 23.1
Date: Mon, 19 Jan 2009 18:44:06 +0900
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

>>>>> "address@hidden" <address@hidden> 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?

> I'm ready to provide any additional info,

I don't know how it happens, but guess you bind <C-delete> to
`kill-line' and turn `visual-line-mode' on.  Anyway what binds
a key to `kill-visual-line' seems to be `visual-line-mode-map'
only, so this will do the trick:

(define-key visual-line-mode-map [(control delete)] 'backward-kill-word)

reply via email to

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