From unknown Mon Aug 11 21:13:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25062 <25062@debbugs.gnu.org> To: bug#25062 <25062@debbugs.gnu.org> Subject: Status: 24.5; Frame title (with "%b" format) changes when going to minibuffer Reply-To: bug#25062 <25062@debbugs.gnu.org> Date: Tue, 12 Aug 2025 04:13:34 +0000 retitle 25062 24.5; Frame title (with "%b" format) changes when going to mi= nibuffer reassign 25062 emacs submitter 25062 Jonathan Marten severity 25062 minor tag 25062 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 29 10:55:50 2016 Received: (at submit) by debbugs.gnu.org; 29 Nov 2016 15:55:50 +0000 Received: from localhost ([127.0.0.1]:46293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBkl4-0007QR-37 for submit@debbugs.gnu.org; Tue, 29 Nov 2016 10:55:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBkl1-0007QD-QU for submit@debbugs.gnu.org; Tue, 29 Nov 2016 10:55:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBkkv-0008Gb-18 for submit@debbugs.gnu.org; Tue, 29 Nov 2016 10:55:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBkku-0008GX-R4 for submit@debbugs.gnu.org; Tue, 29 Nov 2016 10:55:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBkkt-0006ho-4Z for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 10:55:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBkko-0008FW-2R for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 10:55:39 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:62030) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBkkn-0008F0-Oh for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 10:55:33 -0500 Received: from keelhaul.localnet ([81.158.216.180]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.163]) with ESMTPSA (Nemesis) id 0MWKgT-1cDjre1K4v-00XO5h for ; Tue, 29 Nov 2016 16:55:31 +0100 From: Jonathan Marten To: bug-gnu-emacs@gnu.org Subject: 24.5; Frame title (with "%b" format) changes when going to minibuffer Date: Tue, 29 Nov 2016 15:55:30 +0000 Message-ID: <6551952.t1DPFT6gTp@keelhaul> Organization: JJM @ Home User-Agent: KMail/4.14.10 (Linux/4.4.26-gentoo; KDE/4.14.14; x86_64; git-721a351; 2016-05-06) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:1Nu7cvNl2sc/xp/gwOvItHPDsCAKvoi2dNjz5XchuibRele/ZLp t3I+aJxljEIWIKNx4z050RQbqqFwYs9AZcMQ86DIxPOBD6JPh69PNHS0CtTCSa3X6608aQv E80zxUjrFtHaDSpBquO+ijg3KICGyvc+b+t1PxZs+Mf5FfgnWvlg56VgDGa4gDrbMZVFGGb I0SlVWqketzwDUek8wp8Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:xKyihv6zIUs=:R9XpsdQHt7n+G8q5SP2RWl TsXHRPYllW4hLLRBMWrk89AhBu9k2qxjxlRS+u/lVzz4R74gusKjuG330foZZYX1lwFMqDxG1 kTEgdaa0r2fIiuCB6si0Og4lrav+dSR45y/5jkuCGe/QDhXuE1Oh9AQ3aHUV44UvpaNXDSrf1 m8oPcwPhyAdZrKNy/FFbS6UNhnUDFhOBcUNM9yLDJfSwdDJcYjCn/BVgKPIRTgy2NEOrVIpY0 /LKQ6PNRLwhZLiThmw0ZPn3AHeawqRqa32nJ1CLZT5gx34bdRCjc4JhMhOBBMBToEGMZRyCmP hGEaPw0Uw3ttTmYQ1cDPuq2RZCapzYUpCA/NCEH1AizVjyAXdD1JqiAnfc/rn16Re/u9nTs7N we9h6eIV0M3jSx9Kx4pCUzOyRAZT1VIM13UYaM/2ZWtzYQWXauQAaQOGdVJAnT8WyOVsCzv1P Xh1UMbjTRh5u7YyjOzvs1aS0DKyCeU7qrwisLhmCImiljWvKbcYCgHJdZ5W+pMx+yl6yyyswc jwWc3qRiijaWC/w6LibDQV9lFE2gNLAHsSt4I1Pve6dAFEsjvou5jFc/5FaZ5gKEoIecszAPo LY+9YqEkoHKv0xQE0mFEOJ4PcoLbElthSjLJvHNHjs67qbLaDMqKJY4HoKDfINkStXflNUA9x wYgZ4xtpXiZsIbvqlLiIh0IQ4WbliyL6w1cMwMnu+kBijHehvaHllXRUzGkhDUPS8iyLXn7hs TBkTyB7R10ElI1+Q X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) When using the "%b" substitution in frame-title-format (the default value includes this when there are multiple frames), the user would expect the name of the buffer that they are editing to be shown. This happens, but when going to the minibuffer for any sort of prompt the title changes to the buffer name of the minibuffer - "*Minibuf-0*" or similar. This may be what is happening internally, but it is an implementation detail which does not need to be revealed. The user might wonder why the window title is changing just because they are being prompted for some information. Applying the following patch corrects this. If the selected window is a minibuffer window, it evaluates the format string in the buffer of the minibuffer-selected-window instead of the buffer of the minibuffer. With this patch, the frame title stays the same as before when being prompted in the minibuffer. --- emacs-24.5/src/xdisp.c.orig 2015-04-02 08:23:06.000000000 +0100 +++ emacs-24.5/src/xdisp.c 2016-11-22 11:29:13.978385207 +0000 @@ -11612,6 +11612,7 @@ { /* Do we have more than one visible frame on this X display? */ Lisp_Object tail, other_frame, fmt; + Lisp_Object this_window; ptrdiff_t title_start; char *title; ptrdiff_t len; @@ -11640,9 +11641,17 @@ format_mode_line_unwind_data (f, current_buffer, selected_window, 0)); - Fselect_window (f->selected_window, Qt); + this_window = f->selected_window; + if ( MINI_WINDOW_P (XWINDOW (this_window))) + { + Lisp_Object original_window = Fminibuffer_selected_window (); + if (!NILP (original_window)) + this_window = original_window; + } + Fselect_window (this_window, Qt); + set_buffer_internal_1 - (XBUFFER (XWINDOW (f->selected_window)->contents)); + (XBUFFER (XWINDOW (this_window)->contents)); fmt = FRAME_ICONIFIED_P (f) ? Vicon_title_format : Vframe_title_format; mode_line_target = MODE_LINE_TITLE; In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.31) of 2016-11-22 on keelhaul Windowing system distributor `The X.Org Foundation', version 11.0.11804000 Configured using: `configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/emacs-24.5-r3 --htmldir=/usr/share/doc/emacs-24.5-r3/html --libdir=/usr/lib64 --program-suffix=-emacs-24 --infodir=/usr/share/info/emacs-24 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=:gamestat --without-compress-install --with-file-notification=inotify --enable-acl --without-dbus --without-gpm --without-hesiod --without-kerberos --without-kerberos5 --with-xml2 --without-selinux --with-gnutls --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --with-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --with-imagemagick --with-xft --without-libotf --without-m17n-flt --with-x-toolkit=gtk2 GENTOO_PACKAGE=app-editors/emacs-24.5-r3 'CFLAGS=-O2 -march=native -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Important settings: value of $EMACSLOADPATH: /usr/local/lib/xemacs/local: value of $LC_COLLATE: C value of $LC_MONETARY: en_GB.UTF-8 value of $LC_TIME: C value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: asi-indent-mode: tooltip-mode: t mouse-wheel-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 transient-mark-mode: t Recent messages: byte-code: End of buffer [2 times] byte-code: Beginning of buffer [2 times] Saving /home/jjm/.newsrc... Saving file /home/jjm/.newsrc... Wrote /home/jjm/.newsrc Saving /home/jjm/.newsrc...done Saving /home/jjm/.newsrc.eld... Saving file /home/jjm/.newsrc.eld... Wrote /home/jjm/.newsrc.eld Saving /home/jjm/.newsrc.eld...done End of buffer [2 times] Load-path shadows: /usr/local/lib/xemacs/local/site-start hides /etc/emacs/site-start Features: (shadow sort mail-extr warnings emacsbug sendmail gnus-topic utf-7 nndraft nnmh nnimap parse-time utf7 nnfolder gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig gnus-cache gnus-sum netrc gnutls network-stream starttls tls nntp gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit pp server sunkbd redo+ paren browse-url paren-xe blink-paren buffer-frame frame-select auto-set-indent sourcepair url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap compile comint ansi-color ring sgml-mode psgml easymenu datetrack edj site-gentoo gnu-compat advice help-fns time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process inotify dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 173555 13977) (symbols 48 28250 0) (miscs 40 110 146) (strings 32 39827 6642) (string-bytes 1 1298501) (vectors 16 20550) (vector-slots 8 511832 8105) (floats 8 233 332) (intervals 56 295 0) (buffers 960 19) (heap 1024 40082 5871)) From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 29 12:38:03 2016 Received: (at 25062) by debbugs.gnu.org; 29 Nov 2016 17:38:03 +0000 Received: from localhost ([127.0.0.1]:46370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBmLz-0003D8-9h for submit@debbugs.gnu.org; Tue, 29 Nov 2016 12:38:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBmLx-0003Ce-Gs for 25062@debbugs.gnu.org; Tue, 29 Nov 2016 12:38:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBmLn-0008Js-Fs for 25062@debbugs.gnu.org; Tue, 29 Nov 2016 12:37:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBmLn-0008Jo-CQ; Tue, 29 Nov 2016 12:37:51 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1053 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1cBmLm-0006JA-FD; Tue, 29 Nov 2016 12:37:51 -0500 Date: Tue, 29 Nov 2016 19:37:52 +0200 Message-Id: <83mvgixk3z.fsf@gnu.org> From: Eli Zaretskii To: Jonathan Marten In-reply-to: <6551952.t1DPFT6gTp@keelhaul> (message from Jonathan Marten on Tue, 29 Nov 2016 15:55:30 +0000) Subject: Re: bug#25062: 24.5; Frame title (with "%b" format) changes when going to minibuffer References: <6551952.t1DPFT6gTp@keelhaul> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: 25062 Cc: 25062@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > From: Jonathan Marten > Date: Tue, 29 Nov 2016 15:55:30 +0000 > > When using the "%b" substitution in frame-title-format (the default > value includes this when there are multiple frames), the user would > expect the name of the buffer that they are editing to be shown. This > happens, but when going to the minibuffer for any sort of prompt the > title changes to the buffer name of the minibuffer - "*Minibuf-0*" or > similar. This may be what is happening internally, but it is an > implementation detail which does not need to be revealed. The user > might wonder why the window title is changing just because they are > being prompted for some information. I actually use this feature all the time: it helps me to find the frame which is waiting for some input. So I don't think we should change that. Can't you achieve what you want by using some 'eval' form in frame-title-format? > Applying the following patch corrects this. If the selected window is a > minibuffer window, it evaluates the format string in the buffer of the > minibuffer-selected-window instead of the buffer of the minibuffer. With this > patch, the frame title stays the same as before when being prompted in the > minibuffer. Sorry, I don't think it's right to change that for everyone. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 29 13:09:46 2016 Received: (at 25062) by debbugs.gnu.org; 29 Nov 2016 18:09:46 +0000 Received: from localhost ([127.0.0.1]:46395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBmqg-0003xH-Ir for submit@debbugs.gnu.org; Tue, 29 Nov 2016 13:09:46 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:20242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBmqf-0003x4-6n for 25062@debbugs.gnu.org; Tue, 29 Nov 2016 13:09:45 -0500 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uATI9cKL001112 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Nov 2016 18:09:38 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id uATI9bPj016788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Nov 2016 18:09:38 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id uATI9ak7010746; Tue, 29 Nov 2016 18:09:36 GMT MIME-Version: 1.0 Message-ID: <0ea33e01-66dd-4d40-895c-77851b070f62@default> Date: Tue, 29 Nov 2016 10:09:35 -0800 (PST) From: Drew Adams To: Eli Zaretskii , Jonathan Marten Subject: RE: bug#25062: 24.5; Frame title (with "%b" format) changes when going to minibuffer References: <<6551952.t1DPFT6gTp@keelhaul>> <<83mvgixk3z.fsf@gnu.org>> In-Reply-To: <<83mvgixk3z.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 25062 Cc: 25062@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: -5.2 (-----) >> it is an implementation detail which does not need to be revealed. No. It is an indication to the user (1) that Emacs is asking for minibuffer input and (2) which frame has the focus. >> The user might wonder why the window title is changing And wondering might lead to understanding why. (See above.) >> just because they are being prompted for some information. The current buffer and the input focus have changed. > I actually use this feature all the time: it helps me to find the > frame which is waiting for some input. So I don't think we should > change that.... Sorry, I don't think it's right to change that for=20 > everyone. I was going to say the same thing (except that I don't use the feature, myself). From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 04:22:31 2016 Received: (at 25062) by debbugs.gnu.org; 30 Nov 2016 09:22:31 +0000 Received: from localhost ([127.0.0.1]:46936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cC15z-0005cH-Gh for submit@debbugs.gnu.org; Wed, 30 Nov 2016 04:22:31 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:52860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cC15x-0005c4-IY for 25062@debbugs.gnu.org; Wed, 30 Nov 2016 04:22:30 -0500 Received: from keelhaul.localnet ([81.158.216.180]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.179]) with ESMTPSA (Nemesis) id 0MY6Vs-1cGVCQ3Ap6-00UuJg; Wed, 30 Nov 2016 10:22:22 +0100 From: Jonathan Marten To: Eli Zaretskii Subject: Re: bug#25062: 24.5; Frame title (with "%b" format) changes when going to minibuffer Date: Wed, 30 Nov 2016 09:22:21 +0000 Message-ID: <17838677.EsBG1hTTNl@keelhaul> Organization: JJM @ Home User-Agent: KMail/4.14.10 (Linux/4.4.26-gentoo; KDE/4.14.14; x86_64; git-721a351; 2016-05-06) In-Reply-To: <83mvgixk3z.fsf@gnu.org> References: <6551952.t1DPFT6gTp@keelhaul> <83mvgixk3z.fsf@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:jEIPmuJ7V7vRZF9vkEuY85QUdeDhWlp7IvspZAi5WUCLyeK7Cht PSq4Le6/wxcgMHuIy/uhvSeg6w1gTIzN+D/pLTYGwZvbcu2Wv7sbyODkDlZ8oY3GPbIJCW8 Pk1w8xc4w1EM8bTxQofk5p9GdFdLI0qfo2hbJOpGrfd4bK0oG/0SsuFQIxHbxpBZC8yBF/Q XyLBWpTv0bl1EVKuXjlbA== X-UI-Out-Filterresults: notjunk:1;V01:K0:DDK/H13soXY=:iuZcGql7Ss4JGn84y+8Tkv h3o0CHXSh7x7NJ01vPMH8DybPl0zAa3T96oUWgkiGZLK6fv33+wRGiQhguBaBiw59h9q3IbCB BbcBdc6H0tazRZsl0uZL/EMrTjJmIA2o53FRRR0tsoR9RWgiZb3vO207mhztfgM7AyI6oaXW5 0BhvujyZwqc3g70WUTg55oKAU8/SaWthjS5/1hOvLIwcZ4Gs6l2BaRwwiFaOdfqDG+qaWP2uk eX8CZgyGM9BEwSxqU0vmff3ujeRWW6Q1uem9nUJs2Qg6Y08NBuZTsYJ7wbeFLdapTO44K7eB5 HwTHk0wwCHhQlDBUEt/VjIy2Buo2QCwEuKGr5iRCTcOZbO8brhD4ZazxHHgYK40lzl5ECt+Md 9ekDs+2LXGYhLwB+oh7RPT82GW9inB0bmnBzJgspMhcWzYKV9xOyXQu1gDzFKmEeDDhwoqv4A o8MfR/4laurLAdPfD5RnClLIOK7GH9H8UYNACTImjirGX9M8Wzs5pOQ8hiMRPQa2oE56ELyFB 8yMCHYSNLcGkdMUysZeeqzcrVjm22T2SkUTEBzuyCigZ/BplrtYZuxfjoW4ctcSjS9ZhNi97D R2OmxuEfOoOnorhNBS23i0s53jkqqKU6e+/WdP4+ROgpEV6s3La7SSf5eI5BKG/oUTq7bW/+Q MphrutBCdErbOE39B3TVB3k7krHbr5UzU/mEPQBzRNEPB/SmRe7Q/c2s/HclMljhFhrl/U3Bq Dab6Qhr2cPhAjVXp X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 25062 Cc: 25062@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: -0.0 (/) On Tuesday 29 November 2016 19:37:52 Eli Zaretskii wrote: > I actually use this feature all the time: it helps me to find the > frame which is waiting for some input. So I don't think we should > change that. > > Can't you achieve what you want by using some 'eval' form in > frame-title-format? Thanks for the comments; if this is intentional behaviour then everything is working correctly. I didn't like this happening myself and so looked for a way to customise it, and couldn't find one at the Lisp level - but then most of my elisp experience has been with XEmacs which didn't support eval forms within f-t-f. Following your suggestion, though, I've found a way that works and doesn't need any Emacs changes. > > Applying the following patch corrects this. If the selected window is a > > minibuffer window, it evaluates the format string in the buffer of the > > minibuffer-selected-window instead of the buffer of the minibuffer. With > > this patch, the frame title stays the same as before when being prompted > > in the minibuffer. > > Sorry, I don't think it's right to change that for everyone. Since there is a way around it, I'll agree. > Thanks. -- Jonathan Marten http://www.keelhaul.me.uk Twickenham, UK jjm@keelhaul.me.uk From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 09:50:58 2016 Received: (at 25062-done) by debbugs.gnu.org; 30 Nov 2016 14:50:58 +0000 Received: from localhost ([127.0.0.1]:47101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cC6Dp-0008Ju-TI for submit@debbugs.gnu.org; Wed, 30 Nov 2016 09:50:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cC6Do-0008Jh-Ad for 25062-done@debbugs.gnu.org; Wed, 30 Nov 2016 09:50:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC6Df-0000I0-ST for 25062-done@debbugs.gnu.org; Wed, 30 Nov 2016 09:50:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC6Df-0000Hw-Ox; Wed, 30 Nov 2016 09:50:47 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2103 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cC6De-0007bp-UY; Wed, 30 Nov 2016 09:50:47 -0500 Date: Wed, 30 Nov 2016 16:50:51 +0200 Message-Id: <83shq9qawk.fsf@gnu.org> From: Eli Zaretskii To: Jonathan Marten In-reply-to: <17838677.EsBG1hTTNl@keelhaul> (message from Jonathan Marten on Wed, 30 Nov 2016 09:22:21 +0000) Subject: Re: bug#25062: 24.5; Frame title (with "%b" format) changes when going to minibuffer References: <6551952.t1DPFT6gTp@keelhaul> <83mvgixk3z.fsf@gnu.org> <17838677.EsBG1hTTNl@keelhaul> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: 25062-done Cc: 25062-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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > From: Jonathan Marten > Cc: 25062@debbugs.gnu.org > Date: Wed, 30 Nov 2016 09:22:21 +0000 > > > > Applying the following patch corrects this. If the selected window is a > > > minibuffer window, it evaluates the format string in the buffer of the > > > minibuffer-selected-window instead of the buffer of the minibuffer. With > > > this patch, the frame title stays the same as before when being prompted > > > in the minibuffer. > > > > Sorry, I don't think it's right to change that for everyone. > > Since there is a way around it, I'll agree. Thanks, I'm therefore closing this bug report. From unknown Mon Aug 11 21:13:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Dec 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator