unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Shift Tab in help buffers still does not move backwards
@ 2005-08-05 13:39 Lennart Borgman
  2005-08-08 20:43 ` Juri Linkov
  0 siblings, 1 reply; 9+ messages in thread
From: Lennart Borgman @ 2005-08-05 13:39 UTC (permalink / raw)


I believe that S-Tab still does not move backwards. It did at some time, 
but have been changed again.

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-05 13:39 Shift Tab in help buffers still does not move backwards Lennart Borgman
@ 2005-08-08 20:43 ` Juri Linkov
  2005-08-08 21:13   ` Lennart Borgman
  0 siblings, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2005-08-08 20:43 UTC (permalink / raw)
  Cc: emacs-devel

> I believe that S-Tab still does not move backwards. It did at some time, 
> but have been changed again.

Could you be more specific on what version/platform it doesn't work.
On GNU/Linux with the latest CVS, S-TAB works in help buffers
(but not M-TAB, ESC-TAB or C-M-i).

-- 
Juri Linkov
http://www.jurta.org/emacs/

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-08 20:43 ` Juri Linkov
@ 2005-08-08 21:13   ` Lennart Borgman
  2005-08-08 21:36     ` Juanma Barranquero
  2005-08-09  5:20     ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Lennart Borgman @ 2005-08-08 21:13 UTC (permalink / raw)
  Cc: emacs-devel

Juri Linkov wrote:

>>I believe that S-Tab still does not move backwards. It did at some time, 
>>but have been changed again.
>>    
>>
>
>Could you be more specific on what version/platform it doesn't work.
>On GNU/Linux with the latest CVS, S-TAB works in help buffers
>(but not M-TAB, ESC-TAB or C-M-i).
>  
>
w32, CVS from 2005-08-06 (aug 6). However it does not seem to be an 
issue with S-Tab in the help buffer I see now. If I start with emacs.exe 
-Q and do

   C-h c S-Tab

I get "TAB (translated from <s-tab>) ...".

Could be my copy since I did some changes to the key handling, but I do 
not think so. Could someone else using w32 please confirm this?

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-08 21:13   ` Lennart Borgman
@ 2005-08-08 21:36     ` Juanma Barranquero
  2005-08-09  5:20     ` Eli Zaretskii
  1 sibling, 0 replies; 9+ messages in thread
From: Juanma Barranquero @ 2005-08-08 21:36 UTC (permalink / raw)
  Cc: Juri Linkov, emacs-devel

On 8/8/05, Lennart Borgman <lennart.borgman.073@student.lu.se> wrote:

> I get "TAB (translated from <s-tab>) ...".

I get it too.

Well, "Translated from <S-tab>", really (s-tab would be super-tab).

-- 
                    /L/e/k/t/u

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-08 21:13   ` Lennart Borgman
  2005-08-08 21:36     ` Juanma Barranquero
@ 2005-08-09  5:20     ` Eli Zaretskii
  2005-08-09  8:35       ` Lennart Borgman
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2005-08-09  5:20 UTC (permalink / raw)
  Cc: juri, emacs-devel

> Date: Mon, 08 Aug 2005 23:13:57 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> Cc: emacs-devel@gnu.org
> 
>    C-h c S-Tab
> 
> I get "TAB (translated from <s-tab>) ...".

Perhaps we simply should add a binding for S-TAB in w32-win.el.

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-09  5:20     ` Eli Zaretskii
@ 2005-08-09  8:35       ` Lennart Borgman
  2005-08-09 10:17         ` Andreas Schwab
  2005-08-09 18:26         ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Lennart Borgman @ 2005-08-09  8:35 UTC (permalink / raw)
  Cc: juri, emacs-devel

Eli Zaretskii wrote:

