[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TAB in Eval: prompt in minibuffer?
From: |
Juri Linkov |
Subject: |
Re: TAB in Eval: prompt in minibuffer? |
Date: |
Wed, 07 Dec 2005 09:55:22 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> 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/
- TAB in Eval: prompt in minibuffer?, Lennart Borgman, 2005/12/05
- Re: TAB in Eval: prompt in minibuffer?, Juri Linkov, 2005/12/05
- Re: TAB in Eval: prompt in minibuffer?, Chong Yidong, 2005/12/05
- Re: TAB in Eval: prompt in minibuffer?, Juri Linkov, 2005/12/05
- Re: TAB in Eval: prompt in minibuffer?, Lennart Borgman, 2005/12/06
- Re: TAB in Eval: prompt in minibuffer?, Richard M. Stallman, 2005/12/06
- Re: TAB in Eval: prompt in minibuffer?, Paul Pogonyshev, 2005/12/06
- Re: TAB in Eval: prompt in minibuffer?,
Juri Linkov <=
- RE: TAB in Eval: prompt in minibuffer?, Drew Adams, 2005/12/07
- Re: TAB in Eval: prompt in minibuffer?, Paul Pogonyshev, 2005/12/07
- Re: TAB in Eval: prompt in minibuffer?, Richard M. Stallman, 2005/12/07
- Re: TAB in Eval: prompt in minibuffer?, Juri Linkov, 2005/12/08
- Re: TAB in Eval: prompt in minibuffer?, Richard M. Stallman, 2005/12/07
- Re: TAB in Eval: prompt in minibuffer?, Lennart Borgman, 2005/12/07
- Re: TAB in Eval: prompt in minibuffer?, Juri Linkov, 2005/12/07
- Re: TAB in Eval: prompt in minibuffer?, Richard M. Stallman, 2005/12/08