all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "David Reitter" <david.reitter@gmail.com>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: konrad.podczeck@univie.ac.at, 22048@debbugs.gnu.org
Subject: bug#22048: 25.1; frame title vanishes when speedbar present
Date: Mon, 30 Nov 2015 10:20:04 -0800 (PST)	[thread overview]
Message-ID: <1448907604402.131e1288@Nodemailer> (raw)
In-Reply-To: <83610jmkby.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]

Speedbar makes it a loca variable to set the frame title of its own frame to "speedbar".



—
A terse message sent with my phone

On Mon, Nov 30, 2015 at 1:08 PM, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: David Reitter <david.reitter@gmail.com>
>> Date: Mon, 30 Nov 2015 11:20:00 -0500
>> Cc: 22048@debbugs.gnu.org,
>>  konrad.podczeck@univie.ac.at
>> 
>> > 
>> > I'm afraid I don't follow: why does ns_set_name_as_filename need the
>> > buffer to be the current buffer?  It access that buffer through the
>> > frame pointer:
>> 
>> Yes, but x_implicitly_set_name reads Vframe_title_format directly:
>> 
>> if (FRAME_NS_P (f) && ((FRAME_ICONIFIED_P (f) && EQ (Vicon_title_format, Qt))
>>                          || EQ (Vframe_title_format, Qt)))
>> 
>> It picks up the wrong value there.  Based on that, I think ns_set_name_as_filename isn’t called at all because it reads the value meant for the speedbar frame. I didn’t bother to look at what then happens in ns_set_name and ns_set_name_internal.
> Sorry, I'm still confused: Vframe_title_format is a global variable,
> it's neither buffer-local not frame-local, AFAIK.  So how come the
> wrong value is picked up by x_implicitly_set_name?
>> (By the way, I first tried to do this in x_implicitly_set_name:
>> 
>> set_buffer_internal_1
>> 	(XBUFFER (XWINDOW (f->selected_window)->contents));
>> 
>> which works, but I find that the more dangerous change as the current buffer is permanently changed.
> Not sure how the current buffer enters the picture here.

[-- Attachment #2: Type: text/html, Size: 2051 bytes --]

  parent reply	other threads:[~2015-11-30 18:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-29  3:28 bug#22048: 25.1; frame title vanishes when speedbar present David Reitter
2015-11-29 15:36 ` Eli Zaretskii
2015-11-29 19:23   ` David Reitter
2015-11-29 19:50     ` Eli Zaretskii
2015-11-30  0:14       ` David Reitter
2015-11-30 15:48         ` Eli Zaretskii
2015-11-30 16:20           ` David Reitter
2015-11-30 18:08             ` Eli Zaretskii
2015-11-30 18:16               ` martin rudalics
2015-11-30 18:34                 ` Eli Zaretskii
2015-11-30 18:20               ` David Reitter [this message]
2015-11-30 18:33                 ` Eli Zaretskii
2015-12-01  2:09                   ` David Reitter
2015-12-04 19:23                     ` martin rudalics
     [not found] <B29A7B98-34B0-45E6-B3D9-DB8887EF7EC0@univie.ac.at>
2010-06-13 21:15 ` bug#6418: Fwd: Another frame problem David Reitter
2015-12-04 19:26   ` bug#6418: Fwd: bug#22048: 25.1; frame title vanishes when speedbar present David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448907604402.131e1288@Nodemailer \
    --to=david.reitter@gmail.com \
    --cc=22048@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=konrad.podczeck@univie.ac.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.