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

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

Re: C-delete in Emacs 23.1


From: Tassilo Horn
Subject: Re: C-delete in Emacs 23.1
Date: Mon, 19 Jan 2009 12:31:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"cmr.Pent@gmail.com" <cmr.Pent@gmail.com> writes:

Hi Andrey,

> In new Emacs the keybinding C-delete is assigned to kill-visual-line
> command, while it used to be assigned to kill-word-backward.

No, `C-<delete>' is normally bound to `kill-word' while `M-<delete>' is
bound to `backward-kill-word'.  `kill-visual-line' is bound to `C-k' and
`<deleteline>' if `visual-line-mode' is activated.  If it's not active,
`kill-visual-line' isn't bound to any key.

Is it really different at you?  Please check with "emacs -Q".

> My attempt to override the binding using global-set-key failed.

That's because major and minor mode bindings override global bindings.
And `kill-visual-line' is bound in `visual-line-mode-map'.

> How do I revert the C-delete behavior?

I think the thing that you don't like is `visual-line-mode', so I'd
suggest to switch that off.

Bye,
Tassilo
-- 
Chuck Norris once roundhouse-kicked a ten dollar bill into 200 nickels. 





reply via email to

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