all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1281: 23.0.60; Info-mode-map should not bind both `backtab' and `S-tab'
@ 2008-10-30 22:46 Drew Adams
  2011-07-07 18:29 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2008-10-30 22:46 UTC (permalink / raw)
  To: emacs-pretest-bug

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'
 







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1281: 23.0.60; Info-mode-map should not bind both `backtab' and `S-tab'
  2008-10-30 22:46 bug#1281: 23.0.60; Info-mode-map should not bind both `backtab' and `S-tab' Drew Adams
@ 2011-07-07 18:29 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-07 18:29 UTC (permalink / raw)
  To: Drew Adams; +Cc: 1281

"Drew Adams" <drew.adams@oracle.com> writes:

> (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'.

True.  I've now removed the former binding.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-07 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 22:46 bug#1281: 23.0.60; Info-mode-map should not bind both `backtab' and `S-tab' Drew Adams
2011-07-07 18:29 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.