GNU bug report logs -
#20466
25.0.50; REGRESSION in `isearch-mode-map': <backspace> is not translated to DEL
Previous Next
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 #31 received at 20466-done <at> debbugs.gnu.org (full text, mbox):
I installed the proposed patch, which should fix this bug, without
re-introducing the other bug.
Stefan
> You lost me. What do you mean by "active at the same time"?
Both appear in `current-active-maps' in some buffer at some point.
(e.g. one binding in a minor mode, another in a major-mode)
>> so whoever follows your advice will force other people to follow it
>> as well.
> Good advice is like that, yes.
>> The end result is that <backspace> will always be bound and the
>> function-key-map binding will be useless.
> Not if these keys are left at their default bindings, no.
That's only if noone bound anything, in which case noone followed
neither's advice anyway. Not a very enlightening case.
>> The purpose of the function-key-map binding is to make sure that if
>> you want the same behavior for both, then you only need one binding
>> (the one on DEL).
> Which doesn't work if the mode binds Backspace.
Which mode? And presumably if a keymap binds Backspace it's
specifically because it wants backspace to behave differently from DEL,
in which case it's fine if function-key-map is not used.
>> > Whatever you do, my rule will always yield more reliable results.
>> And will break more other cases where people have followed the path
>> usually recommended (i.e. "only bind the DEL or TAB event unless you
>> want to distinguish the two").
> But this is exactly what the OP did, and look where it got him.
That's because the binding we used in isearch.el followed your advice
rather than mine ;-)
This bug report was last modified 10 years and 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.