From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file 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-GNU-PR-Keywords: To: 45792@debbugs.gnu.org Cc: Alan Mackenzie X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161038140317531 (code B ref -1); Mon, 11 Jan 2021 16:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jan 2021 16:10:03 +0000 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 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 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 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 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) 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) From: Platon Pronko Message-ID: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> 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@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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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)) From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 09:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Platon Pronko , 45792@debbugs.gnu.org Cc: Alan Mackenzie Received: via spool by 45792-submit@debbugs.gnu.org id=B45792.161044242916264 (code B ref 45792); Tue, 12 Jan 2021 09:08:01 +0000 Received: (at 45792) by debbugs.gnu.org; 12 Jan 2021 09:07:09 +0000 Received: from localhost ([127.0.0.1]:59253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzFdt-0004EF-9l for submit@debbugs.gnu.org; Tue, 12 Jan 2021 04:07:09 -0500 Received: from mout.gmx.net ([212.227.15.19]:51793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzFdq-0004DZ-Ff for 45792@debbugs.gnu.org; Tue, 12 Jan 2021 04:07:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610442418; bh=D9HjBivRT3qubTdBlrnFqgBm7e6OJdciXuCDLx0EYwM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=a9pLINhZljCdaW+tZNIacJMburWskqoeRZtnyX9AMclbD1Wp8qQ7pBoDP5gb1d6Pn HmDEQ0J/UhT5oxgh9DqNfAoBcA6K2ZiUVHqqkxkDYHWRhCm6kHdYdd9l8USqosyy/3 Wy5WPlUzoqHLBW5wJL0S1UAeE+PsHagcZQDKyywk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([46.125.249.21]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M1Ygz-1kxKlV0nYB-0031h1; Tue, 12 Jan 2021 10:06:58 +0100 References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> From: martin rudalics Message-ID: <0f37c263-a361-7360-666a-4c7054ecf329@gmx.at> Date: Tue, 12 Jan 2021 10:06:57 +0100 MIME-Version: 1.0 In-Reply-To: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:QO0uRlwSvTdnnTSkSv6AvApwaWanHsuJnQl3ia3agA/wT/CqPZq QmZtU77WtIM6/bQC941JTezdT0Y48aIU1J6twbAItUPpw+vebt4CrnSumYP3UprfHFtrZmt ZzcAbZs670uiJmD6/wSRq4PaG9mobPGGX7ToNE/+cPDoLjAJT6jSMgwydabPUXq8by/adOl 4RV8GYQNCWV4KP1fKK4Gw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Zs1WQLWudLg=:JccYJJ9YE2cqtjGo6oVCYl 98WMxSp5+Q467BP6ZbSmTcwJUe5/DzgLWD4cgBYJXOZchTffFu+2Q8JU59xhMhjwTjmkVGN0R vfKKRBpMJwWsMGBeoitqk7rsNk+JquNNP1ncb6xlLtjVKDFfUADaiYO7BKrzWafdn/uMc3fVl 2QlfCl8ZEjiZ3oiyop0KvwArb/Dl8aQeL/69TT9flJfQTgMM2nad0nO3XA6iPxXFOeET/t5kf 6kVvy+zYzZ5s2Hz5h83uldxUwkTwulejV5bZaBLSBqicsDBk6MNClFudAe3YqwNLxbxwhVx6V Nj8TJaHeEOBsZUXGlyfj9ya+ayL3VMA2m38h1TOhKnii4NTsfn/mQqX+9ln/vwDedg7B2JbNF 03vSBfYxIFcHNCgxJL8U/CGyVMsiKuQtN+Pa7tm609//FuCww3TY1F+kWzXPieGPK4SR/27mi GloMzHpzEJWTOllzYuT4trVgjLbAQcTmplf3hLBJ1AZ57S64qlyV4xxtXSDD9UqYgEyNcNEmp h0GsVUJVwZ7llcMw7SoOOM78jN1Ied6in3fdnDIpYhUak5jEFj1iHO6U5PU6zmYIi5YDD5FTn fmpYdnyC2gqcNySptpCySk3s5tERDgxQB0b5QRXWc5EnxusLgDLUsHv2tP950dFFgWrrykIIQ Damv/2zrY42yZuYhovf5PSTnuHys9dyp61E/M20m7W5nCVcYJJ9pyYEpTWZ3mWlcvW1iq3oK/ b5BcyRsqzC2rzZzhzDAucKldFPxmO2M4Wo6x130lbkYCXy/AGAlaJ5OEwezOBn7VbHsY34xHQ IOcXoVHRNpuy+hQagW8+WOJgweqIfeS7qnl/hP8xipT3KvN7TcFYXye3DEqPyABE/KwBoGc7T cra0EfUAlk+ndQtIT+zA== X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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")))) I understand that this may have worked for you over the past decades but it's not really clean. Why don't you just use "(minibufferp)" here? If the problem persists, we then can dig further. Thanks, martin From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Platon Pronko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 10:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics , 45792@debbugs.gnu.org Cc: Alan Mackenzie Received: via spool by 45792-submit@debbugs.gnu.org id=B45792.161044737225952 (code B ref 45792); Tue, 12 Jan 2021 10:30:01 +0000 Received: (at 45792) by debbugs.gnu.org; 12 Jan 2021 10:29:32 +0000 Received: from localhost ([127.0.0.1]:59385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzGvc-0006kV-Ex for submit@debbugs.gnu.org; Tue, 12 Jan 2021 05:29:32 -0500 Received: from mail-lf1-f41.google.com ([209.85.167.41]:42816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzGva-0006kD-JO for 45792@debbugs.gnu.org; Tue, 12 Jan 2021 05:29:31 -0500 Received: by mail-lf1-f41.google.com with SMTP id b26so2563568lff.9 for <45792@debbugs.gnu.org>; Tue, 12 Jan 2021 02:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=d/7TGKjnY0Lu+2yV2ou7hNGVgDA5eMrmePSJmQfMBF0=; b=Vh3NNOB0gA6VZ2g6dRPcuYJ+XzHGqOwxtGvOE8tTuJctSiSqQER7K8e+pE9OyHU27x u06fmGA+tyzCI0NsJqWdmpja8dNX1Bj3c2Dlyx3pxIAaB5QSJ2OjiNjTyZRixa7PZPkP hrm9Dq2bvilo4aMLE9VsH9JNNyJaNAtDbCErXUC9a0dATS7neVB7nMo3wWOpIyaJn5LC mvw3EtZlVcPv3ojE9AgF5dimvfy1LzRc3QpoIUBURV8okDCfmHXg4uxKioxjBbGQrB3E CHaC2x9oOZEZyzCtcQt8LxvFun1F13tTvrDt2awynnFktOaiF2CJrj+KDg/JnwEPL3jx Jtzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=d/7TGKjnY0Lu+2yV2ou7hNGVgDA5eMrmePSJmQfMBF0=; b=n0U1tihoY2fIHgX07/juwSbwJ2c6egB4OoIkg2HOn7Fbih4E1yaaUT39BX0i1U7S08 Fm1l0fHyYYgZF3yZKRajPAk8DKWrrqBPmqQ6oNildqxuajuv6u1gW99aPHSLpJHu61Ys F8Q+gkfYlsTajbhKADh/xVanhyVA41qL+/iVhe626tIBfKNvMDBDu8dhFuepax7fOA6Q 7lCyTfRyJpckqs2MC919vv2zOFFKF1ETLZnh+NJnajBRxi26/GHQDddFgUJHdTs53MGI DyNegXQOCynQFxQ4m4yRPmUVJIJZSxJtQ+ZsTykJycXxmK0wkljFT6cBBjLD9hmwd8X7 PCqg== X-Gm-Message-State: AOAM532qHX5KO/ttTNhiipZ/nG7gyQafxPCfgCsFNcgzBWqngnO0tolF PbX8S/Be7Rg4/ZZc74RqKjA= X-Google-Smtp-Source: ABdhPJx+r9Kd7fBIy3HbJ1tHNiiFYC4I/KPatgsV54iXTRXIXYQdzEuR5iV3Tq8TeR4qIJPUyq6JVg== X-Received: by 2002:a19:bd3:: with SMTP id 202mr1764566lfl.605.1610447364551; Tue, 12 Jan 2021 02:29:24 -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 b22sm337970lfp.233.2021.01.12.02.29.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jan 2021 02:29:23 -0800 (PST) References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> <0f37c263-a361-7360-666a-4c7054ecf329@gmx.at> From: Platon Pronko Message-ID: Date: Tue, 12 Jan 2021 13:29:23 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <0f37c263-a361-7360-666a-4c7054ecf329@gmx.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Yes, of course minibufferp is much cleaner - I just wasn't aware of its existence :) But the problem still persists if I refactor the code to use it. Here's the code I used: (define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil (if (and dvorak-minor-mode (not (minibufferp))) (activate-input-method "english-dvorak"))) (define-global-minor-mode global-dvorak-mode dvorak-minor-mode dvorak-minor-mode) (global-dvorak-mode t) Actually even removing (not (minibufferp)) altogether has no effect on the issue. Best regards, Platon Pronko From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 19:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Platon Pronko Cc: 45792@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161047803115629 (code B ref -1); Tue, 12 Jan 2021 19:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jan 2021 19:00:31 +0000 Received: from localhost ([127.0.0.1]:33142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzOu6-000440-DZ for submit@debbugs.gnu.org; Tue, 12 Jan 2021 14:00:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:46786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzOu3-00043s-E1 for submit@debbugs.gnu.org; Tue, 12 Jan 2021 14:00:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzOu1-00017N-Rb for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 14:00:26 -0500 Received: from colin.muc.de ([193.149.48.1]:38392 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1kzOtx-00073I-SP for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 14:00:25 -0500 Received: (qmail 38290 invoked by uid 3782); 12 Jan 2021 19:00:15 -0000 Received: from acm.muc.de (p4fe15df3.dip0.t-ipconnect.de [79.225.93.243]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 12 Jan 2021 20:00:14 +0100 Received: (qmail 11043 invoked by uid 1000); 12 Jan 2021 19:00:14 -0000 Date: Tue, 12 Jan 2021 19:00:14 +0000 Message-ID: References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Platon. Thanks for such a high quality bug report, and thanks for investigating it as far as you have done. On Mon, Jan 11, 2021 at 19:09:53 +0300, Platon Pronko wrote: > 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. It seems to be a redisplay problem. Emacs is doing everything to visit the new file _except_ the final redisplay action. Any keypress (or mouse action) triggers that missing redisplay. > I bisected the problem to commit c7c154bb, "Fix incompleteness in the > implementation of minibuffer-follows-selected-frame". OK. > Problem is somehow related to the fact that I use dvorak input method. I spent yesterday evening trying to narrow it down more. The define-global-minor-mode causes dvorak-minor-mode to get added to three hooks. Of these, either (most likely both of them, too) of change-major-mode-hook or after-change-major-mode-hook will cause the bug when dvorak-minor-mode is added to it. > The problem goes away if I comment out the section under "We've exited > the recursive edit without an error" in minibuf.c. I'm trying to work out, from my notes, exactly why I put that section of code in. I might well just take it out. But it would be good to understand the mechanism of the bug, first. > 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) As you've said yourself in another post, the testing for " *Minibuf-0*" doesn't seem to effect the bug. So, it would appear to be the adding of dvorak-minor-mode to these two hooks. (See above.) > 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. As already said, the file probably is being opened, it just isn't getting displayed. I'll be carrying on looking at this. > 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' [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jan 2021 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Platon Pronko Cc: acm@muc.de, 45792@debbugs.gnu.org, rudalics@gmx.at X-Debbugs-Original-Cc: acm@muc.de, bug-gnu-emacs@gnu.org, martin rudalics Received: via spool by submit@debbugs.gnu.org id=B.161081501530388 (code B ref -1); Sat, 16 Jan 2021 16:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2021 16:36:55 +0000 Received: from localhost ([127.0.0.1]:43887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0oZK-0007u4-Kd for submit@debbugs.gnu.org; Sat, 16 Jan 2021 11:36:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:32954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0oZJ-0007tw-6P for submit@debbugs.gnu.org; Sat, 16 Jan 2021 11:36:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0oZI-0002V1-Um for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2021 11:36:52 -0500 Received: from colin.muc.de ([193.149.48.1]:19057 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1l0oZE-0003JT-0t for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2021 11:36:52 -0500 Received: (qmail 81701 invoked by uid 3782); 16 Jan 2021 16:36:43 -0000 Received: from acm.muc.de (p2e5d58b4.dip0.t-ipconnect.de [46.93.88.180]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 16 Jan 2021 17:36:42 +0100 Received: (qmail 21015 invoked by uid 1000); 16 Jan 2021 16:36:42 -0000 Date: Sat, 16 Jan 2021 16:36:42 +0000 Message-ID: References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello again, Platon. On Mon, Jan 11, 2021 at 19:09:53 +0300, Platon Pronko wrote: > 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. What is happening is that Emacs is getting caught on a (sit-for 1000000) in quail-minibuffer-message. The good news is that it will respond eventually. The bad news is that 11½ days is a rather sluggish response time. > I bisected the problem to commit c7c154bb, "Fix incompleteness in the > implementation of minibuffer-follows-selected-frame". This commit has triggered the problem, which was there all along. It is not the cause of it. > Problem is somehow related to the fact that I use dvorak input method. More precisely, any input method which uses quail-activate to start itself. For testing, I actually switched to "german-postfix" in your recipe, so as to be able actually to use Emacs after applying it. ;-) > The problem goes away if I comment out the section under "We've exited > the recursive edit without an error" in minibuf.c. That may be so, but it is the trigger for an existing problem rather than being the problem itself. > 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")' Just as a matter of interest, you can write that more easily as ./src/emacs -Q -l ~/.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. What happens is that read-minibuffer does its thing, then a C function read_minibuf_unwind calls minibuffer-inactive-mode since the minibuffer is no longer live. This mode change calls (run-mode-hooks 'minibuffer-inactive-mode-hook), which as a side effect runs the hook after-change-major-mode-hook, onto which define-global-mode has put global-dvorak-mode-enable-in-buffers. g-d-m-e-i-b calls dvorak-minor-mode (for the expired minibuffer) which calls activate-input-method, ....., then quail-minibuffer-message. This last function is the one with the million second timeout. Clearly, changing mode to minibuffer-inactive-mode shouldn't trigger the input method mechanisms. I'm not sure at the moment how to stop this happening, so I can't as yet close the bug. > 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 [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Platon Pronko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jan 2021 07:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie Cc: rudalics@gmx.at, 45792@debbugs.gnu.org X-Debbugs-Original-Cc: martin rudalics , bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161086984326485 (code B ref -1); Sun, 17 Jan 2021 07:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2021 07:50:43 +0000 Received: from localhost ([127.0.0.1]:44508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l12pf-0006t7-FW for submit@debbugs.gnu.org; Sun, 17 Jan 2021 02:50:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:49612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l12pd-0006sz-H8 for submit@debbugs.gnu.org; Sun, 17 Jan 2021 02:50:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l12pb-0001Uq-Kb for bug-gnu-emacs@gnu.org; Sun, 17 Jan 2021 02:50:41 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:38689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l12pX-0007Nr-Fr for bug-gnu-emacs@gnu.org; Sun, 17 Jan 2021 02:50:38 -0500 Received: by mail-lf1-x131.google.com with SMTP id h205so19505760lfd.5 for ; Sat, 16 Jan 2021 23:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ryMgHagJ61WFa/wz0gGvTy1uWKWbAfRKbq1MuYrVe5o=; b=T2NRSTgm4M6inrzeBZ6oNFWYDTNoikeEXT79RZ812nhx4zejUI6ExylxamRaYIBjz4 2+JikFg/sIQxHizdyumtp/IcUujiqniOGSq1klGEsjiB9OFSHGK6kTFkKPe7AYQduBP9 MCK/4WOgVlieIuGmYAmwoi4N7VstE1DXL1SNWwWt5HD8ngZsrz+N48458K+GOC9smbFl QJWAHEp0xN189sBnISRZL/m2PUlJcYnHk58t05U0NL9O4PDeVmyqF7LjEyv+i4XHQS+a Xfzvxc0S6A2L5CAbhHvgKq/XgIGevVcPeHjx7WO5fWzFTkUYgDu4piJYuMMNBt2l8PG0 tVRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ryMgHagJ61WFa/wz0gGvTy1uWKWbAfRKbq1MuYrVe5o=; b=dL7XjvmzBudHODKtUniH4mwlSNd05ZYnzgj9FajMAqPn3iOK9PfztFoqeb3lz4G8E2 aMETJ9ZWbO1lMOM6E8HKcVWv0e4NSOM5H70Ger6bkP7nwAIxlden+VNg/GRxBZL+mltV mattuSP2PjeVl0j8lfV9JSw/BUJtiznH+LRo/d4u8z9hmDHuJjqHyjj0hatiGF9G3Y7g kXzx8e6V/Zhu8hBjACrkcgx4cYjD/U7sfgc9SB10f+lpbs1B8unY5TD/9IdjBr73fNAl D+xv2S/MQ0m2JWVATDeAlWfXL7WNrWcndycvQs2vu4HYFWXEAdX8w5v3II6aq0Hd7HZi tCgA== X-Gm-Message-State: AOAM5302daBADwb4wsNqv86Px2SIDYFCByZ20//BVBZoA5dhDVu/gqmn jiyYbHo6bRLkIpU4pcFdeD8= X-Google-Smtp-Source: ABdhPJwQQ/W4nWpC1DRFz3gd1VntutExjihgcaaUvepgvCOKgUsSt8JD6vE/9aOstWcXpIvqu4EAsA== X-Received: by 2002:a19:787:: with SMTP id 129mr8662949lfh.234.1610869833267; Sat, 16 Jan 2021 23:50:33 -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 i25sm1502813lfl.157.2021.01.16.23.50.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Jan 2021 23:50:32 -0800 (PST) References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> From: Platon Pronko Message-ID: Date: Sun, 17 Jan 2021 10:50:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: 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::131; envelope-from=platon7pronko@gmail.com; helo=mail-lf1-x131.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, NICE_REPLY_A=-0.039, 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.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi! I'm terribly sorry, apparently I wasted a lot of your time. I tested (minibufferp) refactoring again and it seems that when I did that for the previous email I messed something up. When I ran the code today the issue went away. Original reason for " *Minibuf-0*" test in dvorak-minor-mode was to stop emacs --daemon from hanging on startup. (now that you explained about quail-minibuffer-message and sit-for, I assume that's was the reason why that was happening) But the buffer that was triggering the current issue is called " *Minibuf-1*", so it passes the test and activate-input-method is called. I had no idea that activate-input-method was dangerous when called in global minor modes, but that's probably just the way it is. Again, terribly sorry for wasting your time on what turned out to be a configuration issue. > Just as a matter of interest, you can write that more easily as > ./src/emacs -Q -l ~/.emacs.d/init.el. Thanks, that's a useful shortcut! Best regards, Platon Pronko From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jan 2021 18:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Platon Pronko Cc: rudalics@gmx.at, 45792@debbugs.gnu.org X-Debbugs-Original-Cc: martin rudalics , bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16120317144754 (code B ref -1); Sat, 30 Jan 2021 18:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2021 18:35:14 +0000 Received: from localhost ([127.0.0.1]:55793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5v5W-0001Eb-4p for submit@debbugs.gnu.org; Sat, 30 Jan 2021 13:35:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:37020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5v5T-0001ES-0x for submit@debbugs.gnu.org; Sat, 30 Jan 2021 13:35:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5v5S-0006sk-QG for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 13:35:10 -0500 Received: from colin.muc.de ([193.149.48.1]:48763 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1l5v5Q-0003Kt-LX for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 13:35:10 -0500 Received: (qmail 58463 invoked by uid 3782); 30 Jan 2021 18:35:04 -0000 Received: from acm.muc.de (p2e5d54d6.dip0.t-ipconnect.de [46.93.84.214]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 30 Jan 2021 19:35:04 +0100 Received: (qmail 13038 invoked by uid 1000); 30 Jan 2021 18:35:03 -0000 Date: Sat, 30 Jan 2021 18:35:03 +0000 Message-ID: References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello again, Platon. Terribly sorry to take nearly two weeks to reply. Real life got in the way. On Sun, Jan 17, 2021 at 10:50:32 +0300, Platon Pronko wrote: > Hi! > I'm terribly sorry, apparently I wasted a lot of your time. No problem, but I don't think you did. There were real bugs connected with input methods, and I think your initial scenario highlighted one of these bugs. > I tested (minibufferp) refactoring again and it seems that when I > did that for the previous email I messed something up. When I ran the code today > the issue went away. It hasn't gone away for me. ;-) > Original reason for " *Minibuf-0*" test in dvorak-minor-mode was to > stop emacs --daemon from hanging on startup. (now that you explained about > quail-minibuffer-message and sit-for, I assume that's was the reason why that was happening) Possibly. > But the buffer that was triggering the current issue is called " *Minibuf-1*", so it > passes the test and activate-input-method is called. Yes. > I had no idea that activate-input-method was dangerous when called in > global minor modes, but that's probably just the way it is. I disagree. The fact that it is dangerous is a bug which needs fixing. The fix I have at the moment is not to call the (sit-for 1000000) when the current buffer is a minibuffer. To be honest, I don't understand quail.el very well, but I'm not sure there's anybody still on the development team who understands it any better. > Again, terribly sorry for wasting your time on what turned out to be > a configuration issue. No need to apologise - there were real bugs there. Thanks for the original report! > > Just as a matter of interest, you can write that more easily as > > ./src/emacs -Q -l ~/.emacs.d/init.el. > Thanks, that's a useful shortcut! :-) I'm hoping to commit a patch for the bug over the weekend, sometime. It's been a difficult bug to diagnose. > Best regards, > Platon Pronko -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Platon Pronko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2021 08:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie Cc: rudalics@gmx.at, 45792@debbugs.gnu.org X-Debbugs-Original-Cc: martin rudalics , bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16120832742197 (code B ref -1); Sun, 31 Jan 2021 08:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2021 08:54:34 +0000 Received: from localhost ([127.0.0.1]:56364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l68V7-0000ZN-3t for submit@debbugs.gnu.org; Sun, 31 Jan 2021 03:54:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:36714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l68V4-0000ZF-Tc for submit@debbugs.gnu.org; Sun, 31 Jan 2021 03:54:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l68V4-0001b9-Kj for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2021 03:54:30 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:37377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l68V3-0003AE-35 for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2021 03:54:30 -0500 Received: by mail-lf1-x131.google.com with SMTP id i187so18517797lfd.4 for ; Sun, 31 Jan 2021 00:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+m5JWOOsIKE0HorVtLaCTh1w54ZTl38Ii4GNULaXzl0=; b=JPNSKhbDehztcC49xCmIi+zpwZHRWVWEiBWT28Sl+to+RX7Hykjk0Z3sX+7kCiY6G/ r8rVvMck68jW3c+CPT+g0qSj2hhCFn5RaSXOz64nHHJrfsZV/IVNaZbhJAZZcecFnecO EGRjq9FDO3MH+cQasx/Q1SQixR2Nu7LjCC+hipvsfZR/d0ZFt4wrDrhC+Tax5/hEgu2+ fZL6cMuePEdu9uaPPuv/TpreJrt2AU3gwdvsSjg1YsRojnZFatdV1s5cnpV4/79R/3/F CcXVzlBlDeA0uupO9Hv7GWyajhdOzSK9H/sQSa7EEz+5t1K7CW0WUeTfxbeEWAp9tUtB GGng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+m5JWOOsIKE0HorVtLaCTh1w54ZTl38Ii4GNULaXzl0=; b=eZ8+3KCP/Hf09Tkk14tPFIz/ByPKTKyKhpWPCdBBZgMa5uy6DgPW8/YzfbMHgzbOnG cjjWrCUS7xuOXSbG1wn5b7My131Hc0Sg34CvhYjM46ib4tfydsLx/SsNfUViZMKyG+wF QnolMQb2FStpsQ4wCAYCc/gZnnWzl5FC4ZCUdPzon14mZhcskWeF6PSBiE9QKq4kXvw7 AkFRLiSQJsFzXtaXDrIvEwOiFKPmdVZ3IT/LV6LpyKVD+sgqZidGcb1hjwpg4TXMqYZC ghl3SuFAXqnki13DcuJScSDkSm1WzygtcdNBEKhtvNcJfgcoBMFN3YPqTNgB62j04PJG 5JeQ== X-Gm-Message-State: AOAM531jdnB15sQ65tNExEkZjVz14knZYzzqMKG0CVMdvcgYw6kb9DRa kl8wom5NbvsLAZsgl28bGpY= X-Google-Smtp-Source: ABdhPJwNyOE1iIHi9rr4nfR1wkfYrhQfcwxGjSZRgl2/u8kZtSuOSORysGUnoXJrdRzwTYcK4OFZOg== X-Received: by 2002:ac2:5922:: with SMTP id v2mr6275480lfi.394.1612083266562; Sun, 31 Jan 2021 00:54:26 -0800 (PST) Received: from [192.168.1.70] ([109.252.80.249]) by smtp.gmail.com with ESMTPSA id r1sm585582ljj.49.2021.01.31.00.54.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Jan 2021 00:54:25 -0800 (PST) References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> From: Platon Pronko Message-ID: Date: Sun, 31 Jan 2021 11:54:24 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: 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::131; envelope-from=platon7pronko@gmail.com; helo=mail-lf1-x131.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, NICE_REPLY_A=-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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi! > No problem, but I don't think you did. There were real bugs connected > with input methods, and I think your initial scenario highlighted one of > these bugs. I'm glad to hear that! > It hasn't gone away for me. This is quite strange. (minibufferp) guard was supposed to avoid running any code whatsoever on minibuffer, so there shouldn't be any calls to activate-input-method and associated bugs shouldn't be triggered. Here's the code I'm talking about, just in case: (define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil (if (and dvorak-minor-mode (not (minibufferp))) (activate-input-method "english-dvorak"))) (define-global-minor-mode global-dvorak-mode dvorak-minor-mode dvorak-minor-mode) (global-dvorak-mode t) Best regards, Platon Pronko From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2021 11:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Platon Pronko Cc: martin rudalics , 45792@debbugs.gnu.org Received: via spool by 45792-submit@debbugs.gnu.org id=B45792.161209387319980 (code B ref 45792); Sun, 31 Jan 2021 11:52:02 +0000 Received: (at 45792) by debbugs.gnu.org; 31 Jan 2021 11:51:13 +0000 Received: from localhost ([127.0.0.1]:56507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6BG3-0005CA-N5 for submit@debbugs.gnu.org; Sun, 31 Jan 2021 06:51:13 -0500 Received: from colin.muc.de ([193.149.48.1]:20475 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1l6BFx-0005Ba-El for 45792@debbugs.gnu.org; Sun, 31 Jan 2021 06:51:09 -0500 Received: (qmail 68557 invoked by uid 3782); 31 Jan 2021 11:50:57 -0000 Received: from acm.muc.de (p2e5d5e05.dip0.t-ipconnect.de [46.93.94.5]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 31 Jan 2021 12:50:57 +0100 Received: (qmail 11341 invoked by uid 1000); 31 Jan 2021 11:50:57 -0000 Date: Sun, 31 Jan 2021 11:50:57 +0000 Message-ID: References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Platon. On Sun, Jan 31, 2021 at 11:54:24 +0300, Platon Pronko wrote: > Hi! > > No problem, but I don't think you did. There were real bugs connected > > with input methods, and I think your initial scenario highlighted one of > > these bugs. > I'm glad to hear that! > > It hasn't gone away for me. > This is quite strange. (minibufferp) guard was supposed to avoid running > any code whatsoever on minibuffer, so there shouldn't be any calls > to activate-input-method and associated bugs shouldn't be triggered. > Here's the code I'm talking about, just in case: > (define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil > (if (and dvorak-minor-mode (not (minibufferp))) > (activate-input-method "english-dvorak"))) > (define-global-minor-mode global-dvorak-mode dvorak-minor-mode dvorak-minor-mode) > (global-dvorak-mode t) Apologies, I'd not paid enough attention to your test code. With the (minibufferp) check, the bug indeed doesn't show itself. However, I think users ought to be able to use input methods in minibuffers too. What was triggering the bug without the (minibufferp) check was the minibuffer's transition from fundamental-mode to minibuffer-inactive-mode. A change in major mode triggers a call to global minor modes. Here, the activate-input-method causes "guidance" to be displayed on the mode line and an infinite wait to start. This is normally OK, because the user's command has just been completed, but this isn't the case when a minibuffer has just been used. So I've committed a patch which suppresses the display of "guidance" in an expired minibuffer. The aim is that you can omit the (minibufferp) check from your code if you want, and have the input method working in minibuffers. Could you please try out the new code, and let me know whether it's working properly, or what's still not quite right. Then I can either close the bug or start fixing it again. Thanks! > Best regards, > Platon Pronko -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Platon Pronko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2021 12:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie Cc: martin rudalics , 45792@debbugs.gnu.org Received: via spool by 45792-submit@debbugs.gnu.org id=B45792.161209508021807 (code B ref 45792); Sun, 31 Jan 2021 12:12:02 +0000 Received: (at 45792) by debbugs.gnu.org; 31 Jan 2021 12:11:20 +0000 Received: from localhost ([127.0.0.1]:56518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6BZY-0005ff-Em for submit@debbugs.gnu.org; Sun, 31 Jan 2021 07:11:20 -0500 Received: from mail-lj1-f175.google.com ([209.85.208.175]:36217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6BZW-0005fR-Qo for 45792@debbugs.gnu.org; Sun, 31 Jan 2021 07:11:20 -0500 Received: by mail-lj1-f175.google.com with SMTP id l12so16017589ljc.3 for <45792@debbugs.gnu.org>; Sun, 31 Jan 2021 04:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=L/PcU67KY1TNEGVXYruEnHG5CBk1P/TtsBKyycJ7Yto=; b=bUbzTRAUpTCrjnba0D8WuWMN6aWrBH+fcsQqtFGxudMkRF4DK2Xi2CJGCtqEGv954G VgmszXTyR15tU/HqsOzRaTwIiDFuP9576QuIJlzYJvNJkjnbdvdI+Aox0PI/tOSMG/6T XctkfVY9Zzp2uIl4s4eVRMprHtIUbFa3DMYmgBPMaXRu3ycYbSZuWRC0frxMgQLnfsfK kkoHQK9gsm+aWRHHpUhzRP443oFiGzn4mV1qjRXVcK5ACjJveBEjMvC9SGfKEp0TOuWQ VzaEDRiyD8qSG0JFqj5BIxTMHgre70uz6J0IIdNhfC4wlXFG2F0o/y6Lin4VVdeBGwLI boIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=L/PcU67KY1TNEGVXYruEnHG5CBk1P/TtsBKyycJ7Yto=; b=r1oNf76crUMnRSCltTKqqBXeF42wXE5Wn93WKb5Sc6IC7K+x+ML9FdOuQCT6QRP9HL wbEYZsZ2k5HDiGKUhOTw5CdhTRXfqAcrdKl9msDtcEwkPPIWOjY39c3nf/wBTj0GLk00 helI2CxyIpJ6Ujc0TCP2hEIgbskyd6wDxZvkoxFf2eT3gLk8RMpcisEs8FxDb0UgyFTU hQKqj1Q8v4Y3H0B9zbUJsra2oUWUT8v9sNUufn53hcBWKBheYrtias0YiRknWyWhne8N 4ONdStiutXmJg1qd/DMP+dJU23boXxl96fPV86BD0Y1BnpwNB3apWpXP2IM08H8orXo3 zflQ== X-Gm-Message-State: AOAM533CU1K/CtV/zhZ0HZ8iH8dNjkJCFhVDeb42YtErrDR6nu8HVCfC 2dU/gcfoCVJtUHDBJyuo5Zo= X-Google-Smtp-Source: ABdhPJxF9koZ9qEkOhaxPRWyAPuGk0UlEu0walV5dP1KV1eE5l8fXYPbA84keFFKU2TyjgRvf9Kzgw== X-Received: by 2002:a2e:854d:: with SMTP id u13mr7043205ljj.439.1612095072871; Sun, 31 Jan 2021 04:11:12 -0800 (PST) Received: from [192.168.1.70] (109-252-80-249.nat.spd-mgts.ru. [109.252.80.249]) by smtp.gmail.com with ESMTPSA id d23sm3374826ljo.17.2021.01.31.04.11.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Jan 2021 04:11:12 -0800 (PST) References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> From: Platon Pronko Message-ID: <81a72c8d-b92c-2eea-5ef3-ec4988634095@gmail.com> Date: Sun, 31 Jan 2021 15:11:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) Hi! Tested the commit, the issue is gone - both with and without (not (minibufferp)). However I noticed that (minibufferp) can return nil when it is called on *Minibuf-1* (I noticed this when suddenly dvorak was enabled in minibuffer even though (not (minibufferp)) guard was still in the code). Here's some debug code I used to check minibufferp return: (define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil (message (format "%s %s" (buffer-name (current-buffer)) (minibufferp))) (if (and dvorak-minor-mode (not (minibufferp))) (activate-input-method "english-dvorak"))) (define-global-minor-mode global-dvorak-mode dvorak-minor-mode dvorak-minor-mode) (global-dvorak-mode t) And here's sample output in the *Message* buffer: For information about GNU Emacs and the GNU system, type C-h C-a. *scratch* nil Loading quail/latin-post...done *Minibuf-0* t *Messages* nil *Echo Area 0* nil *Echo Area 1* nil *load* nil *Minibuf-1* nil <<-- here it thinks that Minibuf-1 is not a minibuffer *Minibuf-0* t Is this supposed to happen? Best regards, Platon Pronko From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2021 17:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Platon Pronko Cc: martin rudalics , 45792@debbugs.gnu.org Received: via spool by 45792-submit@debbugs.gnu.org id=B45792.16121125121284 (code B ref 45792); Sun, 31 Jan 2021 17:02:01 +0000 Received: (at 45792) by debbugs.gnu.org; 31 Jan 2021 17:01:52 +0000 Received: from localhost ([127.0.0.1]:57859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6G6h-0000Kd-NP for submit@debbugs.gnu.org; Sun, 31 Jan 2021 12:01:51 -0500 Received: from colin.muc.de ([193.149.48.1]:28657 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1l6G6e-0000KO-9X for 45792@debbugs.gnu.org; Sun, 31 Jan 2021 12:01:50 -0500 Received: (qmail 3724 invoked by uid 3782); 31 Jan 2021 17:01:41 -0000 Received: from acm.muc.de (p2e5d5e05.dip0.t-ipconnect.de [46.93.94.5]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 31 Jan 2021 18:01:41 +0100 Received: (qmail 14566 invoked by uid 1000); 31 Jan 2021 17:01:40 -0000 Date: Sun, 31 Jan 2021 17:01:40 +0000 Message-ID: References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> <81a72c8d-b92c-2eea-5ef3-ec4988634095@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81a72c8d-b92c-2eea-5ef3-ec4988634095@gmail.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Platon. On Sun, Jan 31, 2021 at 15:11:11 +0300, Platon Pronko wrote: > Hi! > Tested the commit, the issue is gone - both with and without (not > (minibufferp)). Thanks! I'll mark the bug as closed, just as soon as your other observation has been dealt with. > However I noticed that (minibufferp) can return nil when it is called > on *Minibuf-1* (I noticed this when suddenly dvorak was enabled in > minibuffer even though (not (minibufferp)) guard was still in the > code). > Here's some debug code I used to check minibufferp return: > (define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil > (message (format "%s %s" (buffer-name (current-buffer)) (minibufferp))) > (if (and dvorak-minor-mode (not (minibufferp))) > (activate-input-method "english-dvorak"))) > (define-global-minor-mode global-dvorak-mode dvorak-minor-mode dvorak-minor-mode) > (global-dvorak-mode t) > And here's sample output in the *Message* buffer: > For information about GNU Emacs and the GNU system, type C-h C-a. > *scratch* nil > Loading quail/latin-post...done > *Minibuf-0* t > *Messages* nil > *Echo Area 0* nil > *Echo Area 1* nil > *load* nil > *Minibuf-1* nil <<-- here it thinks that Minibuf-1 is not a minibuffer > *Minibuf-0* t > Is this supposed to happen? No, it is most definitely not, and well done for spotting it. It's taken me most of the afternoon to fix it, and I still don't understand fully what's causing it. But, basically, the minibuffers are kept on a Lisp list, one minibuffer per recursive depth. They are nconc'd onto the end of the list as they are created, and minibufferp works by seeing if the buffer is a member of this list. Before my fix, the major mode of the newly created minibuffer was getting set before it was in its place on the list. I presume something in this major mode setting was trying to get a minibuffer, for some reason, when the minibuffer list was not in a consistent state. I've changed the order of these operations, so that the new minibuffer is firmly in the list before its mode gets set. The problem appears to have been fixed. Give me half an hour (or so), and I will have committed this fix to the Emacs repository master branch. Again, thanks for spotting such an obscure bug. > Best regards, > Platon Pronko -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Jun 14 19:03:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Resent-From: Platon Pronko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2021 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie Cc: martin rudalics , 45792@debbugs.gnu.org Received: via spool by 45792-submit@debbugs.gnu.org id=B45792.161212187415876 (code B ref 45792); Sun, 31 Jan 2021 19:38:02 +0000 Received: (at 45792) by debbugs.gnu.org; 31 Jan 2021 19:37:54 +0000 Received: from localhost ([127.0.0.1]:58069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6IXi-000480-A1 for submit@debbugs.gnu.org; Sun, 31 Jan 2021 14:37:54 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:38193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6IXf-00047l-CP for 45792@debbugs.gnu.org; Sun, 31 Jan 2021 14:37:53 -0500 Received: by mail-lf1-f46.google.com with SMTP id m22so19855362lfg.5 for <45792@debbugs.gnu.org>; Sun, 31 Jan 2021 11:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mOgIzpAnbWFCxVgoLSqqzlQUrrihADwJsCRZddDo424=; b=ctEcaMER2hASS2SvHKWRqXxU1T0spUROVQxGXviwxU2DjwnkygdCSiboxoV5kvNJOw 3wn1mj+bTCqQ6Ne1I0TZHLcZGUGCcKY7QcHv56wwwGznh7pIEEJG7c2DJ0Ty4c4s0n/Q 1nM8NHAtKTh14GOFaBt7i0wRPiwrQurrWiUVpPSs8tf6xovhmM27YcUORFitlsABu3PS sW9j6ZkQ7NB5aoBjcewC2fx9aRE4p9M0ScU5t2AcXTE820SzvfzR9dEzVqKKc+VJe+Vm SneugEUtuYIxZZRXsxbJLlafxCLgy/wlNOaooz9PKbxsrFlMbxeJV/gHf5TNfGLpiIAH dKBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mOgIzpAnbWFCxVgoLSqqzlQUrrihADwJsCRZddDo424=; b=h0A6qsJruRBihb1J8mknfG6HOY84fsGuSk3jfF/Gcfck8pShZTISDZzrWTG05azrUm 2UsYFs8iQ6l6tUKKjSbe2wmHExRD5aVseRb3UoXWG28TGAX64JEDodGcc9EL5jNYPWzB HyQUFeIbjnCG5E9BNiExPrs86slzMGOglp3BQ9o4yCR0LpWobLi4F1CO+wNtikxLF5Up 3sLbAFXQlHDDg+K+QIOGVxS4PDAI829P/ql9dViK/OxMcIqVnI4VJzCepHfzO4P9Linm fHaaztTjUN1XivljT5hWhdbCHIvfZVAYpSJt6/0y3tw7824xXTxaIL+lsWxyAcqVMuhM h+pw== X-Gm-Message-State: AOAM5330uerrZQ52RTEQmVKObzbNwfYVaBZDjxmlNri3LosWD2qswNzv cjExBQhHUhQBYCfywXh1TKI= X-Google-Smtp-Source: ABdhPJwMnX5DkKR8IBeqcFJaHRnhQgxcwPNhz6vzpmmhniN5Vy+Dzw7ByJtlvVP1vMCWK2jmbsR/Dw== X-Received: by 2002:a19:6555:: with SMTP id c21mr7006660lfj.563.1612121865298; Sun, 31 Jan 2021 11:37:45 -0800 (PST) Received: from [192.168.1.70] (109-252-80-249.nat.spd-mgts.ru. [109.252.80.249]) by smtp.gmail.com with ESMTPSA id f25sm3342665ljj.72.2021.01.31.11.37.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Jan 2021 11:37:44 -0800 (PST) References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> <81a72c8d-b92c-2eea-5ef3-ec4988634095@gmail.com> From: Platon Pronko Message-ID: <82a49fc2-2e5a-4af6-a7cd-d47f93717a8d@gmail.com> Date: Sun, 31 Jan 2021 22:37:44 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) Hi Alan! Tested your fix, can confirm that (minibufferp) now works as expected. Best regards, Platon Pronko From unknown Sat Jun 14 19:03:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Platon Pronko Subject: bug#45792: closed (Re: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file) Message-ID: References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> X-Gnu-PR-Message: they-closed 45792 X-Gnu-PR-Package: emacs Reply-To: 45792@debbugs.gnu.org Date: Sun, 31 Jan 2021 20:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1612123622-18588-1" This is a multi-part message in MIME format... ------------=_1612123622-18588-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed af= ter opening a file which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45792@debbugs.gnu.org. --=20 45792: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45792 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1612123622-18588-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45792-done) by debbugs.gnu.org; 31 Jan 2021 20:06:58 +0000 Received: from localhost ([127.0.0.1]:58106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Izq-0004pZ-Fp for submit@debbugs.gnu.org; Sun, 31 Jan 2021 15:06:58 -0500 Received: from colin.muc.de ([193.149.48.1]:33589 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1l6Izo-0004pL-QE for 45792-done@debbugs.gnu.org; Sun, 31 Jan 2021 15:06:57 -0500 Received: (qmail 28744 invoked by uid 3782); 31 Jan 2021 20:06:49 -0000 Received: from acm.muc.de (p2e5d5e05.dip0.t-ipconnect.de [46.93.94.5]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 31 Jan 2021 21:06:49 +0100 Received: (qmail 16071 invoked by uid 1000); 31 Jan 2021 20:06:49 -0000 Date: Sun, 31 Jan 2021 20:06:49 +0000 To: Platon Pronko Subject: Re: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Message-ID: References: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> <81a72c8d-b92c-2eea-5ef3-ec4988634095@gmail.com> <82a49fc2-2e5a-4af6-a7cd-d47f93717a8d@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <82a49fc2-2e5a-4af6-a7cd-d47f93717a8d@gmail.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45792-done Cc: martin rudalics , 45792-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Platon. On Sun, Jan 31, 2021 at 22:37:44 +0300, Platon Pronko wrote: > Hi Alan! > Tested your fix, can confirm that (minibufferp) now works as expected. Many thanks. I'm closing the bug with this post. > Best regards, > Platon Pronko -- Alan Mackenzie (Nuremberg, Germany). ------------=_1612123622-18588-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Jan 2021 16:10:03 +0000 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 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 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 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 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) 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@gnu.org From: Platon Pronko Subject: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file Message-ID: <75aca8c3-6c8f-2a66-399e-7116d99c91d3@gmail.com> 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@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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Alan Mackenzie X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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)) ------------=_1612123622-18588-1--