From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#52973: Adding a few context-menu-mode commands Date: Tue, 04 Jan 2022 20:08:03 +0000 Message-ID: <87h7aj463g.fsf@posteo.net> References: <87o84tp69h.fsf@posteo.net> <83pmp9c7j9.fsf@gnu.org> <877dbhoril.fsf@posteo.net> <837dbgdh51.fsf@gnu.org> <871r1opwbi.fsf@posteo.net> <86mtkcr02p.fsf@mail.linkov.net> <83o84rbsa4.fsf@gnu.org> <86a6gbo0lk.fsf@mail.linkov.net> <8335m3b78v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13760"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52973@debbugs.gnu.org, Juri Linkov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 04 21:09:37 2022 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 1n4q7l-0003SE-HG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 21:09:37 +0100 Original-Received: from localhost ([::1]:55930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4q7k-0007AB-Kl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 15:09:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4q7C-00078n-Kq for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 15:09:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4q7C-00054C-BZ for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 15:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4q7C-00088z-7U for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 15:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jan 2022 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52973-submit@debbugs.gnu.org id=B52973.164132689431249 (code B ref 52973); Tue, 04 Jan 2022 20:09:02 +0000 Original-Received: (at 52973) by debbugs.gnu.org; 4 Jan 2022 20:08:14 +0000 Original-Received: from localhost ([127.0.0.1]:38822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4q6P-00087x-Si for submit@debbugs.gnu.org; Tue, 04 Jan 2022 15:08:14 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:50181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4q6M-00087j-U3 for 52973@debbugs.gnu.org; Tue, 04 Jan 2022 15:08:12 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E8658240103 for <52973@debbugs.gnu.org>; Tue, 4 Jan 2022 21:08:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1641326884; bh=ADkdPx1s8D1BArsgplaNv8Y1/Ee6eQ5TVnDLRbIGPnc=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=rsHutQ3zPn0l7FQw6lXVYs+Hi7q+8yTkhnjM2nqpzzcJg8e9J4J93rSKItLVNj+ZC NykzEUmEsQv4Nsxw02nJZUKM8g27lp3Xlz0/PHdLYOqli9xfg6ljeXRLYvUmfZoOrk LPV/SDzBgjXuTY4jFMd6g6sw6TP94d92HTvAtMPXY+p/BTQN4bHV8q/3BTsvJSdb+Y 18+7bBvAQCfZhyEbysaVQC1ZiS4nsgu0tMukH8HOcZ1B3CeZQZMvVRnUe9YZpDOQm1 xGUY/1g5Gw8XSgWGHAOeNkhirVNOLv4CVJucWPatDyRyCUF0v3OMVbmsIyrhDHzn8A vF0xRDq+skqpA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JT3ZX0LKXz9rwn; Tue, 4 Jan 2022 21:08:03 +0100 (CET) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <8335m3b78v.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Jan 2022 22:01:20 +0200") 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:223660 Archived-At: Eli Zaretskii writes: >> From: Juri Linkov >> Cc: philipk@posteo.net, 52973@debbugs.gnu.org >> Date: Tue, 04 Jan 2022 19:46:31 +0200 >>=20 >> > But in any case, we need to do this soon, because adding functions >> > that are not used unless the user plays with hooks is not clean, >> > definitely not for a feature such as this one, because it's supposed >> > to be very easy, ideally seamless, to activate. Otherwise it would be >> > against the raisons d'=C3=AAtre of the feature. >>=20 >> The main customization point is >>=20 >> 'M-x customize-variable RET context-menu-functions' >>=20 >> that will provide more choices with the help of >> 'custom-add-repeat-choice'. > > I think once the user turns on context-menu-mode, all the modes that > defined their context menus should automatically activate them. There > should be no need for any user customizations except turning on this > mode. I would disagree, neither do I necessarily want all mode, nor do I necessarily want to have the entries listed the default order. In my case I fix this by manually setting context-menu-functions to the functions I want to use. --=20 Philip Kaludercic