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 #20 received at 78660 <at> debbugs.gnu.org (full text, mbox):

From: Billy Lei <LeiYiXia29 <at> outlook.com>
To: Juri Linkov <juri <at> linkov.net>
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: Fri, 6 Jun 2025 15:56:42 +0800
IMO the current way of implementing context menus are not readable 
enough. I've looked the source code of functions like prog-context-menu, 
dired-context-menu, they tends to use `when` to control whether a menu 
is visible, which is more complex. I think we should use :visible to 
replace them to make them more readable.

By the way, before context menu is implemented, users can already see 
the menu bar items by right-click, so IMO displaying all the commands 
should have implemented (if the menu bar has all the commands).




This bug report was last modified 57 days ago.

Previous Next


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