GNU bug report logs - #52973
Adding a few context-menu-mode commands

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Mon, 3 Jan 2022 08:38:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 52973 <at> debbugs.gnu.org
Subject: Re: bug#52973: Adding a few context-menu-mode commands
Date: Mon, 03 Jan 2022 23:17:18 +0200
>>> > Maybe I'm missing something, but I don't see the actual integration
>>> > with context-menu-mode?
>>>
>>> Each commit adds a function that can be added to context-menu-functions.
>>
>> That was my guess, but without having those additions, not even as a
>> user option, or (better) automagically when context-menu-mode is
>> turned on, those functions are just dead ballast, aren't they?
>
> From my understanding of bug#50552, this was preferred.

bug#50552 proposed to add to every package such lines:

  (custom-add-choice 'context-menu-functions
                     '(function-item :tag "Dictionary menu" context-menu-dictionary))

but 'custom-add-choice' fails on the current structure of
'context-menu-functions', so either a new function 'custom-add-repeat-choice'
should be created, or better would be to improve the existing
'custom-add-choice' to handle the choices inside 'repeat'.




This bug report was last modified 3 years and 115 days ago.

Previous Next


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