From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" 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: Thu, 06 May 2021 13:30:46 +0100 Message-ID: <87im3wm4cp.fsf@tcd.ie> References: <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="37215"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alan Mackenzie , 48249@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 06 14:31:50 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 1ledAT-0009XU-5m for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 14:31:49 +0200 Original-Received: from localhost ([::1]:42806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ledAS-000851-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 08:31:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1led9j-00083s-Vp for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 08:31:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1led9i-00009y-Gv for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 08:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1led9i-0006Jz-DY for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 08:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 12:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48249 X-GNU-PR-Package: emacs Original-Received: via spool by 48249-submit@debbugs.gnu.org id=B48249.162030426124293 (code B ref 48249); Thu, 06 May 2021 12:31:02 +0000 Original-Received: (at 48249) by debbugs.gnu.org; 6 May 2021 12:31:01 +0000 Original-Received: from localhost ([127.0.0.1]:37502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1led9g-0006Jl-JB for submit@debbugs.gnu.org; Thu, 06 May 2021 08:31:01 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:53182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1led9Z-0006Je-T0 for 48249@debbugs.gnu.org; Thu, 06 May 2021 08:30:59 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id g65so3281153wmg.2 for <48249@debbugs.gnu.org>; Thu, 06 May 2021 05:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=v6AYuGOEfbl7MDpDUFQ6M6+wwNjYGLqmYwgK46edAls=; b=cm4RHmu3ELUy9gDy/V4V3c5hJNTMFQvDuwabhBo3RNjcmn8nrhj+GvMl7iQB/ZAuNG bAJ8lRcwF0uHNkQjE5vUmebnVnsU9ncsYN2jSohAhMGBooK7CNjBezhFE0HROeIyNlFu UL93VRSk3EGCb5AEEMgemf7owC3fGtFY1b+VVIp5futiOJ0z5CwpdopYFaxMWolrEVUY bCPWdqE5+AfQFAY8GK3tGLGi+KAiETo4+U3K07b10xDbsas01PqNauJ282Q42bj3yHBZ uQj3/0jfkXeaNTU/kKwYajg2yD0IrZqapwILBBr/63CgUs8L38m6SrWLEiPW3RRfvTPl d6hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=v6AYuGOEfbl7MDpDUFQ6M6+wwNjYGLqmYwgK46edAls=; b=S1OZK0wl77a5Yzzy8sSXhPVdNgOiDaQg/nYPwj5zuYLKgPtW2AbRo6fQBpVlo3r1Kn zqmCpM2Y121RkJXKflMUoAsESF7A1FCi7JdNWyWlYE/H8xc6NbIAVCWuvyS4KCrglLzm 0WbkhSTCcpLaQ7wKOaH1jBWRvNxOBXEJ7/14hFXftnHOOvRzYT/AaQfgcHq+5naQLKZv YI1wxiLGr8xT3FBWL4aHrIdatfJg+ya+pavcUQurnWj9aqRUOMzOWdJJ56uGm/pNDrLy HIuDXYEP63P1O1rAlPC3dmF+rznILYlsdCzDrgb6S8/ERtBu/rtN9nkalMYRV9sQ/eSP j91g== X-Gm-Message-State: AOAM530RAY7wMv5Offc2wm4/FYOF4bKSgjVhG+gu/6fp8IELF1l1MpY/ Aod+gJSemfG4J2pzVLrcyVGpRA== X-Google-Smtp-Source: ABdhPJwPpYD47To+qq++u/4FRf2N8iRZrJPUdOKCfR71VW+JVeXd8R/hH/kSWKCrwl7jze9uwz6ipw== X-Received: by 2002:a1c:a949:: with SMTP id s70mr3582375wme.15.1620304247994; Thu, 06 May 2021 05:30:47 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id v17sm3907578wrd.89.2021.05.06.05.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 05:30:47 -0700 (PDT) In-Reply-To: <87zgx8wmew.fsf@secretsauce.net> (Dima Kogan's message of "Wed, 05 May 2021 20:50:31 -0700") 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:205827 Archived-At: Dima Kogan writes: > 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. Exactly the same story here with ivy-mode and winner-mode. I thought I'd found a reproducer in https://bugs.gnu.org/48229, but that's actually a duplicate of https://bugs.gnu.org/47766, which was fixed today: Fix wrong handling of minibuffers when frames get iconified/made invisible c873d16af6 2021-05-06 10:48:14 +0000 https://git.sv.gnu.org/cgit/emacs.git/commit/?id=c873d16af61ae9b956c6dd6d9e50ebad2bb7666e > I haven't tried to rebuild today, but this bug exists in the emacs git > as of May 1. I can confirm the bug in your recipe still happens with latest master (report-emacs-bug details follow my signature). CCing Alan. Thanks, -- Basil In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2021-05-06 built on tia Repository revision: 5ec4a3dbbc81ef9ed51065189a19689c351e0e8d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux bullseye/sid Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Winner undo (1 / 2) Quit Configured using: 'configure 'CC=ccache gcc' 'CFLAGS=-O2 -march=native' --config-cache --prefix=/home/blc/.local --enable-checking=structs --with-x-toolkit=lucid --with-file-notification=yes --with-x' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: en_IE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: winner-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils winner ring ido seq byte-opt gv bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 55722 8253) (symbols 48 6957 1) (strings 32 19914 1941) (string-bytes 1 653549) (vectors 16 13237) (vector-slots 8 177049 10255) (floats 8 34 50) (intervals 56 232 0) (buffers 992 10))