all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* window-text-pixel-size and presumable move_it_to change(s)
@ 2016-06-23  8:18 martin rudalics
  2016-06-23 14:51 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2016-06-23  8:18 UTC (permalink / raw)
  To: emacs-devel

‘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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-24  8:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23  8:18 window-text-pixel-size and presumable move_it_to change(s) martin rudalics
2016-06-23 14:51 ` Eli Zaretskii
2016-06-24  8:09   ` martin rudalics

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.