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: Fri, 14 Jan 2022 14:33:18 +0000 Message-ID: <87pmou8k0h.fsf@posteo.net> References: <87o84tp69h.fsf@posteo.net> <87zgnypulq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19241"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52973@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 15:42:27 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 1n8Nmc-0004od-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 15:42:27 +0100 Original-Received: from localhost ([::1]:57624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Nmb-0006YA-Tg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 09:42:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8NeU-0003YT-By for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 09:34:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8NeU-00071C-17 for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 09:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8NeT-00088T-Ru for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 09:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 14:34:01 +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.164217081131226 (code B ref 52973); Fri, 14 Jan 2022 14:34:01 +0000 Original-Received: (at 52973) by debbugs.gnu.org; 14 Jan 2022 14:33:31 +0000 Original-Received: from localhost ([127.0.0.1]:35986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Ndz-00087a-35 for submit@debbugs.gnu.org; Fri, 14 Jan 2022 09:33:31 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:51433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Ndw-00087F-LI for 52973@debbugs.gnu.org; Fri, 14 Jan 2022 09:33:30 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 90D8A24002E for <52973@debbugs.gnu.org>; Fri, 14 Jan 2022 15:33:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642170802; bh=GUrp6EIB9k2Su6m8bzC2VwoJ4hFdbGjPK43rMXH+IZw=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=Odb0kwkWox/kZiSohkxL9CHgDgZItnzOXGz7iv1SgZjAlVLpKDO+Tve8ULv7dr5aE +zoyF4ZgTYmtQbMHcrK1MdmT9yNg1wx50r1Z8QSsq2SpIOGvpbrrQ+uJ7/pT8JoPZ5 wJYshxNHE6RwIn98KywNa8FQ31u1m/HlxCyCRGLruuPL0xMfykoz/dux9qAGzJf/TU usfCX4/76Tb+hmnhB/3uvbda8i5B1RLklbwYZ+chQZXDvJbyo9N+7TAl1BJhcfAgwT QNPkKMHV4g8n7nJwwpJrm+eEx5CuxvjUqV5LqwUDrDjIemSlm9aAPABJHtoVRTTGVo Co0G8IAz/eegw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jb3gj5Bz5z9rxk; Fri, 14 Jan 2022 15:33:21 +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: <87zgnypulq.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 14 Jan 2022 09:52:33 +0100") 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:224208 Archived-At: Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >> I am attaching a few patches adding a few features for >> context-menu-mode, that I mentioned and explained here: >> https://ruzkuku.com/texts/emacs-mouse.html. >> >> Would it be OK to add these to Emacs itself? > > These all look OK to me, so I've applied the patches to Emacs 29, and > expanded the `type' of `context-menu-functions' to list them, so that > people can add them more easily. I think that "Add command to invoke a search engine" should be reverted, because we replaced that with a few commands in webjump, that did not rely on eww. > The discussion then went on to whether there should be an infrastructure > to make modes add more context functions automatically -- and I think > there should be, but it's unclear what that mechanism would look like. > In any case, it seems beyond the scope of this bug report, so I'm > closing it, and a new report should be opened for discussion about the > more general issue (or perhaps discussed on emacs-devel). -- Philip Kaludercic