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 11:20:00 -0500 [thread overview]
Message-ID: <4BD6AC0E-F3DE-44CA-B535-F45BD0DBD58C@gmail.com> (raw)
In-Reply-To: <83two3mqtr.fsf@gnu.org>
>
> 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.
We can of course use BVAR to read Vframe_title_format as a smaller change, but unless you tell me otherwise, it seems to make more sense to have the right buffer current when calling the port-specific routing.
(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.
next prev parent reply other threads:[~2015-11-30 16: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 [this message]
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
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=4BD6AC0E-F3DE-44CA-B535-F45BD0DBD58C@gmail.com \
--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.