From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Platon Pronko Newsgroups: gmane.emacs.bugs Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Date: Mon, 11 Jan 2021 19:09:53 +0300 Message-ID: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39145"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Cc: Alan Mackenzie To: 45792@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 11 17:11:30 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 1kyzmz-000A2X-5X for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 17:11:29 +0100 Original-Received: from localhost ([::1]:60074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyzmy-0002M1-7t for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 11:11:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyzmY-0002Kb-9i for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 11:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyzmY-0003lG-0x for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 11:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyzmX-0004aU-RJ for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 11:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Platon Pronko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jan 2021 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45792 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.161038140317531 (code B ref -1); Mon, 11 Jan 2021 16:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jan 2021 16:10:03 +0000 Original-Received: from localhost ([127.0.0.1]:58070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyzlb-0004Yh-44 for submit@debbugs.gnu.org; Mon, 11 Jan 2021 11:10:03 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyzlZ-0004YE-3P for submit@debbugs.gnu.org; Mon, 11 Jan 2021 11:10:02 -0500 Original-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 ) id 1kyzlY-0001Gb-Te for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 11:10:00 -0500 Original-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 ) id 1kyzlV-0003Zt-W7 for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 11:10:00 -0500 Original-Received: by mail-lf1-x136.google.com with SMTP id o19so355074lfo.1 for ; 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) Original-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) Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=platon7pronko@gmail.com; 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-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:197725 Archived-At: 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))