From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Two errors in 27.* with Windows
Date: Thu, 26 Mar 2020 17:34:19 +0100 [thread overview]
Message-ID: <86d08zjcs4.fsf@csic.es> (raw)
In-Reply-To: 86369vt7ce.fsf@csic.es
Juan José García-Ripoll <juanjose.garciaripoll@gmail.com> 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 "t.ramos.delrio@gmail.com" 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
next prev parent reply other threads:[~2020-03-26 16:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-26 16:21 Two errors in 27.* with Windows Juan José García-Ripoll
2020-03-26 16:34 ` Juan José García-Ripoll [this message]
2020-03-26 18:55 ` Eli Zaretskii
2020-03-26 19:01 ` Juan José García-Ripoll
2020-03-26 19:45 ` Eli Zaretskii
2020-03-26 22:09 ` Juan José García-Ripoll
2020-03-27 7:08 ` Eli Zaretskii
2020-03-27 7:32 ` Eli Zaretskii
2020-03-27 12:45 ` Juan José García-Ripoll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86d08zjcs4.fsf@csic.es \
--to=juanjose.garciaripoll@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).