From: martin rudalics <rudalics@gmx.at>
To: emacs-devel <emacs-devel@gnu.org>
Subject: window-text-pixel-size and presumable move_it_to change(s)
Date: Thu, 23 Jun 2016 10:18:20 +0200 [thread overview]
Message-ID: <576B9B4C.5080503@gmx.at> (raw)
‘fit-window-to-buffer’ is currently broken on master when the window is
horizontally combined. I traced it back to the following differnece:
Consider these two forms:
(window-text-pixel-size nil (window-start) (point-max) (frame-pixel-width) (window-body-height nil t))
(window-text-pixel-size nil (window-start) (point-max) nil (window-body-height nil t))
With emacs -Q on the release branch evaluating both forms via M-: gets
me (576 . 48).
With emacs -Q on master evaluating the first form gets me (0 . 48) while
evaluating the second form gets me (576 . 48). I conclude that the
behavior of move_it_to has changed recently when setting
it.last_visible_x = max_x;
in Fwindow_text_pixel_size. Is that conclusion correct? If so, what
can I do to get the old behavior back?
Thanks, martin
next reply other threads:[~2016-06-23 8:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 8:18 martin rudalics [this message]
2016-06-23 14:51 ` window-text-pixel-size and presumable move_it_to change(s) Eli Zaretskii
2016-06-24 8:09 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=576B9B4C.5080503@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
/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.