From: Eli Zaretskii <eliz@gnu.org>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: 19972@debbugs.gnu.org
Subject: bug#19972: 24.4; Font size change doesn't update (window-total-width)
Date: Tue, 03 Mar 2015 05:36:00 +0200 [thread overview]
Message-ID: <83ioeirbvj.fsf@gnu.org> (raw)
In-Reply-To: <87a8zvrq6l.fsf@fastmail.fm>
> From: Joost Kremers <joostkremers@fastmail.fm>
> Cc: rudalics@gmx.at, 19972@debbugs.gnu.org
> Date: Mon, 02 Mar 2015 23:26:58 +0100
>
> >> Sorry, forgot that. `window-width' doesn't have the same issue. On my
> >> system, with a maximised Emacs frame (Emacs version 25.0.50.1), it
> >> returns 236 before `custom-push-theme' + `face-spec-recalc', and 188
> >> after it, even without doing `C-x 3' followed by `C-x 1'.
> >
> > In that case, I guess if you call (window-total-width 'round), you
> > will see the correct value even before "C-x 3", right?
>
> No, it doesn't. It still returns 240, i.e., the same value returned by
> (window-total-width).
>
> (window-width) returns 188.
That's very strange, since they use the same data. But if Martin's
patch fixes the issue for you (does it?), we don't need to pursue this
further.
> > Joost, could you find out where does w->pixel_size change in your
> > recipe (where 'w' is the pointer to the window displaying *scratch*)?
>
> I'd be happy to, but...
>
> > If my guess is correct, it should change twice: once as shown below in
> > the backtrace I produced, and then once more, where it changes back to
> > the dimensions of your display. We are interested to know where is
> > that second time, and who calls that code.
> >
> > One way of finding this out is to put a watchpoint in GDB on
> > w->pixel_size. Let me know if you need more detailed instructions for
> > how to do it.
>
> That would be great, since I have only basic knowledge of GDB.
Given Jan's explanation of the issue, I don't think this is needed
anymore.
Thanks.
next prev parent reply other threads:[~2015-03-03 3:36 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 2:31 bug#19972: 24.4; Font size change doesn't update (window-total-width) Joost Kremers
2015-03-01 15:14 ` martin rudalics
2015-03-01 15:28 ` Eli Zaretskii
2015-03-01 15:54 ` martin rudalics
2015-03-01 17:07 ` Joost Kremers
2015-03-01 17:46 ` Eli Zaretskii
2015-03-01 20:43 ` Joost Kremers
2015-03-02 3:30 ` Eli Zaretskii
2015-03-02 3:59 ` Joost Kremers
2015-03-02 14:04 ` Eli Zaretskii
2015-03-02 17:08 ` martin rudalics
2015-03-02 17:35 ` Eli Zaretskii
2015-03-02 18:12 ` martin rudalics
2015-03-02 18:25 ` Eli Zaretskii
2015-03-02 18:43 ` martin rudalics
2015-03-02 18:46 ` Eli Zaretskii
2015-03-02 22:26 ` Joost Kremers
2015-03-03 3:36 ` Eli Zaretskii [this message]
2015-03-03 8:07 ` martin rudalics
2015-03-03 9:06 ` Jan Djärv
2015-03-03 10:17 ` martin rudalics
2015-03-03 11:05 ` Jan D.
2015-03-03 11:26 ` martin rudalics
2015-03-03 12:08 ` Jan D.
2015-03-03 12:08 ` Joost Kremers
2015-03-03 8:06 ` martin rudalics
2015-03-02 17:08 ` martin rudalics
2015-03-02 17:07 ` martin rudalics
2015-03-02 17:06 ` martin rudalics
2015-03-01 17:06 ` Joost Kremers
2015-03-02 3:18 ` Joost Kremers
2015-03-02 17:09 ` martin rudalics
2015-03-02 17:24 ` Eli Zaretskii
2015-03-02 18:12 ` martin rudalics
2015-03-02 18:26 ` Eli Zaretskii
2015-03-03 10:38 ` martin rudalics
2015-03-03 12:23 ` Joost Kremers
2015-03-04 15:10 ` martin rudalics
2017-10-02 8:48 ` martin rudalics
2015-03-02 7:57 ` bug#19972: " Steve Purcell
2015-03-02 13:27 ` Eli Zaretskii
2015-03-02 14:07 ` Steve Purcell
2015-03-02 14:09 ` Steve Purcell
2015-03-02 14:24 ` Eli Zaretskii
2015-03-02 17:37 ` Jan D.
2015-03-02 14:23 ` Eli Zaretskii
2015-03-02 17:42 ` Jan D.
2015-03-02 17:56 ` Eli Zaretskii
2015-03-02 19:06 ` Jan D.
2015-03-02 19:52 ` Eli Zaretskii
2015-03-02 20:19 ` Jan D.
2015-03-03 16:11 ` Eli Zaretskii
2015-03-03 17:47 ` martin rudalics
2015-03-03 18:02 ` Eli Zaretskii
2015-03-03 18:36 ` martin rudalics
2015-03-03 18:38 ` Eli Zaretskii
2015-03-04 15:10 ` martin rudalics
2015-03-04 17:47 ` Eli Zaretskii
2015-03-04 18:45 ` martin rudalics
2015-03-04 18:59 ` Eli Zaretskii
2015-03-04 19:25 ` Jan D.
2015-03-05 8:06 ` martin rudalics
2015-03-05 16:34 ` Eli Zaretskii
2015-03-05 18:14 ` martin rudalics
2015-03-05 20:22 ` Eli Zaretskii
2015-03-05 21:15 ` martin rudalics
2015-03-06 8:09 ` Eli Zaretskii
2015-03-06 9:21 ` martin rudalics
2015-03-06 10:58 ` Eli Zaretskii
2015-03-02 14:44 ` Drew Adams
2015-03-02 15:02 ` Steve Purcell
2015-03-02 17:10 ` martin rudalics
2015-03-02 17:23 ` Steve Purcell
2015-03-02 18:12 ` martin rudalics
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ioeirbvj.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=19972@debbugs.gnu.org \
--cc=joostkremers@fastmail.fm \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).