unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Proposal: merge [S-tab] and [backtab]
@ 2010-08-02  4:22 Paul Griepentrog
  2010-08-02 17:42 ` Leo
  2010-08-02 18:09 ` Drew Adams
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Griepentrog @ 2010-08-02  4:22 UTC (permalink / raw)
  To: emacs-devel

  Just a tidbit of computer evolution: the [backtab] key does not
exist on modern keyboards.  Of course, Emacs uses this key in
several modes (grep, compile, erc, ...).  So, in the place of
[backtab] within Emacs, [S-tab] is the conventional binding for a
poor man's backtab.  For convenience, some terminals (X,
Windows, and recently: NextStep) translate the keypress of
[S-tab] into [backtab] and nobody is the wizer.

Unless... you want to bind [S-tab] in a mode.  Then you find out
[S-tab] is NOT the key sequence you thought it was.  The binding
worked on X and Windows, but not at the terminal (or another
platform which did not link [S-tab] to [backtab]).  What
happened?!  Well, so you bind [backtab] as well.

My proposal is to universally translate [S-tab] and [S-iso-tab]
into [backtab] across all terminals.  At least then you can bind
[backtab] and know it will work across platforms and terminals.
Included in this proposal is removing obsolete bindings to
[S-tab] and [S-iso-tab] for modes within Emacs and updating the
documentation.  I include [S-iso-tab] since it is yet another
abused synonym for [backtab].

Note: this change will NOT ADD or REMOVE any bindings.  It is to
unify the keypresses of [S-tab], [S-iso-tab] to [backtab] where
they already exist.

I don't pretend to know the history of the keybindings or
specific terminals, but a uniform view of [S-tab] vs [backtab]
makes sense to me.

Thoughts?




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

end of thread, other threads:[~2010-08-03  6:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02  4:22 Proposal: merge [S-tab] and [backtab] Paul Griepentrog
2010-08-02 17:42 ` Leo
2010-08-02 18:09 ` Drew Adams
2010-08-02 20:11   ` Stefan Monnier
2010-08-02 20:15     ` Drew Adams
2010-08-02 20:27     ` Chad Brown
2010-08-03  6:27   ` Paul Griepentrog

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).