emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two errors in 27.* with Windows


From: Juan José García-Ripoll
Subject: Re: Two errors in 27.* with Windows
Date: Thu, 26 Mar 2020 17:34:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (windows-nt)

Juan José García-Ripoll <address@hidden> writes:
> ----
> First problem: mailcap-user-data is emptied by
> (mailcap-parse-mailcaps). Formerly, in 26.3 and earlier, the information
> from .mailcap was added to the list. Now the variable is deleted even if
> there is no .mailcap file around.
>
> My configuration file relies on mailcap-add-mailcap-entry to add mailcap
> entries that are not external programs, such as doc-view. This cannot be
> configured neither with mailcap-user-mime-data nor with .mailcap.
>
> Workaround: set mailcap-parsed-p to T

Actually I correct myself: there is no workaround for this, because in
some places the mime parser calls mailcap-user-mime-data with argument
/force/ equal to /t/, ignoring maicap-parsed-p.

Moreover, this happens in a context where it is hardly justified. I got
an email with a text/html alternative part. The mere display of the
message (not the attachment) forced calling mailcap-parse-mailcaps. I
would understand this for external viewers, but not for inlined
parts. And in no case should "force" be used.

--- Backtrace to illustrate where mailcap-mime-data is cleared---

Debugger entered--setting mailcap-mime-data to nil: 
  debug--implement-debug-watch(mailcap-mime-data nil set nil)
  mailcap-parse-mailcaps(nil t)
  mailcap-mime-info("text/html")
  mm-display-part((#<buffer  *mm*-258304> ("text/html" (charset . "utf-8")) 
quoted-printable nil nil nil nil nil) t)
  gnus-mime-display-single((#<buffer  *mm*-258304> ("text/html" (charset . 
"utf-8")) quoted-printable nil nil nil nil nil))
  gnus-mime-display-part((#<buffer  *mm*-258304> ("text/html" (charset . 
"utf-8")) quoted-printable nil nil nil nil nil))
  mapcar(gnus-mime-display-part ((#<buffer  *mm*-258304> ("text/html" (charset 
. "utf-8")) quoted-printable nil nil nil nil nil) (#<buffer  *mm*-939186> 
("application/msword") base64 nil ("inline") nil nil nil)))
  gnus-mime-display-mixed(((#<buffer  *mm*-258304> ("text/html" (charset . 
"utf-8")) quoted-printable nil nil nil nil nil) (#<buffer  *mm*-939186> 
("application/msword") base64 nil ("inline") nil nil nil)))
  gnus-mime-display-part((#("multipart/mixed" 0 15 (start nil from 
"address@hidden" buffer #<buffer  *mm*> boundary 
"_4839E48A-B119-4B60-99C6-209ACE439711_")) (#<buffer  *mm*-258304> ("text/html" 
(charset . "utf-8")) quoted-printable nil nil nil nil nil) (#<buffer  
*mm*-939186> ("application/msword") base64 nil ("inline") nil nil nil)))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(37215 nil)
  gnus-summary-display-article(37215 nil)
  gnus-summary-select-article(nil nil pseudo)
  gnus-summary-scroll-up(1)
  funcall-interactively(gnus-summary-scroll-up 1)
  call-interactively(gnus-summary-scroll-up nil nil)
  command-execute(gnus-summary-scroll-up)

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




reply via email to

[Prev in Thread] Current Thread [Next in Thread]