unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Nikolaj Schumacher <me@nschum.de>
Cc: help-gnu-emacs@gnu.org, Ulrich Scholz <d7@thispla.net>
Subject: Re: C-s and delete under Windows
Date: Mon, 30 Mar 2009 23:02:30 +0200	[thread overview]
Message-ID: <e01d8a50903301402q535c04cmf3f7f871a2a43d8d@mail.gmail.com> (raw)
In-Reply-To: <m263hqenl3.fsf@nschum.de>

On Mon, Mar 30, 2009 at 10:56 PM, Nikolaj Schumacher <me@nschum.de> wrote:
> 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'.

Ah, I see. Thanks.

But ... this is so confusing so I think that it would be good if the
user gets a warning ... somewhere ...




  reply	other threads:[~2009-03-30 21:02 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
2009-03-30 21:02       ` Lennart Borgman [this message]
     [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=e01d8a50903301402q535c04cmf3f7f871a2a43d8d@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=d7@thispla.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=me@nschum.de \
    /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).