1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 15:10:50 -08:00
emacs/lisp/net
Basil L. Contovounesios bfd3124202 Improve eww support for externally viewed PDFs
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)
2020-11-05 17:34:23 +00:00
..
ange-ftp.el Some Tramp fixes for directory-files-* and delete-* 2020-11-03 18:47:32 +01:00
browse-url.el Fix `browse-url-of-dired' 2020-10-17 11:24:03 +02:00
dbus.el Handle several children of PATH in dbus-managed-objects-handler 2020-10-29 16:56:40 +01:00
dig.el
dns.el
eudc-bob.el
eudc-export.el
eudc-hotlist.el
eudc-vars.el * lisp/net/eudc-vars.el: Use lexical-binding. 2020-10-28 06:04:21 +01:00
eudc.el
eudcb-bbdb.el
eudcb-ldap.el
eudcb-mab.el
eudcb-macos-contacts.el
eww.el Improve eww support for externally viewed PDFs 2020-11-05 17:34:23 +00:00
gnutls.el Make setting verify-hostname-error not make connections fail 2020-10-02 04:49:39 +02:00
goto-addr.el
hmac-def.el * lisp/net/hmac-def.el: Use lexical-binding. 2020-10-28 09:50:39 +01:00
hmac-md5.el
imap.el
ldap.el ; Prefer https to http in more URLs 2020-10-24 20:23:27 +02:00
mailcap.el Improve eww support for externally viewed PDFs 2020-11-05 17:34:23 +00:00
mairix.el
net-utils.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
netrc.el Use lexical-binding in netrc.el and add tests 2020-10-28 03:24:18 +01:00
network-stream.el
newst-backend.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
newst-plainview.el
newst-reader.el
newst-ticker.el
newst-treeview.el
newsticker.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
nsm.el Merge from origin/emacs-27 2020-10-02 09:38:24 -07:00
ntlm.el Don't rely on bignums in ntlm.el 2020-10-27 12:25:57 +01:00
pop3.el
puny.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
quickurl.el
rcirc.el Replace irc.freenode.net with chat.freenode.net 2020-10-31 14:09:29 -04:00
rfc2104.el
rlogin.el
sasl-cram.el
sasl-digest.el
sasl-ntlm.el Add "Old-" prefix to "Version" header in more cases 2020-10-18 20:35:26 +02:00
sasl-scram-rfc.el
sasl-scram-sha256.el
sasl.el
secrets.el Fix misuses of make-local-variable on hooks 2020-11-04 00:24:45 -05:00
shr-color.el
shr.el Add way to prevent asking "increase specpdl size?" 2020-10-15 22:32:41 -04:00
sieve-manage.el
sieve-mode.el * lisp/net/sieve-mode.el: Use lexical-binding. 2020-10-27 12:11:45 +01:00
sieve.el
snmp-mode.el Remove some Emacs 19 compat code and references 2020-10-25 18:27:19 +01:00
soap-client.el Fix loading WSDL data again 2020-10-01 19:42:45 +02:00
soap-inspect.el
socks.el
telnet.el
tramp-adb.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
tramp-archive.el ; Prefer https to http in more URLs 2020-10-24 20:23:27 +02:00
tramp-cache.el
tramp-cmds.el
tramp-compat.el Some Tramp fixes for directory-files-* and delete-* 2020-11-03 18:47:32 +01:00
tramp-crypt.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
tramp-ftp.el
tramp-gvfs.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
tramp-integration.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
tramp-rclone.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
tramp-sh.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
tramp-smb.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
tramp-sudoedit.el Trash remote files to local trash (Bug#44216) 2020-11-01 12:42:29 +01:00
tramp-uu.el
tramp.el Still fixes for Tramp directory-files-* 2020-11-05 17:36:04 +01:00
trampver.el
webjump.el
zeroconf.el