GNU bug report logs - #1281
23.0.60; Info-mode-map should not bind both `backtab' and `S-tab'

Previous Next

Package: emacs;

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

Date: Thu, 30 Oct 2008 22:55:03 UTC

Severity: minor

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <emacs-pretest-bug <at> gnu.org>
Subject: bug#1281: 23.0.60; Info-mode-map should not bind both `backtab' and `S-tab'
Date: Thu, 30 Oct 2008 15:46:55 -0700
This first of these bindings should be removed from info.el:
(define-key map [(shift tab)] 'Info-prev-reference)
(define-key map [backtab] 'Info-prev-reference)
 
The second binding should be all that is needed to cover
`S-tab' also (and `S-isolefttab' too).
 
And binding both explicitly requires users, to override the bindings,
to also bind both of these.
 
IOW, to bind `S-TAB' to `foo' effectively, a user must do both of these:
 
(define-key Info-mode-map [(shift tab)] 'foo)
(define-key Info-mode-map [backtab] 'foo)
 
Otherwise, it is likely that the user binding will not take effect. In
this Windows build, for instance, binding only `backtab' means that
`S-TAB' still invokes `Info-prev-reference'.
 
Please also backport this fix to Emacs 22.
 

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-10-09 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 





This bug report was last modified 13 years and 324 days ago.

Previous Next


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