bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#33188: 26.1.50; [PATCH] Wishlist : Improve default mouse menu for mo


From: Pierre Téchoueyres
Subject: bug#33188: 26.1.50; [PATCH] Wishlist : Improve default mouse menu for mode from modeline
Date: Sun, 28 Oct 2018 19:25:57 +0100
User-agent: mu4e 1.1.0; emacs 26.1.50

Hello,

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: [PATCH] Wishlist : Improve default mouse menu for mode from modeline


reply via email to

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