GNU bug report logs -
#52293
29.0.50; [PATCH] Prevent further cases of duplicated separators in context menus
Previous Next
Reported by: Jim Porter <jporterbugs <at> gmail.com>
Date: Sun, 5 Dec 2021 05:59:01 UTC
Severity: normal
Tags: patch
Fixed in version 29.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 12/14/2021 12:30 AM, Juri Linkov wrote:
> Thanks. The current question was raised by Drew who worried that
> sometimes authors might want to leave two adjacent separators
> for an empty submenu. But you answered this question that it can be
> addressed by using a special form of a separator with a menu-item.
> So I see no more problems here.
For simplicity, I'll focus on *just* the issue described in the original
post to this bug (i.e. improving how we detect consecutive separators so
we can de-duplicate them more reliably). Then I'll send a message to
emacs-devel to gauge interest in supporting de-duplication in other menus.
If there's interest, it would probably make sense to have the
de-duplication be opt-in so that we avoid any surprising behavior in
other menus. However, if people don't think de-duplication of separators
would be useful in other menus, then we can just keep the logic we have
now (along with the bug fix mentioned above).
Does that sound reasonable?
This bug report was last modified 3 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.