[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

S-tab and <backtab>

From: Paul Pogonyshev
Subject: S-tab and <backtab>
Date: Mon, 25 Aug 2003 03:13:32 +0000
User-agent: KMail/1.5.9

It seems that name "backtab" should imply opposite to tab functionality
of S-tab/<backtab>.  In `info-mode' one can use M-tab to go backward
(apart from <p>), but on modern desktops (KDE and Gnome) M-tab is
typically bound to switching between windows and typing <esc tab> is
very inconvenient.  Besides, on the same desktops <shift> is consistently
used for reversing and so S-tab is used as the opposite of <tab>.

Finally, S-tab is used for "going backward" in at least `man-mode' and
`custom-mode'.  So i think the following patch is well justified.

Paul Pogonyshev

2003-08-25  Paul Pogonyshev  <address@hidden>

        * info.el (Info-mode-map): Bind S-tab and <backtab> to

*** info.el.~1.368.~    2003-08-21 01:53:09.000000000 +0000
--- info.el     2003-08-25 02:22:01.000000000 +0000
*** 2257,2262 ****
--- 2257,2264 ----
    (define-key Info-mode-map "\C-m" 'Info-follow-nearest-node)
    (define-key Info-mode-map "\t" 'Info-next-reference)
    (define-key Info-mode-map "\e\t" 'Info-prev-reference)
+   (define-key Info-mode-map [(shift tab)] 'Info-prev-reference)
+   (define-key Info-mode-map [backtab] 'Info-prev-reference)
    (define-key Info-mode-map "1" 'Info-nth-menu-item)
    (define-key Info-mode-map "2" 'Info-nth-menu-item)
    (define-key Info-mode-map "3" 'Info-nth-menu-item)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]