GNU bug report logs -
#67764
30.0.50; Opening image in eww no longer works
Previous Next
Reported by: john muhl <jm <at> pub.pink>
Date: Mon, 11 Dec 2023 06:41:02 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 16 Dec 2023 14:53:30 +0200
with message-id <83jzpemhpx.fsf <at> gnu.org>
and subject line Re: bug#67764: 30.0.50; Opening image in eww no longer works
has caused the debbugs.gnu.org bug report #67764,
regarding 30.0.50; Opening image in eww no longer works
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
67764: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67764
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
In Emacs 29.1 the image opens as expected:
emacs -Q
M-: (eww "https://www.gnu.org/software/emacs/images/emacs.png")
On master it fails with "Wrong type argument: stringp, nil".
Bisect says 4254544 is the first bad commit.
In GNU Emacs 30.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.18.0) of 2023-12-11 built on localhost
Repository revision: cd702556759b33662cd6536c89ef02ddcd93d4ff
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12302002
System Description: Fedora Linux 39 (Thirty Nine)
Configured using:
'configure --with-native-compilation=no'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS
HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT
MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM
XINPUT2 XPM GTK3 ZLIB
[Message part 3 (message/rfc822, inline)]
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 67764 <at> debbugs.gnu.org, jm <at> pub.pink
> Date: Tue, 12 Dec 2023 14:44:12 +0530
>
> > Visuwesh <visuweshm <at> gmail.com> writes:
> >
> > [...]
> >
> >> diff --git a/lisp/net/shr.el b/lisp/net/shr.el
> >> index 9f030b4c743..bf5038a421d 100644
> >> --- a/lisp/net/shr.el
> >> +++ b/lisp/net/shr.el
> >> @@ -1137,7 +1137,9 @@ shr-put-image
> >> (when image
> >> ;; The trailing space can confuse shr-insert into not
> >> ;; putting any space after inline images.
> >> - (setq alt (string-trim alt))
> >> + ;; ALT may be nil when visiting image URLs in eww
> >> + ;; (bug#6774).
> >
> > There is a 6 missing in the bug reference ;-)
>
> ...and in the commit log. I don't know how I managed to mess it up.
> Thanks for catching the mistake. Revised patch attached.
Thanks, installed on the master branch, and closing the bug.
This bug report was last modified 1 year and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.