unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: yamaoka@jpl.org
Cc: 66457@debbugs.gnu.org
Subject: bug#66457: 30.0.50; shr sometimes displays the same image twice
Date: Wed, 25 Oct 2023 16:47:12 +0300	[thread overview]
Message-ID: <83y1fqizkv.fsf@gnu.org> (raw)
In-Reply-To: <831qe0v34m.fsf@gnu.org> (message from Eli Zaretskii on Thu, 12 Oct 2023 08:08:57 +0300)

Ping!

> Cc: 66457@debbugs.gnu.org
> Date: Thu, 12 Oct 2023 08:08:57 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > Date: Thu, 12 Oct 2023 09:49:00 +0900
> > From: Katsumi Yamaoka <yamaoka@jpl.org>
> > Cc: 66457@debbugs.gnu.org
> > 
> > On Wed, 11 Oct 2023 15:04:13 +0300, Eli Zaretskii wrote:
> > > Thanks, but can you show a recipe to reproduce the issue and test the
> > > solution?
> > 
> > Ok, here is an example html mail.
> > Set `mm-text-html-renderer' to `shr', read the example mail in
> > Gnus in some way, and try `W D W' and `W D D' commands.
> 
> Thanks.  (That was an invalid mbox file, btw; I needed to fix it, but
> that was easy.  Also, I don't use Gnus, so if you can show a fill
> recipe including the "read the example mail in Gnus in some way" part,
> I'd appreciate that, as I'd like to make sure I see exactly what you
> see in Gnus.  Meanwhile, I tried in Rmail instead, which also uses
> shr.el to display HTML emails.)
> 
> So now I'm not sure I understand what you are saying.  You said:
> 
> > If an alt text, that has an `image-displayer' text property, is
> > filled by `shr-fill-line' by way of `shr-fill-lines', the image
> > is displayed for two or more times.  It is because the
> > `image-displayer' text property is divided by the newline(s).
> 
> AFAIU, the alt text is text that is displayed instead of an image,
> when the image cannot or should not be displayed for some reason.  If
> my understanding is correct, then why do you expect the alt text to
> take only one line on display?
> 
> 
> 
> 





  reply	other threads:[~2023-10-25 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11  0:25 bug#66457: 30.0.50; shr sometimes displays the same image twice Katsumi Yamaoka
2023-10-11 12:04 ` Eli Zaretskii
2023-10-12  0:49   ` Katsumi Yamaoka
2023-10-12  5:08     ` Eli Zaretskii
2023-10-25 13:47       ` Eli Zaretskii [this message]
2023-10-25 23:58         ` 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

  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=83y1fqizkv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66457@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 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).