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: Wed, 12 Jan 2022 07:16:20 +0100 Message-ID: <87czkxbhsb.fsf@gnus.org> References: <87o84tp69h.fsf@posteo.net> <868rvwsezi.fsf@mail.linkov.net> <87czl75lyz.fsf@posteo.net> <86czl6au29.fsf@mail.linkov.net> <874k6idjod.fsf@posteo.net> <86o84pthgp.fsf@mail.linkov.net> <87pmp4lmfz.fsf@posteo.net> <86pmp41vby.fsf@mail.linkov.net> <83czl47ghd.fsf@gnu.org> <86ee5kzjo2.fsf@mail.linkov.net> <83bl0o6oei.fsf@gnu.org> <87iluwkkyn.fsf@posteo.net> <83k0fc54bd.fsf@gnu.org> <86bl0m13o1.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="5116"; 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, Philip Kaludercic To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 12 07:17:38 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 1n7Wwx-000192-T7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Jan 2022 07:17:35 +0100 Original-Received: from localhost ([::1]:43096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7Www-0005K1-HZ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Jan 2022 01:17:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7WwQ-0005I3-9L for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2022 01:17:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7WwP-0000N5-Qb for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2022 01:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7WwP-0006sk-K4 for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2022 01:17: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: Wed, 12 Jan 2022 06:17: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.164196819126390 (code B ref 52973); Wed, 12 Jan 2022 06:17:01 +0000 Original-Received: (at 52973) by debbugs.gnu.org; 12 Jan 2022 06:16:31 +0000 Original-Received: from localhost ([127.0.0.1]:56067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7Wvv-0006rY-9w for submit@debbugs.gnu.org; Wed, 12 Jan 2022 01:16:31 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:39704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7Wvt-0006rC-SC for 52973@debbugs.gnu.org; Wed, 12 Jan 2022 01:16:30 -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=qeWuz+gGo1odHYzMmmQtGtaUXBuDqetywovugzUAR14=; b=QoHi+0l0s/8GuBgjC3+Oz1s1To lawzJWFy2MNgOLKYG2tF2/PqFbJ/QGSUHkKiYsMqspf7pNzlqLPA1bVW39lGRU2SNdSlFP0FpRT+H jO5Z9UJ2U8DolHZfqpE4QVzLS7cf5hWqymEohEniLOuKlj2OZw4MTyV8OmoUz9Ie2cPI=; 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 1n7Wvk-00077q-Te; Wed, 12 Jan 2022 07:16:23 +0100 X-Now-Playing: Cocteau Twins's _The Pink Opaque_: "From the Flagstones" In-Reply-To: <86bl0m13o1.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 08 Jan 2022 20:30:06 +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:223985 Archived-At: Juri Linkov writes: > None of the proposed functions is specific to a mode. > When the global value of context-menu-functions > contains one of the proposed functions, right-clicking anywhere > will autoload every package where such context functions are defined. Ah, I see. I misunderstood how the context menu machinery works -- I thought it contained mode-specific stuff, and in addition, things that are relevant at the point. That is, if you're over a text like "foo(1)", then there'd be a predicate to say that this might be a manual reference, and then you'd get the Man context menu. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no