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

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

bug#52973: Adding a few context-menu-mode commands


From: Juri Linkov
Subject: bug#52973: Adding a few context-menu-mode commands
Date: Thu, 13 Jan 2022 10:39:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> >> > A menu item that is not used does no special harm.  So why not have
>> >> > these items in the menus by default?
>> >>
>> >> Adding all these items by default will load all these packages by default,
>> >> including man.el, hi-lock.el, etc.
>> >
>> > When will that load these packages?  When context-menu-mode is turned
>> > on, when the menu is actually popped up, or something else?
>>
>> When the menu is popped up the first time.
>
> Then why is that a problem?

The problem is that irrelevant packages will be loaded by default.

> We could alternatively only have these items when the corresponding
> package is loaded, but you rejected that possibility, AFAIU.

This means there are no hi-lock/man items by default.
Then once the user used `M-x man' or `M-x highlight-regexp',
these items will surprisingly appear in the global menu.
This makes no sense, there are no such magic things happened
on the menu bar.





reply via email to

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