emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Improve default mouse menu for mode from modeline


From: Pierre Téchoueyres
Subject: [PATCH] Improve default mouse menu for mode from modeline
Date: Wed, 10 Oct 2018 20:35:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux)

Hello emacs's developpers,

I would submit an enhacement for when you use the mouse to display the
menu for a mode (major or minor) from the modeline.


For now, if the mode doesn't define a custom mouse menu, the menu title
simply display the mode indicator. But sometimes this indicator isn't
really obvious.

The attached patch try to improve this by appending the full mode name
after the indicator.

For example the Smartparens minor mode has 'SP' as indicator. So his
menu is look like:
---------------------
| SP
---------------------
| Turn off minor mode
| Help for minor mode
----------------------

Whit the attached patch the menu will look like:

------------------------
| SP - Smartparens Mode
------------------------
| Turn off minor mode
| Help for minor mode
------------------------

Hope this could help.

Pierre.

Attachment: 0001-minor-mode-menu-from-indicator-now-display-full-mino.patch
Description: 0001-minor-mode-menu-from-indicator-now-display-full-mino.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]