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

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

Re: C-s and delete under Windows


From: Nikolaj Schumacher
Subject: Re: C-s and delete under Windows
Date: Mon, 30 Mar 2009 22:56:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin)

Lennart Borgman <address@hidden> wrote:

> On Mon, Mar 30, 2009 at 10:14 PM, Nikolaj Schumacher <address@hidden> wrote:
>>> (global-set-key [backspace] 'backward-delete-char-untabify)
>>
>> Yes, it is.  Because globally setting backspace, will override the
>> meaning in `isearch-mode-map'.  Try:
>>
>> (define-key isearch-mode-map [backspace] 'isearch-delete-char)
>
> Why does setting it globally override the setting in isearch-mode-map?

IIRC:
Backspace is translated to DEL by default.
DEL is bound to `isearch-delete-char' in `isearch-mode-map', but
backspace isn't bound there at all.  Binding backspace overrides the
translation, which is responsible for the meaning in `isearch-mode-map'.


regards,
Nikolaj Schumacher




reply via email to

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