mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-26 15:10:50 -08:00
The *eww pdf* buffer is only needed when viewing PDFs within Emacs, e.g., with doc-view-mode. External PDF viewers are called with a temporary file, so the buffer is not needed in that case. What's more, mailcap-view-mime erased the buffer and left it in fundamental-mode until now, so the user was left staring at a useless, empty buffer. To make things even worse, external viewers were invoked synchronously until now, so the user could not browse the PDF file and use Emacs simultaneously. * lisp/net/mailcap.el (mailcap--async-shell): New function. (mailcap-view-mime): Use it to invoke external viewers asynchronously. Mention erasure of current buffer in that case in docstring. Add a period between the temporary file name and its extension. * lisp/net/eww.el (eww-display-pdf): Simplify using insert-buffer-substring. Fix coding-system-for-write for a stream of raw bytes. Pop to *eww pdf* buffer only if it is used for displaying a document; otherwise kill it. (bug#44338) |
||
|---|---|---|
| .. | ||
| ange-ftp.el | ||
| browse-url.el | ||
| dbus.el | ||
| dig.el | ||
| dns.el | ||
| eudc-bob.el | ||
| eudc-export.el | ||
| eudc-hotlist.el | ||
| eudc-vars.el | ||
| eudc.el | ||
| eudcb-bbdb.el | ||
| eudcb-ldap.el | ||
| eudcb-mab.el | ||
| eudcb-macos-contacts.el | ||
| eww.el | ||
| gnutls.el | ||
| goto-addr.el | ||
| hmac-def.el | ||
| hmac-md5.el | ||
| imap.el | ||
| ldap.el | ||
| mailcap.el | ||
| mairix.el | ||
| net-utils.el | ||
| netrc.el | ||
| network-stream.el | ||
| newst-backend.el | ||
| newst-plainview.el | ||
| newst-reader.el | ||
| newst-ticker.el | ||
| newst-treeview.el | ||
| newsticker.el | ||
| nsm.el | ||
| ntlm.el | ||
| pop3.el | ||
| puny.el | ||
| quickurl.el | ||
| rcirc.el | ||
| rfc2104.el | ||
| rlogin.el | ||
| sasl-cram.el | ||
| sasl-digest.el | ||
| sasl-ntlm.el | ||
| sasl-scram-rfc.el | ||
| sasl-scram-sha256.el | ||
| sasl.el | ||
| secrets.el | ||
| shr-color.el | ||
| shr.el | ||
| sieve-manage.el | ||
| sieve-mode.el | ||
| sieve.el | ||
| snmp-mode.el | ||
| soap-client.el | ||
| soap-inspect.el | ||
| socks.el | ||
| telnet.el | ||
| tramp-adb.el | ||
| tramp-archive.el | ||
| tramp-cache.el | ||
| tramp-cmds.el | ||
| tramp-compat.el | ||
| tramp-crypt.el | ||
| tramp-ftp.el | ||
| tramp-gvfs.el | ||
| tramp-integration.el | ||
| tramp-rclone.el | ||
| tramp-sh.el | ||
| tramp-smb.el | ||
| tramp-sudoedit.el | ||
| tramp-uu.el | ||
| tramp.el | ||
| trampver.el | ||
| webjump.el | ||
| zeroconf.el | ||