GNU bug report logs - #20466
25.0.50; REGRESSION in `isearch-mode-map': <backspace> is not translated to DEL

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 30 Apr 2015 05:21:04 UTC

Severity: minor

Found in version 25.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 20466 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20466 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#20466: 25.0.50;
 REGRESSION in `isearch-mode-map': <backspace> is not translated to DEL
Date: Thu, 30 Apr 2015 19:12:07 -0400
> The "why" part was answered by Artur, who pointed to the bug report
> which triggered that change.
[...]
> I learned long ago that if you want to change the binding of DEL, you
> had better changed the binding of Backspace accordingly at the same time,

I strongly disagree here: following this kind of rule is what caused the
problem in the first place.

What you're basically saying is that we should give up on the
function-key-map binding which remaps `backspace' to DEL.

Clearly, this bug report shows that this remapping is harder to handle
right in the case of isearch-mode-map.

I think The Right Way to handle it is to bind (in isearch-mode-map)
`backspace' to `undefined' (so it hides bindings in lower-precedence
maps, but still lets the function-key-map remapping take place).


        Stefan




This bug report was last modified 10 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.