From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jonathan Marten Newsgroups: gmane.emacs.bugs Subject: bug#25062: 24.5; Frame title (with "%b" format) changes when going to minibuffer Date: Wed, 30 Nov 2016 09:22:21 +0000 Organization: JJM @ Home Message-ID: <17838677.EsBG1hTTNl@keelhaul> References: <6551952.t1DPFT6gTp@keelhaul> <83mvgixk3z.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: blaine.gmane.org 1480497810 2709 195.159.176.226 (30 Nov 2016 09:23:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2016 09:23:30 +0000 (UTC) User-Agent: KMail/4.14.10 (Linux/4.4.26-gentoo; KDE/4.14.14; x86_64; git-721a351; 2016-05-06) Cc: 25062@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 30 10:23:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cC16i-0006sY-Mc for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2016 10:23:16 +0100 Original-Received: from localhost ([::1]:42220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC16k-0000Q9-PZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2016 04:23:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC16X-0000Pq-U1 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 04:23:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC16U-0000DC-Ox for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 04:23:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59770) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cC16U-0000Cx-Ki for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 04:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cC16U-0005dG-EZ for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 04:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jonathan Marten Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2016 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25062 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25062-submit@debbugs.gnu.org id=B25062.148049775121598 (code B ref 25062); Wed, 30 Nov 2016 09:23:02 +0000 Original-Received: (at 25062) by debbugs.gnu.org; 30 Nov 2016 09:22:31 +0000 Original-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 Original-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 Original-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 In-Reply-To: <83mvgixk3z.fsf@gnu.org> X-Provags-ID: V03:K0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mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126295 Archived-At: 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