bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22048: 25.1; frame title vanishes when speedbar present


From: David Reitter
Subject: bug#22048: 25.1; frame title vanishes when speedbar present
Date: Sun, 29 Nov 2015 14:23:32 -0500

On Nov 29, 2015, at 10:36 AM, Eli Zaretskii <eliz@gnu.org> wrote:

> Does it happen only with speedbar as the second frame, or also if you
> type "C-x 5 f SOME-FILE RET”?

Only with speedbar.

> 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).

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.

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?   x_implicitly_set_name() might not be called in the right 
context for frames that are not selected.

> Anyway, this is definitely OS X specific.  I see nothing like that
> here.

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. 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]