From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#48249: 28.0.50; Regression: emacs confused about window configuration due to ido-mode and/or winner-mode Date: Wed, 05 May 2021 20:50:31 -0700 Message-ID: <87zgx8wmew.fsf@secretsauce.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="24545"; mail-complaints-to="usenet@ciao.gmane.io" To: 48249@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 06 05:51:10 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 1leV2b-0006H2-Vo for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 05:51:10 +0200 Original-Received: from localhost ([::1]:34152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leV2b-0001J5-2D for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 23:51:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leV2U-0001Ix-2H for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 23:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leV2T-0004ju-R0 for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 23:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leV2T-00086O-OW for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 23:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 03:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48249 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162027303431136 (code B ref -1); Thu, 06 May 2021 03:51:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 May 2021 03:50:34 +0000 Original-Received: from localhost ([127.0.0.1]:36326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leV21-000868-K2 for submit@debbugs.gnu.org; Wed, 05 May 2021 23:50:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leV1z-000862-7b for submit@debbugs.gnu.org; Wed, 05 May 2021 23:50:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leV1y-0001B2-W2 for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 23:50:31 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leV1x-0004BD-0f for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 23:50:30 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0697D5C0154 for ; Wed, 5 May 2021 23:50:27 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 05 May 2021 23:50:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretsauce.net; h=from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=jDSZshIk6YM7f2KQjJezARbaCdKf8SK3h0suaKhRj+c=; b=L6lzoopz 5Lr1PIZ0WALsR8YgAWh+JURjb2eK4sEdn4/51h30jLXyYBL6GJTxvJKvLbxNkHhv kXzqNhF0MwltKlZ7OoweuQkV2xStRw1Kaz+zQsI66w6lDeCwJv5Uql753l5NvyFv XiO0b870iLLweaJVq3gqaHbRId4bWTw6CgHF21Z9qLhhz7jSulDK7AxQSazGAwkW p9uqcPnRy/zK5Xy60DHIlxGWYt1aipRati6sAq9yQusFlZqdrng33X802t2GDYpz M2d8LhDVZOspYVaB59JughH1KdQDfaEib2YLf7sAA0MW4D2FyIsPESsF6aMxwjgr QkcwMqd9NRGGcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=jDSZshIk6YM7f2KQjJezARbaCdKf8 SK3h0suaKhRj+c=; b=AhRy+k+RvprPAa4dYExpkv+1q7wbnl6JSvNXhxODf5t2m BEGbwe1g8fCeHE50MkBRAIEEunGErBf5cAXgVHi+zsUuE3unD+l83kGIpXFTkfw4 QlX6++fS92gcmQkqXvZ/0vHDCaCzt9g2NFqriIdQ7xBQEeFmRJwDE882MM9U9ZS8 5GdzUbmvL9fqFnjvNz2HJ5RzI3DOZBCbKqcJz/GLSieQtLMP0tSIyQ+mulY0Mmaz FpW0COOH9ezfUR4NsUh6qQ9p1IxtVq5Jsse65QTdNBuJ6JbCbKLEMOSNp65+eI3q WTeG4oShM33/vv+aRudLVLfhj65O4PJQTT2XMPs3g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefledgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd dtnecuhfhrohhmpeffihhmrgcumfhoghgrnhcuoeguihhmrgesshgvtghrvghtshgruhgt vgdrnhgvtheqnecuggftrfgrthhtvghrnhepffdvffduhfekfffhieefhfffvddtgfefje evuedvfedujeejudevfedtgeeguedvnecukfhppedutdejrddvuddtrddvudefrddvgeef necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughimh grsehsvggtrhgvthhsrghutggvrdhnvght X-ME-Proxy: Original-Received: from localhost (107-210-213-243.lightspeed.irvnca.sbcglobal.net [107.210.213.243]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 5 May 2021 23:50:26 -0400 (EDT) Received-SPF: pass client-ip=66.111.4.25; envelope-from=dima@secretsauce.net; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:205747 Archived-At: Hi. I'm running a bleeding-edge build of emacs, and I've been observing a really annoying behavior regression for the last few months. It was somewhat elusive, but I finally just figured out how to reproduce it, so I'm now reporting the bug. Emacs periodically gets into a confused state, where simple commands like (switch-to-other-buffer) start doing strange things (switching to the wrong buffer, messing with the window configuration, etc). And the point often gets stuck in the minibuffer, requiring an explicit switch command to get out of there. Killing that emacs frame, and starting a new one (I'm using the emacs server) would fix it for the new frame for a while, until that frame gets confused too. I haven't tried to rebuild today, but this bug exists in the emacs git as of May 1. Recipe: 1. emacs -Q --eval "(progn (ido-mode 'buffers) (winner-mode))" I believe both of those modes are required to tickle the bug. Emacs comes up with one big window visiting the *scratch* buffer 2. C-x b RET Switch to a different buffer. Here we moved to the default choice: the *Messages* buffer 3. C-c LEFT Ask winner-mode to go back to the previous window state. We're now visiting the *scratch* buffer again 4. M-x Ask emacs to interactively run some command. We move to the minibuffer, where we can type the command we want 5. C-g Never mind. Emacs should now cancel the M-x interactive command entry, and jump back to the *scratch* buffer. But due to this bug, the point sticks in the minibuffer, and you have to C-x o to get it out. At this point any C-g of any minibuffer anything will get stuck. And other weirdness will happen in this frame. I haven't done any debugging yet. Finding the case of the problem and the recipe is the most important thing here, I think. If this doesn't speak to anybody in the next day or two, I'll do a bisection. Thanks!