From: Eli Zaretskii <eliz@gnu.org>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 67791@debbugs.gnu.org
Subject: bug#67791: 30.0.50; `t' command on Gnus summary buffer sometimes causes an error
Date: Wed, 20 Dec 2023 14:53:02 +0200 [thread overview]
Message-ID: <83r0jhghn5.fsf@gnu.org> (raw)
In-Reply-To: <b4mv88togp3.fsf@jpl.org> (message from Katsumi Yamaoka on Wed, 20 Dec 2023 09:34:00 +0900)
> Date: Wed, 20 Dec 2023 09:34:00 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
> Cc: 67791@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?
next prev parent reply other threads:[~2023-12-20 12:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 2:15 bug#67791: 30.0.50; `t' command on Gnus summary buffer sometimes causes an error Katsumi Yamaoka
2023-12-12 11:51 ` Eli Zaretskii
2023-12-13 2:11 ` Katsumi Yamaoka
2023-12-13 11:55 ` Eli Zaretskii
2023-12-20 0:34 ` Katsumi Yamaoka
2023-12-20 12:53 ` Eli Zaretskii [this message]
2023-12-21 0:39 ` Katsumi Yamaoka
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=83r0jhghn5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=67791@debbugs.gnu.org \
--cc=yamaoka@jpl.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.