From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Newsgroups: gmane.emacs.devel Subject: Re: Two errors in 27.* with Windows Date: Thu, 26 Mar 2020 17:34:19 +0100 Message-ID: <86d08zjcs4.fsf@csic.es> References: <86369vt7ce.fsf@csic.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="14909"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (windows-nt) To: emacs-devel@gnu.org Cancel-Lock: sha1:COm0heU+1ADkOY1Awha/CbICQyE= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 26 17:35:13 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHVTN-0003ll-1O for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Mar 2020 17:35:13 +0100 Original-Received: from localhost ([::1]:56400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHVTM-0002d8-43 for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Mar 2020 12:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33794) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHVSe-0002Dt-4Z for emacs-devel@gnu.org; Thu, 26 Mar 2020 12:34:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHVSc-0002Nv-UI for emacs-devel@gnu.org; Thu, 26 Mar 2020 12:34:28 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:46620) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHVSc-0002Ni-Ob for emacs-devel@gnu.org; Thu, 26 Mar 2020 12:34:26 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jHVSb-0002jj-H0 for emacs-devel@gnu.org; Thu, 26 Mar 2020 17:34:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245811 Archived-At: Juan José García-Ripoll 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((# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil) t) gnus-mime-display-single((# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil)) gnus-mime-display-part((# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil)) mapcar(gnus-mime-display-part ((# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil) (# ("application/msword") base64 nil ("inline") nil nil nil))) gnus-mime-display-mixed(((# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil) (# ("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 # boundary "_4839E48A-B119-4B60-99C6-209ACE439711_")) (# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil) (# ("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