GNU bug report logs - #6616
S-TAB is mismapped in the *Help* buffer

Previous Next

Package: emacs;

Reported by: Paul Griepentrog <pgriepen <at> gmail.com>

Date: Mon, 12 Jul 2010 06:31:01 UTC

Severity: normal

Done: Adrian Robert <adrian.b.robert <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Griepentrog <pgriepen <at> gmail.com>, Adrian Robert <Adrian.B.Robert <at> gmail.com>
Cc: 6616 <at> debbugs.gnu.org
Subject: bug#6616: S-TAB is mismapped in the *Help* buffer
Date: Mon, 12 Jul 2010 20:29:53 +0300
> Date: Sun, 11 Jul 2010 23:20:22 -0700
> From: Paul Griepentrog <pgriepen <at> gmail.com>
> Cc: 
> 
>   The manual, (info "(emacs) Help Mode"), says "S-TAB"
> moves the point to the previous cross reference when in
> the *Help* buffer.  But, trying from a default emacs
> shows "S-TAB" is translated to "C-y":
> 
>      emacs -Q
>        ...                 ; Get to a *Help* buffer
>      C-h k S-TAB
> 
>      C-y (translated from <S-tab>) runs the command yank, which is an
>      interactive compiled Lisp function in `simple.el'.

This is Mac-specific, and it is due to this line from term/ns-win.el:

    (define-key map [S-tab] [25])

I have no idea why this line is there, perhaps Mac users expect this
binding.  I also don't see how this line plays with the following line
from the same ns-win.el, a few lines up:

    (put 'S-tab 'ascii-character (logior 16 ?\t))

These two lines have been there for almost 2 years.

> My guess is that the right place to change this is in the
> `button-buffer-map'.

No, the right way seems to be to find out why ns-win.el defines this
strange mapping.  Adrian?




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

Previous Next


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