Subject: 29.0.60; DocView shows wrong conversion indicator when configured to use svg images
From: Gregor Zattler <[email-masked]>
To: [email-masked]
Date: Fri, 07 Apr 2023 18:02:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Package: emacs
Version: 29.0.60
Severity: minor

Dear Emacs developers,

1. start emacs -Q,
2. evaluate `(setq doc-view-mupdf-use-svg t)' in *scratch* buffer, then
3. open a (preferably large) pdf file:

While the pdf file is converted to images in the
background, a modeline indicator is shown:

DocView:pdf->png

which is wrong in this case since the conversion is
configured to produce svg images.

The indicator should look like

DocView: pdf->svg

or

DocView:pdf->img

or

DocView:pdf conversion

or something like that.

Admittedly a very minor issue.
Thanks, Gregor

In GNU Emacs 29.0.60 (build 9, x86_64-pc-linux-gnu,
 cairo version 1.16.0) of 2023-03-18 built on no
Repository revision: 11592bcfda6cf85d797d333072453c98994790e1
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --with-sound=yes --without-gconf
 --with-mailutils --build x86_64-linux-gnu
 --infodir=/usr/share/info --with-json
 --with-file-notification=yes --with-cairo --with-x=yes
 --with-x-toolkit=no --without-toolkit-scroll-bars
 --enable-checking=yes,glyphs
 --enable-check-lisp-object-type
 --with-native-compilation 'CFLAGS=-g3 -Os
 -ffile-prefix-map=/home/grfz/src/emacs-emacs-29--11592bcfda6cf85d797d333072453c98994790e1--2023-03-18T17-21+01-00=. -fstack-protector-strong
 -Wformat -Werror=format-security ''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM
GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX
LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY OLDXMENU PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF X11 XDBE XIM XINPUT2 XPM ZLIB