GNU bug report logs -
#67791
30.0.50; `t' command on Gnus summary buffer sometimes causes an error
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Tue, 12 Dec 2023 02:17:01 UTC
Severity: normal
Merged with 68884,
68893
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 67791 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 20 Dec 2023 09:34:00 +0900
> From: Katsumi Yamaoka <yamaoka <at> jpl.org>
> Cc: 67791 <at> debbugs.gnu.org
>
> `pixel-fill-region' measures the pixel width of the first letter
> of a message header using `window-text-pixel-size' as follows:
>
> (window-text-pixel-size nil (line-beginning-position) (point))
>
> Where the point is just after the first letter of a header. So,
> how do we use `buffer-text-pixel-size' so to do the same thing?
If this is a general problem with pixel-fill-region, then shouldn't
the save-window-excursion thing be in pixel-fill-region instead?
IOW, in pixel-fill-region, if the selected window doesn't display the
current buffer, use save-window-excursion to make it so (to avoid thej
costly save-window-excursion when the current buffer is already in the
selected window).
Or what am I missing?
This bug report was last modified 1 year and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.