From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22048: 25.1; frame title vanishes when speedbar present Date: Sun, 29 Nov 2015 21:50:51 +0200 Message-ID: <83610koa90.fsf@gnu.org> References: <83vb8kom0i.fsf@gnu.org> <76517F76-4494-4350-A2DF-F472910A3AC6@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1448826744 8048 80.91.229.3 (29 Nov 2015 19:52:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 19:52:24 +0000 (UTC) Cc: konrad.podczeck@univie.ac.at, 22048@debbugs.gnu.org To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 29 20:52:05 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a380y-0005j4-JI for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 20:52:04 +0100 Original-Received: from localhost ([::1]:37535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3812-0002YL-Eo for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 14:52:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a380z-0002U9-Hw for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 14:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a380w-0001Ou-Ar for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 14:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a380w-0001Oo-7w for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 14:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a380w-00041y-3O for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 14:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Nov 2015 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22048 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22048-submit@debbugs.gnu.org id=B22048.144882668115441 (code B ref 22048); Sun, 29 Nov 2015 19:52:02 +0000 Original-Received: (at 22048) by debbugs.gnu.org; 29 Nov 2015 19:51:21 +0000 Original-Received: from localhost ([127.0.0.1]:59762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a380H-00040z-1R for submit@debbugs.gnu.org; Sun, 29 Nov 2015 14:51:21 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58881) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a37zw-00040G-6G for 22048@debbugs.gnu.org; Sun, 29 Nov 2015 14:51:19 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NYL00D00DFJVE00@a-mtaout22.012.net.il> for 22048@debbugs.gnu.org; Sun, 29 Nov 2015 21:50:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYL00DKGDSYHZ80@a-mtaout22.012.net.il>; Sun, 29 Nov 2015 21:50:58 +0200 (IST) In-reply-to: <76517F76-4494-4350-A2DF-F472910A3AC6@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109419 Archived-At: > From: David Reitter > Date: Sun, 29 Nov 2015 14:23:32 -0500 > Cc: 22048@debbugs.gnu.org, > konrad.podczeck@univie.ac.at > > > Also, does it help to play with the value of frame-title-format? > > Setting it to “%b” makes the problem go away. > frame-title-format is t by default on the Mac, which has a special (and undocumented) meaning in OS X (see nsfns.m:488). Maybe you could step with a debugger into that function and see what goes wrong there in this case. > Note that speedbar.el has (make-local-variable 'frame-title-format). I didn’t check what it is, but I would assume that ns_set_name() does not correctly process the frame title format for the right frame in that case. Most probably, yes. > Apart from that, what is the meaning of a buffer-local frame-title-format? When multiple buffers are visible in a frame, does the one from the selected window apply? Yes. > x_implicitly_set_name() might not be called in the right context for frames that are not selected. That shouldn't happen, normally. Displaying a frame temporarily makes it the selected frame. > I don’t like the special t for frame-title-format. I think that we would be better off checking the string for “%f” (or whatever the default outside of NS is) in x_implicitly_set_name() (in nsfns.m) and behaving accordingly. How would the effect be different?