>>Date: Mon, 08 Aug 2005 23:13:57 +0200
>>From: Lennart Borgman <lennart.borgman.073@student.lu.se>
>>Cc: emacs-devel@gnu.org
>>
>>   C-h c S-Tab
>>
>>I get "TAB (translated from <s-tab>) ...".
>>    
>>
>
>Perhaps we simply should add a binding for S-TAB in w32-win.el.
>  
>
How should a binding there look? What should it do?

I do not understand how this works. I have looked in 
`translation-key-map' and in 'function-key-map' but I can not find any 
translation of S-Tab there. Where is the translation done?

Why does S-Tab work in Info buffers but not in Help buffers? Why are 
these kind of bindings (moving between links) treated differently in 
this buffer types?

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-09  8:35       ` Lennart Borgman
@ 2005-08-09 10:17         ` Andreas Schwab
  2005-08-09 11:14           ` Lennart Borgman
  2005-08-09 18:26         ` Eli Zaretskii
  1 sibling, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2005-08-09 10:17 UTC (permalink / raw)
  Cc: juri, Eli Zaretskii, emacs-devel

Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

> I do not understand how this works. I have looked in 
> `translation-key-map' and in 'function-key-map' but I can not find any 
> translation of S-Tab there. Where is the translation done?

See read_key_sequence in keyboard.c:

      /* If KEY is not defined in any of the keymaps,
	 and cannot be part of a function key or translation,
	 and is a shifted function key,
	 use the corresponding unshifted function key instead.  */

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-09 10:17         ` Andreas Schwab
@ 2005-08-09 11:14           ` Lennart Borgman
  0 siblings, 0 replies; 9+ messages in thread
From: Lennart Borgman @ 2005-08-09 11:14 UTC (permalink / raw)
  Cc: juri, Eli Zaretskii, emacs-devel

Andreas Schwab wrote:

>Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
>
>  
>
>>I do not understand how this works. I have looked in 
>>`translation-key-map' and in 'function-key-map' but I can not find any 
>>translation of S-Tab there. Where is the translation done?
>>    
>>
>
>See read_key_sequence in keyboard.c:
>
>      /* If KEY is not defined in any of the keymaps,
>	 and cannot be part of a function key or translation,
>	 and is a shifted function key,
>	 use the corresponding unshifted function key instead.  */
>  
>
Thanks. If Tab is handled as a function key here is it then not just a 
simple matter of binding S-Tab for the links in the help buffer?

BTW I can not find the information above in the elisp manual. Is it 
there or just in the source code? I remember it has been confusing 
sometimes that the shifted function keys are bound to the unshifted ones.

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

* Re: Shift Tab in help buffers still does not move backwards
  2005-08-09  8:35       ` Lennart Borgman
  2005-08-09 10:17         ` Andreas Schwab
@ 2005-08-09 18:26         ` Eli Zaretskii
  1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2005-08-09 18:26 UTC (permalink / raw)
  Cc: juri, emacs-devel

> Date: Tue, 09 Aug 2005 10:35:51 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> CC: juri@jurta.org,  emacs-devel@gnu.org
> 
> >Perhaps we simply should add a binding for S-TAB in w32-win.el.
> >  
> How should a binding there look? What should it do?

See the bindings on x-win.el.  I think the following should DTRT:

(define-key function-key-map [S-tab] [backtab])

> Why does S-Tab work in Info buffers but not in Help buffers?

Maybe because Info-prev-reference is bound to both [backtab] and
M-TAB, while backward-button in Help buffers is bound only to
[backtab]?

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

end of thread, other threads:[~2005-08-09 18:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05 13:39 Shift Tab in help buffers still does not move backwards Lennart Borgman
2005-08-08 20:43 ` Juri Linkov
2005-08-08 21:13   ` Lennart Borgman
2005-08-08 21:36     ` Juanma Barranquero
2005-08-09  5:20     ` Eli Zaretskii
2005-08-09  8:35       ` Lennart Borgman
2005-08-09 10:17         ` Andreas Schwab
2005-08-09 11:14           ` Lennart Borgman
2005-08-09 18:26         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).