From: Nikolaj Schumacher <me@nschum.de>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: help-gnu-emacs@gnu.org, Ulrich Scholz <d7@thispla.net>
Subject: Re: C-s and delete under Windows
Date: Mon, 30 Mar 2009 22:56:56 +0200 [thread overview]
Message-ID: <m263hqenl3.fsf@nschum.de> (raw)
In-Reply-To: <e01d8a50903301330j74e56d08r9c0ddec1fbb3aefe@mail.gmail.com> (Lennart Borgman's message of "Mon, 30 Mar 2009 22:30:00 +0200")
Lennart Borgman <lennart.borgman@gmail.com> wrote:
> On Mon, Mar 30, 2009 at 10:14 PM, Nikolaj Schumacher <me@nschum.de> 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
next prev parent reply other threads:[~2009-03-30 20:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 12:59 C-s and delete under Windows Ulrich Scholz
2009-03-30 15:22 ` Lennart Borgman
[not found] ` <mailman.4253.1238426543.31690.help-gnu-emacs@gnu.org>
2009-03-30 15:40 ` d7
2009-03-30 19:11 ` Lennart Borgman
2009-03-30 18:07 ` B. T. Raven
2009-03-30 20:14 ` Nikolaj Schumacher
2009-03-30 20:30 ` Lennart Borgman
2009-03-30 20:56 ` Nikolaj Schumacher [this message]
2009-03-30 21:02 ` Lennart Borgman
[not found] ` <mailman.4269.1238444064.31690.help-gnu-emacs@gnu.org>
2009-03-31 7:18 ` d7
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=m263hqenl3.fsf@nschum.de \
--to=me@nschum.de \
--cc=d7@thispla.net \
--cc=help-gnu-emacs@gnu.org \
--cc=lennart.borgman@gmail.com \
/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).