From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#52973: Adding a few context-menu-mode commands Date: Fri, 14 Jan 2022 09:52:33 +0100 Message-ID: <87zgnypulq.fsf@gnus.org> References: <87o84tp69h.fsf@posteo.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="3567"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 52973@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 10:04:13 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 1n8IVI-0000ee-JG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 10:04:12 +0100 Original-Received: from localhost ([::1]:43368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8IVH-0004CQ-IH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 04:04:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8IKU-0007Cz-Av for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 03:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8IKT-0008Q9-Kl for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 03:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8IKT-0003ly-Kx for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 03:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 08:53: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.164215037114476 (code B ref 52973); Fri, 14 Jan 2022 08:53:01 +0000 Original-Received: (at 52973) by debbugs.gnu.org; 14 Jan 2022 08:52:51 +0000 Original-Received: from localhost ([127.0.0.1]:35529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8IKF-0003lK-CG for submit@debbugs.gnu.org; Fri, 14 Jan 2022 03:52:51 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:35132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8IKD-0003l1-Ca for 52973@debbugs.gnu.org; Fri, 14 Jan 2022 03:52:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e+d9x94GcyV7hgJHhc7/6LbeRbjxKH2P2JHdlu5/pZ0=; b=e0tLcL90pnye1R+cdAI45dhW1k Pau9ArkS5gRYz+2NiarM4/peSYOus+M3meFyX7yDvYfc81cz0oWlSbX7BsWrTHQvCVzgv52MxQk1l IMmeyUA8ocIOf41icRx6FcGfymjMSOIzPCiKdV1og/lgSjRi6T4IqvynKwcC44+wo98E=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8IK3-0001tK-TL; Fri, 14 Jan 2022 09:52:38 +0100 X-Now-Playing: Noveller's _Arrow_: "Zeaxanthin" In-Reply-To: <87o84tp69h.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 03 Jan 2022 08:34:18 +0000") 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:224179 Archived-At: 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. 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). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no