From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52973: Adding a few context-menu-mode commands Date: Sat, 08 Jan 2022 20:44:21 +0200 Message-ID: <83v8yu2hkq.fsf@gnu.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20989"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, 52973@debbugs.gnu.org, larsi@gnus.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 08 19:46:10 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 1n6GjB-0005FL-8N for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jan 2022 19:46:09 +0100 Original-Received: from localhost ([::1]:49902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6Gj8-0002QB-Gw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jan 2022 13:46:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6GiL-0002Om-DS for bug-gnu-emacs@gnu.org; Sat, 08 Jan 2022 13:45:18 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6Gi6-000868-Bs for bug-gnu-emacs@gnu.org; Sat, 08 Jan 2022 13:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6Gi6-0001zB-5K for bug-gnu-emacs@gnu.org; Sat, 08 Jan 2022 13:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Jan 2022 18:45: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.16416674887598 (code B ref 52973); Sat, 08 Jan 2022 18:45:02 +0000 Original-Received: (at 52973) by debbugs.gnu.org; 8 Jan 2022 18:44:48 +0000 Original-Received: from localhost ([127.0.0.1]:48696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Ghr-0001yT-LD for submit@debbugs.gnu.org; Sat, 08 Jan 2022 13:44:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Ghm-0001yE-DY for 52973@debbugs.gnu.org; Sat, 08 Jan 2022 13:44:46 -0500 Original-Received: from [2001:470:142:3::e] (port=36892 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6Ghg-00083k-Vc; Sat, 08 Jan 2022 13:44:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Nw6fSxX74MG1WKCXJbEY2fo+x/RwxjvH3gxrNOKt/44=; b=qstvEm/7fQH9 zrCcUuekvgzDpx47C4GSIfffkXclsTtVBEDW+WPp7Q6v3bgjBb+AlvjhtFDKEjd3DWWn1K3GN6n18 41VZC4xqz1cQ4813dyMQ+Qf1wD6Yy8JVYUgy/uko9MnCwovZjB09omtcW+TdW6by5cxptU6sXfJDZ ML6a54t5PYywzde/vfY65PtKKAK24OYpsGwl3FFUfonY5xb6hZ5jAPkC9aHUD5pU/0X64iwSBQaFT jHPs1CBLzJYNi+TpwDo5JMRZBcwvuYvWJF55MwOrpND0QUNqsSxONP1Nx3y+fb49Yj8aGbYmp2DPB V94xGlreh1RDFYFRC5l3cQ==; Original-Received: from [87.69.77.57] (port=4949 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6Ghg-0006iB-AX; Sat, 08 Jan 2022 13:44:37 -0500 In-Reply-To: <86bl0m13o1.fsf@mail.linkov.net> (message from Juri Linkov on 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:223820 Archived-At: > From: Juri Linkov > Cc: Philip Kaludercic , larsi@gnus.org, > 52973@debbugs.gnu.org > Date: Sat, 08 Jan 2022 20:30:06 +0200 > > None of the proposed functions is specific to a mode. The way I see it, the functions in man.el are for Man-mode, and those in hi-lock.el are for hi-lock-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. This is over-engineered, IMO. There should be no need for such complexity.