Subject: bug#78660: [PATCH] Add context menu for commenting in prog-mode

From: Juri Linkov <[email-masked]>
Date: Tue, 17 Jun 2025 19:01:18 +0300

>> Compare it with the Emacs context menu:
>>    Cut
>>    Copy
>>    Paste
>>    Clear
>>    Select
>>    ---
>>    Find Definition
>>    Find References
>>    ---
>>    (Major Mode submenu)
>>    (Minor Modes submenus)
>
> Notepad++ (as well as notepad--) does put comment related commands in its
> context menu. I found that this isn't the common practice after seeing
> software like notepad3, notepad4. Perhaps introducing a menu for prog-mode
> would be better.

Since prog-mode is a parent mode, it makes sense to create a submenu for it.
When it will be displayed at the top menu bar, it will be included to the
context menu automatically (the menu section named "Minor Modes submenus" above).