GNU bug report logs - #78660
[PATCH] Add context menu for commenting in prog-mode

Previous Next

Package: emacs;

Reported by: Billy Lei <LeiYiXia29 <at> outlook.com>

Date: Sun, 1 Jun 2025 05:30:07 UTC

Severity: normal

Tags: patch

Full log


Message #32 received at 78660 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Billy Lei <LeiYiXia29 <at> outlook.com>
Cc: "78660 <at> debbugs.gnu.org" <78660 <at> debbugs.gnu.org>
Subject: Re: bug#78660: [PATCH] Add context menu for commenting in prog-mode
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).




This bug report was last modified 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.