From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50552: 28.0.50; Add context-menu-occur Date: Sat, 02 Oct 2021 22:29:18 +0300 Organization: LINKOV.NET Message-ID: <87k0ivgr8x.fsf@mail.linkov.net> References: <87ilz5d9a1.fsf@posteo.net> <87o88xu13p.fsf@mail.linkov.net> <87a6khd316.fsf@posteo.net> <8735q8g9dj.fsf@mail.linkov.net> <874ka4v5ae.fsf@posteo.net> <875yujc2kq.fsf@mail.linkov.net> <87sfxnu2fo.fsf@posteo.net> <87mtnvffvd.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28873"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 50552@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 21:30:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWki2-0007Ll-V2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 21:30:10 +0200 Original-Received: from localhost ([::1]:60458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWki2-0004Gd-1Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 15:30:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWkhv-0004GV-0i for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWkhu-0001x7-PD for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWkhu-0000Lz-L7 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 50552-submit@debbugs.gnu.org id=B50552.16332030011329 (code B ref 50552); Sat, 02 Oct 2021 19:30:02 +0000 Original-Received: (at 50552) by debbugs.gnu.org; 2 Oct 2021 19:30:01 +0000 Original-Received: from localhost ([127.0.0.1]:60612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWkht-0000LN-4x for submit@debbugs.gnu.org; Sat, 02 Oct 2021 15:30:01 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:49959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWkhr-0000LA-Lt for 50552@debbugs.gnu.org; Sat, 02 Oct 2021 15:30:00 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 93B92240005; Sat, 2 Oct 2021 19:29:52 +0000 (UTC) In-Reply-To: <87mtnvffvd.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 29 Sep 2021 20:31:18 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216199 Archived-At: >> Why not use the new custom-add-choice function (or something along these >> lines) in dictionary.el? > > I tried this: > > (custom-add-choice 'context-menu-functions > '(function-item :tag "Dictionary menu" context-menu-dictionary)) > > But it fails with the error: > > (error "Not a choice type: (repeat (choice (function-item ...") Maybe it makes sense to implement a new function 'custom-add-repeat-choice' that is like 'custom-add-choice' but appends to the choices inside 'repeat'?