[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode-line tooltips for "[" and "]" in recursive-edit
From: |
Juri Linkov |
Subject: |
Re: mode-line tooltips for "[" and "]" in recursive-edit |
Date: |
Fri, 21 Mar 2008 01:59:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> It would be nice if [ and ] that appear in the mode-line in
> recursive-edit had a tooltip explaining what they are. Such tooltips
> will be helpful for beginners.
>
> Can someone please add the tooltips?
This could be done with the following patch:
Index: lisp/bindings.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/bindings.el,v
retrieving revision 1.198
diff -c -r1.198 bindings.el
*** lisp/bindings.el 5 Mar 2008 04:09:24 -0000 1.198
--- lisp/bindings.el 20 Mar 2008 23:56:29 -0000
***************
*** 345,351 ****
(propertize "-%-" 'help-echo help-echo)))
(standard-mode-line-modes
(list
! (propertize "%[(" 'help-echo help-echo)
`(:propertize ("" mode-name)
help-echo "Major mode\n\
mouse-1: Display major mode menu\n\
--- 345,352 ----
(propertize "-%-" 'help-echo help-echo)))
(standard-mode-line-modes
(list
! (propertize "%[" 'help-echo "Recursive edit, type C-M-c to get out")
! (propertize "(" 'help-echo help-echo)
`(:propertize ("" mode-name)
help-echo "Major mode\n\
mouse-1: Display major mode menu\n\
***************
*** 365,371 ****
'mouse-face 'mode-line-highlight
'local-map (make-mode-line-mouse-map
'mouse-2 #'mode-line-widen))
! (propertize ")%]--" 'help-echo help-echo)))
(standard-mode-line-position
`((-3 ,(propertize
--- 366,374 ----
'mouse-face 'mode-line-highlight
'local-map (make-mode-line-mouse-map
'mouse-2 #'mode-line-widen))
! (propertize ")" 'help-echo help-echo)
! (propertize "%]" 'help-echo "Recursive edit, type C-M-c to get out")
! (propertize "--" 'help-echo help-echo)))
(standard-mode-line-position
`((-3 ,(propertize
--
Juri Linkov
http://www.jurta.org/emacs/
- RE: mode-line tooltips for "[" and "]" in recursive-edit, (continued)
- RE: mode-line tooltips for "[" and "]" in recursive-edit, Stephen J. Turnbull, 2008/03/21
- Re: mode-line tooltips for "[" and "]" in recursive-edit, Stephen J. Turnbull, 2008/03/21
- Mail-Followup-To (was: mode-line tooltips for "[" and "]" in recursive-edit), Reiner Steib, 2008/03/21
- Mail-Followup-To, Stephen J. Turnbull, 2008/03/21
- Re: Mail-Followup-To, Reiner Steib, 2008/03/21
- Re: mode-line tooltips for "[" and "]" in recursive-edit, Jan Djärv, 2008/03/21
- Re: mode-line tooltips for "[" and "]" in recursive-edit, Nick Roberts, 2008/03/21
- Re: mode-line tooltips for "[" and "]" in recursive-edit, Lennart Borgman (gmail), 2008/03/21
- Re: mode-line tooltips for "[" and "]" in recursive-edit, Nick Roberts, 2008/03/21
- Re: mode-line tooltips for "[" and "]" in recursive-edit, Juri Linkov, 2008/03/21
Re: mode-line tooltips for "[" and "]" in recursive-edit,
Juri Linkov <=