From unknown Sun Jun 22 08:06:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43966: Isearch, C-g and f10 interact to leave Isearch in an inconsistent state. Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Oct 2020 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 43966@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160252243915957 (code B ref -1); Mon, 12 Oct 2020 17:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2020 17:07:19 +0000 Received: from localhost ([127.0.0.1]:43837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS1I7-00049J-8m for submit@debbugs.gnu.org; Mon, 12 Oct 2020 13:07:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:50780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS1I3-000498-6B for submit@debbugs.gnu.org; Mon, 12 Oct 2020 13:07:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kS1I3-0002O0-1l for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 13:07:15 -0400 Received: from colin.muc.de ([193.149.48.1]:39204 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1kS1I0-0002MC-8c for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 13:07:14 -0400 Received: (qmail 50266 invoked by uid 3782); 12 Oct 2020 17:07:09 -0000 Received: from acm.muc.de (p4fe15c8d.dip0.t-ipconnect.de [79.225.92.141]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Mon, 12 Oct 2020 19:07:08 +0200 Received: (qmail 24072 invoked by uid 1000); 12 Oct 2020 17:07:09 -0000 Date: Mon, 12 Oct 2020 17:07:09 +0000 Message-ID: <20201012170709.GB22249@ACM> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/12 13:07:09 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Emacs. In the emacs-27 branch, in X Windows, from a terminal: (i) emacs -Q -nw. (ii) M-x menu-bar-mode (to turn it off). (iii) Visit a file. (iv) C-s . (v) f10 to open the menu. (vi) C-x o once or twice to move to the menu window. (vii) C-g. (This leaves the menu window in place). (viii) C-x o to move to the minibuffer. (ix) C-g. (This deletes the menu window). There is now one window open, that displaying the file buffer. According to the mode line, Isearch is still active, and indeed further characters can be typed onto the search string. However, point can be freely moved by, e.g., C-f or C-b., without terminating the Isearch. This is a bug. -- Alan Mackenzie (Nuremberg, Germany). From unknown Sun Jun 22 08:06:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43966: Isearch, C-g and f10 interact to leave Isearch in an inconsistent state. Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Oct 2020 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 43966@debbugs.gnu.org Received: via spool by 43966-submit@debbugs.gnu.org id=B43966.160253235531234 (code B ref 43966); Mon, 12 Oct 2020 19:53:02 +0000 Received: (at 43966) by debbugs.gnu.org; 12 Oct 2020 19:52:35 +0000 Received: from localhost ([127.0.0.1]:44014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS3s3-00087i-Fj for submit@debbugs.gnu.org; Mon, 12 Oct 2020 15:52:35 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:37133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS3s1-00087Q-2V for 43966@debbugs.gnu.org; Mon, 12 Oct 2020 15:52:33 -0400 Received: from mail.gandi.net (m91-129-102-160.cust.tele2.ee [91.129.102.160]) (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id ECC6B10000D; Mon, 12 Oct 2020 19:52:24 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <20201012170709.GB22249@ACM> Date: Mon, 12 Oct 2020 22:36:41 +0300 In-Reply-To: <20201012170709.GB22249@ACM> (Alan Mackenzie's message of "Mon, 12 Oct 2020 17:07:09 +0000") Message-ID: <874kmz1ch2.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > (i) emacs -Q -nw. > (ii) M-x menu-bar-mode (to turn it off). > (iii) Visit a file. > (iv) C-s . > (v) f10 to open the menu. > > (vi) C-x o once or twice to move to the menu window. > (vii) C-g. (This leaves the menu window in place). > (viii) C-x o to move to the minibuffer. > (ix) C-g. (This deletes the menu window). > > There is now one window open, that displaying the file buffer. > According to the mode line, Isearch is still active, and indeed further > characters can be typed onto the search string. > > However, point can be freely moved by, e.g., C-f or C-b., without > terminating the Isearch. This is a bug. This is because 'isearch-menu-bar-commands' contains 'menu-bar-open' added in bug#32990 to allow invocation of isearch commands from menu. From unknown Sun Jun 22 08:06:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43966: Isearch, C-g and f10 interact to leave Isearch in an inconsistent state. Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jan 2021 04:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: Alan Mackenzie , 43966@debbugs.gnu.org Received: via spool by 43966-submit@debbugs.gnu.org id=B43966.161172244313634 (code B ref 43966); Wed, 27 Jan 2021 04:41:02 +0000 Received: (at 43966) by debbugs.gnu.org; 27 Jan 2021 04:40:43 +0000 Received: from localhost ([127.0.0.1]:43364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4cdG-0003Xq-K4 for submit@debbugs.gnu.org; Tue, 26 Jan 2021 23:40:42 -0500 Received: from quimby.gnus.org ([95.216.78.240]:36306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4cdE-0003XZ-O0 for 43966@debbugs.gnu.org; Tue, 26 Jan 2021 23:40:41 -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=PplIW5SnPzffWAbtHGHE/HHuLH12v26DJ8CRje+EqEE=; b=VIH9p4AMy/EXJB1yPfJMvwtKsa M5ZO8aCTJAEJ00By4Wok+/r9TuJ2KMAMiKdhHN3WHJT419S+z5QhWTycUmJ0rODs8cR+XmztluGrG benfe2JvC66x7skEa7dZWQTF3GdyKvkxOIgPugNDILSoLNWGE3dAF3BKFskVdxDhoG2M=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4cd6-0001LC-F6; Wed, 27 Jan 2021 05:40:34 +0100 From: Lars Ingebrigtsen References: <20201012170709.GB22249@ACM> <874kmz1ch2.fsf@mail.linkov.net> X-Now-Playing: Current 93's _The Light Is Leaving Us All_: "A Thousand Witches" Date: Wed, 27 Jan 2021 05:40:31 +0100 In-Reply-To: <874kmz1ch2.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 12 Oct 2020 22:36:41 +0300") Message-ID: <87czxrat6o.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: >> However, point can be freely moved by, e.g., C-f or C-b., without >> terminating the Isearch. This is a bug. > > This is because 'isearch-menu-bar-commands' contains 'menu-bar-open' > added in bug# [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: >> However, point can be freely moved by, e.g., C-f or C-b., without >> terminating the Isearch. This is a bug. > > This is because 'isearch-menu-bar-commands' contains 'menu-bar-open' > added in bug#32990 to allow invocation of isearch commands from menu. bug#32990 was a very long thread, so I didn't read that -- but does this mean that the reported behaviour isn't a bug? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 08:06:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43966: Isearch, C-g and f10 interact to leave Isearch in an inconsistent state. Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jan 2021 09:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Alan Mackenzie , 43966@debbugs.gnu.org Received: via spool by 43966-submit@debbugs.gnu.org id=B43966.161174027010115 (code B ref 43966); Wed, 27 Jan 2021 09:38:01 +0000 Received: (at 43966) by debbugs.gnu.org; 27 Jan 2021 09:37:50 +0000 Received: from localhost ([127.0.0.1]:43807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4hGo-0002d5-9z for submit@debbugs.gnu.org; Wed, 27 Jan 2021 04:37:50 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:53101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4hGn-0002cg-CG for 43966@debbugs.gnu.org; Wed, 27 Jan 2021 04:37:49 -0500 X-Originating-IP: 91.129.98.64 Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 49BC5FF803; Wed, 27 Jan 2021 09:37:40 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <20201012170709.GB22249@ACM> <874kmz1ch2.fsf@mail.linkov.net> <87czxrat6o.fsf@gnus.org> Date: Wed, 27 Jan 2021 11:27:14 +0200 In-Reply-To: <87czxrat6o.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 27 Jan 2021 05:40:31 +0100") Message-ID: <87eei691cd.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain >>> However, point can be freely moved by, e.g., C-f or C-b., without >>> terminating the Isearch. This is a bug. >> >> This is because 'isearch-menu-bar-commands' contains 'menu-bar-open' >> added in bug#32990 to allow invocation of isearch commands from menu. > > bug#32990 was a very long thread, so I didn't read that -- but does this > mean that the reported behaviour isn't a bug? It's still a bug. The problem is that when the menu-bar is disabled, menu-bar-open calls tmm-menubar directly, but in isearch-mode isearch-tmm-menubar should be used instead. isearch-mode-map remaps tmm-menubar to isearch-tmm-menubar, but this doesn't help in case of menu-bar-open calling tmm-menubar directly. I see no way to fix this other than handling isearch-mode in tmm-menubar: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=isearch-tmm-menubar.patch diff --git a/lisp/isearch.el b/lisp/isearch.el index a86678572c..a1e3fe2c3f 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -513,7 +513,7 @@ isearch-tmm-menubar (call-interactively command))) (defvar isearch-menu-bar-commands - '(isearch-tmm-menubar menu-bar-open mouse-minor-mode-menu) + '(isearch-tmm-menubar tmm-menubar menu-bar-open mouse-minor-mode-menu) "List of commands that can open a menu during Isearch.") (defvar isearch-menu-bar-yank-map @@ -787,7 +787,6 @@ isearch-mode-map (define-key map [menu-bar search-menu] (list 'menu-item "Isearch" isearch-menu-bar-map)) - (define-key map [remap tmm-menubar] 'isearch-tmm-menubar) map) "Keymap for `isearch-mode'.") diff --git a/lisp/tmm.el b/lisp/tmm.el index e49246a5c4..2040f52270 100644 --- a/lisp/tmm.el +++ b/lisp/tmm.el @@ -56,12 +56,14 @@ tmm-menubar `tty-menu-open-use-tmm' to a non-nil value." (interactive) (run-hooks 'menu-bar-update-hook) - (let ((menu-bar (menu-bar-keymap)) - (menu-bar-item-cons (and x-position - (menu-bar-item-at-x x-position)))) - (tmm-prompt menu-bar - nil - (and menu-bar-item-cons (car menu-bar-item-cons))))) + (if isearch-mode + (isearch-tmm-menubar) + (let ((menu-bar (menu-bar-keymap)) + (menu-bar-item-cons (and x-position + (menu-bar-item-at-x x-position)))) + (tmm-prompt menu-bar + nil + (and menu-bar-item-cons (car menu-bar-item-cons)))))) ;;;###autoload (defun tmm-menubar-mouse (event) --=-=-=-- From unknown Sun Jun 22 08:06:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43966: Isearch, C-g and f10 interact to leave Isearch in an inconsistent state. Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 03:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: Alan Mackenzie , 43966@debbugs.gnu.org Received: via spool by 43966-submit@debbugs.gnu.org id=B43966.161180302213896 (code B ref 43966); Thu, 28 Jan 2021 03:04:02 +0000 Received: (at 43966) by debbugs.gnu.org; 28 Jan 2021 03:03:42 +0000 Received: from localhost ([127.0.0.1]:46655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4xaw-0003c4-Gi for submit@debbugs.gnu.org; Wed, 27 Jan 2021 22:03:42 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4xav-0003bp-4W for 43966@debbugs.gnu.org; Wed, 27 Jan 2021 22:03:41 -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=B6X+o7PWeIiOsL0xRRkMhtg/GhxgWdGitTlQWFFhWfc=; b=uBNQbhgIl2xlPgcfYYfWx1xUMv 0/9wdEgAPfTMIpQrbSVHubzxedfYufyPlawqt1wJKcDirPsVtHuWJQq1Pgfr/IxqOIggyuBYKZUlF hEn5uYjRAc87uhqhmV/892MjUdY8McEOoXub0PHC0GuiAYBTx2n3GSaUl7SU5ZTq8vac=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4xak-0003Ip-Qu; Thu, 28 Jan 2021 04:03:35 +0100 From: Lars Ingebrigtsen References: <20201012170709.GB22249@ACM> <874kmz1ch2.fsf@mail.linkov.net> <87czxrat6o.fsf@gnus.org> <87eei691cd.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEX49+zEvpemmGSK cEM8NiT///9cgd8nAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UBHAIsDJ7xEu0AAAF1SURBVDjLdZLr ocMgCIVN2gEqmQC8C0RcoJH9Z7qA2rxa/uTxeRAOhGAxxVuEFhNQ+wYc4NXIwuTB6y+QL2DmHrui kSmJxw7iyFUawDuonE6KXvGDCaAcAA6wxulVJB9Ay/VEfT5Pil5WCDTNUvEK1K8FUeSg6JdQXDGL bHgB6l4GFql5B55rXjWXAc54Ano1Fu2+pkYC9qEgEJknCtzhAWZIdl7MeScfxZLdxRhJJWqlg5eO lh1UHa5JmEIrIcTkAowtF3MHXqllShcA3Oa01ekEhkBqWezy4gAjxEUGEDRJHgoYisxWV8oUusv9 jpzMds32AenPBZzVOJUQ6cJN5iK4UY+3G2obPBTgjdPbN1Or2QGTt+HvVlZAdQEd2DAE1JPkDWbq a6511U3LssZ1K8PY8lK9v2rvVkfwb93Z1ocstXsQpIERJEdwiMo/gORyAuOcbCDfgZQzqJ8fcgX1 O9BcqQ3wqiibTXf7uyna4bviHj/BP26Js+X0YaZrAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAx LTI4VDAyOjQ0OjEyKzAwOjAw6SL65gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMS0yOFQwMjo0 NDoxMiswMDowMJh/QloAAAAASUVORK5CYII= X-Now-Playing: Joe Jackson's _Fool_: "Alchemy" Date: Thu, 28 Jan 2021 04:03:29 +0100 In-Reply-To: <87eei691cd.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 27 Jan 2021 11:27:14 +0200") Message-ID: <875z3h7ofy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > It's still a bug. The problem is that when the menu-bar is disabled, > menu-bar-open calls tmm-menubar directly, but in isearch-mode > isearch-tmm-menubar should be used instead. isearch-mode-map re [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: > It's still a bug. The problem is that when the menu-bar is disabled, > menu-bar-open calls tmm-menubar directly, but in isearch-mode > isearch-tmm-menubar should be used instead. isearch-mode-map remaps > tmm-menubar to isearch-tmm-menubar, but this doesn't help > in case of menu-bar-open calling tmm-menubar directly. Ah, I see. > I see no way to fix this other than handling isearch-mode in tmm-menubar: It does seem a bit hackish, but I guess there's no other real alternative... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 08:06:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43966: Isearch, C-g and f10 interact to leave Isearch in an inconsistent state. Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 19:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Alan Mackenzie , 43966@debbugs.gnu.org Received: via spool by 43966-submit@debbugs.gnu.org id=B43966.161186220532584 (code B ref 43966); Thu, 28 Jan 2021 19:31:01 +0000 Received: (at 43966) by debbugs.gnu.org; 28 Jan 2021 19:30:05 +0000 Received: from localhost ([127.0.0.1]:50214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5CzV-0008TT-5M for submit@debbugs.gnu.org; Thu, 28 Jan 2021 14:30:05 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:35315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5CzT-0008SS-1f; Thu, 28 Jan 2021 14:30:04 -0500 X-Originating-IP: 91.129.98.64 Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id B2DB120003; Thu, 28 Jan 2021 19:29:54 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <20201012170709.GB22249@ACM> <874kmz1ch2.fsf@mail.linkov.net> <87czxrat6o.fsf@gnus.org> <87eei691cd.fsf@mail.linkov.net> <875z3h7ofy.fsf@gnus.org> Date: Thu, 28 Jan 2021 21:28:02 +0200 In-Reply-To: <875z3h7ofy.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 28 Jan 2021 04:03:29 +0100") Message-ID: <87y2gc97zx.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 43966 fixed close 43966 28.0.50 quit >> I see no way to fix this other than handling isearch-mode in tmm-menubar: > > It does seem a bit hackish, but I guess there's no other real > alternative... Other alternatives would add more complexity via some redirections. But since there are other places with special handling of isearch-mode, this is not bad. So now pushed to master.