From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50067: Context menus Date: Tue, 30 Nov 2021 20:12:48 +0200 Organization: LINKOV.NET Message-ID: <86r1axcy1r.fsf@mail.linkov.net> References: <87pmufb3u0.fsf@mail.linkov.net> <875ytr1vkp.fsf@mail.linkov.net> <864k8mwgzr.fsf@mail.linkov.net> <86bl2hux4y.fsf@mail.linkov.net> <86h7c0wu5r.fsf@mail.linkov.net> <83czmo7hpn.fsf@gnu.org> <865ysgkpao.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="2771"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 50067@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 19:15:34 2021 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 1ms7fC-0000Vb-1A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 19:15:34 +0100 Original-Received: from localhost ([::1]:34754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms7f9-0002iC-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 13:15:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7el-0002hP-G9 for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 13:15:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms7eg-0003uF-NR for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 13:15:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ms7eg-0006Kk-3j for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 13:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2021 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50067 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 50067-submit@debbugs.gnu.org id=B50067.163829605124270 (code B ref 50067); Tue, 30 Nov 2021 18:15:02 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 30 Nov 2021 18:14:11 +0000 Original-Received: from localhost ([127.0.0.1]:42475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms7dr-0006JO-Ga for submit@debbugs.gnu.org; Tue, 30 Nov 2021 13:14:11 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:60451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms7dp-0006J9-SQ for 50067@debbugs.gnu.org; Tue, 30 Nov 2021 13:14:10 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 27F6B10000B; Tue, 30 Nov 2021 18:14:02 +0000 (UTC) In-Reply-To: <865ysgkpao.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 25 Nov 2021 21:28:47 +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:221160 Archived-At: >> Why check this condition inside the loops, rather than avoid entering >> the loops when the condition is right, in the first place? > > I thought that checking the condition inside the loops > would be less risky for the emacs-28 release branch. > >> And please add comments there explaining the meaning of the >> inhibit_mouse_event_check test. > > This patch also adds comments, and removes one condition > that is not unnecessary when event with parameters > is not searched when inhibit_mouse_event_check is non-nil: Patch pushed now.