GNU bug report logs - #44338
27.1; EWW can't download and view pdf

Previous Next

Package: emacs;

Reported by: Nicholas Harrison <nicholasharrison222 <at> gmail.com>

Date: Fri, 30 Oct 2020 22:21:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 27.1

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 44338 <at> debbugs.gnu.org, Nicholas Harrison <nicholasharrison222 <at> gmail.com>
Subject: bug#44338: 27.1; EWW can't download and view pdf
Date: Thu, 05 Nov 2020 20:40:26 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> [BTW, I don't see the function mailcap-add used anywhere.]
>
> It's for usage by users, I think?

When I do:

0. emacs -Q
1. (progn
     (require 'mailcap)
     (mailcap-add "application/pdf" "mupdf %s")
     mailcap-user-mime-data)
2. C-j

This results in:

  (("application"
    ("pdf"
     (viewer . "mupdf %s")
     (test . t)
     (type . "application/pdf"))))

But mailcap-user-mime-data is documented as being a list of

  ((viewer . VIEWER)
   (type   . MIME-TYPE)
   (test   . TEST))

Isn't this a bug?  The documentation of mailcap-add doesn't exactly
welcome the user either...

Thanks,

-- 
Basil




This bug report was last modified 4 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.