From: Juri Linkov <juri@jurta.org>
Cc: lennart.borgman.073@student.lu.se, cyd@stupidchicken.com,
rms@gnu.org, emacs-devel@gnu.org
Subject: Re: TAB in Eval: prompt in minibuffer?
Date: Wed, 07 Dec 2005 09:55:22 +0200 [thread overview]
Message-ID: <87r78p9zyt.fsf@jurta.org> (raw)
In-Reply-To: <200512070058.55299.pogonyshev@gmx.net> (Paul Pogonyshev's message of "Wed, 7 Dec 2005 00:58:54 +0200")
> Well, all modern desktops bind M-TAB to window switching, so Emacs
> is left with `ESC TAB' only, which is not that easy.
I suggest using its equivalent M-C-i. Or maybe lisp-complete-symbol
should have an aliased keybinding S-TAB?
BTW, info.el dropped M-TAB in favor of S-TAB. Unfortunately, this
makes `Info-prev-reference' inaccessible on ttys where S-TAB is not
available. I think info.el, help.el and wid-edit.el should bind both
S-TAB and M-TAB to the same commands: S-TAB for window environments,
and M-TAB for ttys. The current binding of M-TAB (`complete-symbol')
makes no sense in these modes anyway.
Index: lisp/info.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/info.el,v
retrieving revision 1.465
diff -c -r1.465 info.el
*** lisp/info.el 4 Dec 2005 04:31:59 -0000 1.465
--- lisp/info.el 7 Dec 2005 07:54:45 -0000
***************
*** 3071,3076 ****
--- 3083,3089 ----
(define-key Info-mode-map " " 'Info-scroll-up)
(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)
Index: lisp/button.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/button.el,v
retrieving revision 1.18
diff -c -r1.18 button.el
*** lisp/button.el 6 Aug 2005 22:13:41 -0000 1.18
--- lisp/button.el 7 Dec 2005 07:54:56 -0000
***************
*** 69,74 ****
--- 73,79 ----
(defvar button-buffer-map
(let ((map (make-sparse-keymap)))
(define-key map [?\t] 'forward-button)
+ (define-key map "\e\t" 'backward-button)
(define-key map [backtab] 'backward-button)
map)
"Keymap useful for buffers containing buttons.
Index: lisp/wid-edit.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/wid-edit.el,v
retrieving revision 1.155
diff -c -r1.155 wid-edit.el
*** lisp/wid-edit.el 16 Nov 2005 22:15:59 -0000 1.155
--- lisp/wid-edit.el 7 Dec 2005 07:54:38 -0000
***************
*** 852,857 ****
--- 852,858 ----
(defvar widget-keymap
(let ((map (make-sparse-keymap)))
(define-key map "\t" 'widget-forward)
+ (define-key map "\e\t" 'widget-backward)
(define-key map [(shift tab)] 'widget-backward)
(define-key map [backtab] 'widget-backward)
(define-key map [down-mouse-2] 'widget-button-click)
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2005-12-07 7:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 0:44 TAB in Eval: prompt in minibuffer? Lennart Borgman
2005-12-06 0:57 ` Juri Linkov
2005-12-06 1:46 ` Chong Yidong
2005-12-06 1:52 ` Juri Linkov
2005-12-06 7:24 ` Lennart Borgman
2005-12-06 21:54 ` Richard M. Stallman
2005-12-06 22:58 ` Paul Pogonyshev
2005-12-07 7:55 ` Juri Linkov [this message]
2005-12-07 17:09 ` Drew Adams
2005-12-07 20:55 ` Paul Pogonyshev
2005-12-08 4:54 ` Richard M. Stallman
2005-12-08 7:52 ` Juri Linkov
2005-12-07 22:59 ` Richard M. Stallman
2005-12-07 23:08 ` Lennart Borgman
2005-12-08 0:57 ` Juri Linkov
2005-12-08 19:28 ` Richard M. Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r78p9zyt.fsf@jurta.org \
--to=juri@jurta.org \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman.073@student.lu.se \
--cc=rms@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 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).