all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Griepentrog <pgriepen@gmail.com>
To: emacs-devel@gnu.org
Subject: Proposal: merge [S-tab] and [backtab]
Date: Sun, 01 Aug 2010 21:22:31 -0700	[thread overview]
Message-ID: <4C564807.7020903@gmail.com> (raw)

  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?




             reply	other threads:[~2010-08-02  4:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-02  4:22 Paul Griepentrog [this message]
2010-08-02 17:42 ` Proposal: merge [S-tab] and [backtab] 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C564807.7020903@gmail.com \
    --to=pgriepen@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.