GNU bug report logs - #45792
28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Platon Pronko <platon7pronko@HIDDEN>; dated Mon, 11 Jan 2021 16:11:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Jan 2021 16:10:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 11 11:10:03 2021
Received: from localhost ([127.0.0.1]:58070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kyzlb-0004Yh-44
	for submit <at> debbugs.gnu.org; Mon, 11 Jan 2021 11:10:03 -0500
Received: from lists.gnu.org ([209.51.188.17]:51770)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <platon7pronko@HIDDEN>) id 1kyzlZ-0004YE-3P
 for submit <at> debbugs.gnu.org; Mon, 11 Jan 2021 11:10:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:34714)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <platon7pronko@HIDDEN>)
 id 1kyzlY-0001Gb-Te
 for bug-gnu-emacs@HIDDEN; Mon, 11 Jan 2021 11:10:00 -0500
Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:34062)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <platon7pronko@HIDDEN>)
 id 1kyzlV-0003Zt-W7
 for bug-gnu-emacs@HIDDEN; Mon, 11 Jan 2021 11:10:00 -0500
Received: by mail-lf1-x136.google.com with SMTP id o19so355074lfo.1
 for <bug-gnu-emacs@HIDDEN>; Mon, 11 Jan 2021 08:09:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:cc:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=V9KtOJL4lmf5tNNycoTdl3ZMOwp+ntp3spJfvjBvmAk=;
 b=L9KmiERGwhU4T2dxiF1sNKT+IshlRN02RNjrfkyLhk1FeQ9kJxXzAV1of0Uv+G1U7w
 evWRkEnoyE2sM0yaJUndPDtOjb0ZQ9tYhyJfxvIYMHCTUWxJ+DtjNIUj0qt++1frZ1aW
 klDjSRsFu2r2X9ciDrbSMpuEcnb7kR7O4nBSg8pDKNeRsyFSZUdFtMPdWpKZ4lZHnYSR
 bumGlfH5kyJBVW/UoGVFhFBGSp6br4trsly6N+LSQI17Vn6VOQKJ/k4GL0v33CEHi5Ls
 wDzL/A6s1/JV/0DmMBKcm47ppE8TBvWrsh00SwheMYpzB7CnSA+aTmaGsqanE7JEnWdJ
 n57w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=V9KtOJL4lmf5tNNycoTdl3ZMOwp+ntp3spJfvjBvmAk=;
 b=CnEK2Nk+dlCcFUdVGqh/r5DVoMKXf+NbghgfF3sEJfuE7u72kL6bxhJ6kHZG1QFaF8
 Y6Q+ocgCFi4VDTYEJpZM/4S5LZlJHAgJUFV4EYL9JcfeXF/56iqRL4HzTwX8ckF+XaDi
 h00Sv88W+cTNw//cwWHf+X4rY29tQD9/UAyWHM+f4pPu8co8/q3JEEoAxU4DL1ZTG/dq
 N/qRi+SKB47eO82oSmyfOUAO0sbrM/sQrsJGCBx+5pxjOfSDzeJAUnV6y+VEkl15zSjJ
 f/foX3vg4JYIITVWGGiZXehPq9rcJUS0mGgjrUguNubDFMgO8V+xmsid8Zox9RgpGhJV
 MVmQ==
X-Gm-Message-State: AOAM531ujfTcMT9Phrs807hkHQjPQgPYXisgErncad4dblbFlC6zYsw1
 cJkMmYv3l1hexCxiFFsiQcA=
X-Google-Smtp-Source: ABdhPJzzK4WXe6u/RIm1kEXnVEU5y+lficAE3otqS037E3e4b5jh1p95oky8YFyAj6IUb9DivRa1mw==
X-Received: by 2002:ac2:4d8c:: with SMTP id g12mr108935lfe.619.1610381395219; 
 Mon, 11 Jan 2021 08:09:55 -0800 (PST)
Received: from [192.168.1.70] (109-252-80-63.nat.spd-mgts.ru. [109.252.80.63])
 by smtp.gmail.com with ESMTPSA id 2sm26817lff.188.2021.01.11.08.09.54
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 11 Jan 2021 08:09:54 -0800 (PST)
To: bug-gnu-emacs@HIDDEN
From: Platon Pronko <platon7pronko@HIDDEN>
Subject: 28.0.50; regression in commit c7c154bb, minibuffer is not closed
 after opening a file
Message-ID: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@HIDDEN>
Date: Mon, 11 Jan 2021 19:09:53 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2a00:1450:4864:20::136;
 envelope-from=platon7pronko@HIDDEN; helo=mail-lf1-x136.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Alan Mackenzie <acm@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

When I open a file using C-x C-f, minibuffer does not close after I finish typing the filename
- current window does not change at all, minibuffer stays open (as if Emacs "froze").
Pressing C-g or any other key unfreezes the window and file is displayed.

I bisected the problem to commit c7c154bb, "Fix incompleteness in the implementation of minibuffer-follows-selected-frame".

Problem is somehow related to the fact that I use dvorak input method.

The problem goes away if I comment out the section under "We've exited the recursive edit without an error" in minibuf.c.

Steps to reproduce:

1. init.el contents:

(define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil
   (if
     (not (string= " *Minibuf-0*" (buffer-name (current-buffer))))
     (if dvorak-minor-mode (activate-input-method "english-dvorak"))))
(define-global-minor-mode global-dvorak-mode dvorak-minor-mode dvorak-minor-mode)
(global-dvorak-mode t)

2. Start emacs with: ./src/emacs -Q --eval '(load-file "~/.emacs.d/init.el")'

3. Type C-x C-f, type in some text-file filename, press Return.

4. Observe no file being opened and "[DV@]" in minibuffer.



In GNU Emacs 28.0.50 (build 15, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.17.4)
  of 2021-01-11 built on the-big-maker
Repository revision: c7c154bb5756e0ae71d342c5d8aabf725877f186
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Arch Linux

Configured using:
  'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
  --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
  --with-sound=alsa --with-modules --without-gconf --without-gsettings
  --with-x-toolkit=gtk3 --without-xaw3d'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL
GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER LCMS2

Important settings:
   value of $LC_TIME: en_SE.UTF-8
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
   global-dvorak-mode: t
   dvorak-minor-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
   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 seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils quail help-mode
easymenu cl-loaddefs cl-lib easy-mmode 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 timer
select scroll-bar mouse jit-lock font-lock syntax facemenu 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 font-render-setting cairo move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 61568 4854)
  (symbols 48 7179 1)
  (strings 32 21381 1187)
  (string-bytes 1 655960)
  (vectors 16 13820)
  (vector-slots 8 173393 10673)
  (floats 8 22 45)
  (intervals 56 265 0)
  (buffers 984 13))




Acknowledgement sent to Platon Pronko <platon7pronko@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#45792; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 11 Jan 2021 16:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.