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#43966: Isearch, C-g and f10 interact to leave Isearch in an inconsistent state. Date: Mon, 12 Oct 2020 22:36:41 +0300 Organization: LINKOV.NET Message-ID: <874kmz1ch2.fsf@mail.linkov.net> References: <20201012170709.GB22249@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30318"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 43966@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 12 21:53:45 2020 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 1kS3tB-0007lX-7h for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 21:53:45 +0200 Original-Received: from localhost ([::1]:43644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kS3tA-0004nr-9R for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 15:53:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kS3sU-0004SQ-G6 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 15:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kS3sU-00063M-5K for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 15:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kS3sU-00088N-35 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 15:53:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 43966-submit@debbugs.gnu.org id=B43966.160253235531234 (code B ref 43966); Mon, 12 Oct 2020 19:53:02 +0000 Original-Received: (at 43966) by debbugs.gnu.org; 12 Oct 2020 19:52:35 +0000 Original-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 Original-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 Original-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) In-Reply-To: <20201012170709.GB22249@ACM> (Alan Mackenzie's message of "Mon, 12 Oct 2020 17:07:09 +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:190358 Archived-At: > (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.