[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52973: Adding a few context-menu-mode commands
From: |
Philip Kaludercic |
Subject: |
bug#52973: Adding a few context-menu-mode commands |
Date: |
Sat, 08 Jan 2022 19:01:46 +0000 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Juri Linkov <juri@linkov.net>
>> Cc: Philip Kaludercic <philipk@posteo.net>, larsi@gnus.org,
>> 52973@debbugs.gnu.org
>> Date: Sat, 08 Jan 2022 20:30:06 +0200
>>
>> None of the proposed functions is specific to a mode.
>
> The way I see it, the functions in man.el are for Man-mode, and those
> in hi-lock.el are for hi-lock-mode.
No, the Man functions can be used anywhere you want to read a man page.
It checks if the user clicked on something like "emacs(1)", then inserts
a entry into the context menu to open the man page at point.
The hi-lock functions can be used to highlight a symbol, just like with
`M-s h .'. Requiring hi-lock-mode to be enabled beforehand would be
counterproductive.
>> When the global value of context-menu-functions
>> contains one of the proposed functions, right-clicking anywhere
>> will autoload every package where such context functions are defined.
>
> This is over-engineered, IMO. There should be no need for such
> complexity.
What would you suggest to simplify this?
--
Philip Kaludercic
- bug#52973: Adding a few context-menu-mode commands, (continued)
- bug#52973: Adding a few context-menu-mode commands, Juri Linkov, 2022/01/06
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/06
- bug#52973: Adding a few context-menu-mode commands, Juri Linkov, 2022/01/06
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/07
- bug#52973: Adding a few context-menu-mode commands, Lars Ingebrigtsen, 2022/01/07
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/07
- bug#52973: Adding a few context-menu-mode commands, Philip Kaludercic, 2022/01/07
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/07
- bug#52973: Adding a few context-menu-mode commands, Juri Linkov, 2022/01/08
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/08
- bug#52973: Adding a few context-menu-mode commands,
Philip Kaludercic <=
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/08
- bug#52973: Adding a few context-menu-mode commands, Philip Kaludercic, 2022/01/08
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/08
- bug#52973: Adding a few context-menu-mode commands, Lars Ingebrigtsen, 2022/01/12
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/12
- bug#52973: Adding a few context-menu-mode commands, Juri Linkov, 2022/01/12
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/12
- bug#52973: Adding a few context-menu-mode commands, Juri Linkov, 2022/01/12
- bug#52973: Adding a few context-menu-mode commands, Eli Zaretskii, 2022/01/12
- bug#52973: Adding a few context-menu-mode commands, Juri Linkov, 2022/01/12