GNU bug report logs - #40247
27.0.90; mailcap-mime-data erased when parsing mime parts

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juan José García Ripoll <juanjose.garcia.ripoll@HIDDEN>; dated Thu, 26 Mar 2020 22:54:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added indication that bug 40247 blocks39200 Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Mar 2020 22:54:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 26 18:54:02 2020
Received: from localhost ([127.0.0.1]:60336 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jHbNx-0004Eu-OE
	for submit <at> debbugs.gnu.org; Thu, 26 Mar 2020 18:54:02 -0400
Received: from lists.gnu.org ([209.51.188.17]:54188)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juanjose.garcia.ripoll@HIDDEN>) id 1jHbNv-0004Ec-Ua
 for submit <at> debbugs.gnu.org; Thu, 26 Mar 2020 18:54:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34950)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <juanjose.garcia.ripoll@HIDDEN>) id 1jHbNu-0003Kd-2A
 for bug-gnu-emacs@HIDDEN; Thu, 26 Mar 2020 18:53:59 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_50,
 RCVD_IN_DNSWL_MED,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <juanjose.garcia.ripoll@HIDDEN>) id 1jHbNs-0003Yn-CH
 for bug-gnu-emacs@HIDDEN; Thu, 26 Mar 2020 18:53:57 -0400
Received: from cel1.sgai.csic.es ([161.111.10.57]:14232)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <juanjose.garcia.ripoll@HIDDEN>)
 id 1jHbNs-0003Vs-1R
 for bug-gnu-emacs@HIDDEN; Thu, 26 Mar 2020 18:53:56 -0400
IronPort-SDR: 8MgztZdLB9H1E7MXLbR6Mz8AwCbdza/1w/B9GeG3O7dJ573ZSALxy7xicKSvHP3lWbBViYg9Jm
 ThXB6LHy8IStO/K6hxBEu7WJc85D1OUPxFWbBw1lxKUxTjD7BkNaWGMl6uYqEFk6tr0D90uTM9
 1UKfd8kp+sWyievplDd8KuV2UVlwL6TYCuTYoOih+NxTVCooFlIgONG/eCuLqcWPM4RP5VT4D1
 M7P+iHfV4uAAxvNgGzTJpvkRxbzeklrDR1/Xjg7viGGnKAGWB1zfAWWVPHbJKjg/3ONv9pWfBv
 RME=
IronPort-PHdr: =?us-ascii?q?9a23=3A9KN89BYblf5KCk76Acza1aX/LSx+4OfEezUN45?=
 =?us-ascii?q?9isYplN5qZr8u4bnLW6fgltlLVR4KTs6sC17OK9fm9BidZuc7JmUtBWaIPfi?=
 =?us-ascii?q?dNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV?=
 =?us-ascii?q?3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sArcutMLjYZiKKs9xQ?=
 =?us-ascii?q?bFrmdUd+9L2W5mOFWfkgrz6cu34JNt6Tlbteg7985HX6X6fqA4QqJdAT87LW?=
 =?us-ascii?q?0759DluAfaQweX6XQSTmsZkhxTAwjY9x76RYv+sjH7tuVmxiaXO9D9QK0uVj?=
 =?us-ascii?q?Sj66drTwLoiDsCOjUk/mzbltB8gaRGqx+nuhdxwZPbYJuNOfR+YK3TYN0US2?=
 =?us-ascii?q?lOUclNWCJMGZ+8b5IVAuYdIepUs4vwql0TphW+HwmsA+bvxydMiH/rx6I61f?=
 =?us-ascii?q?wuHwXB3Aw7BdUBqHXao8/vNKgOT+e61rHHwynCb/NO3jf97IzIeQ0mrPGOQL?=
 =?us-ascii?q?J/a8zRyUsoFwPekFqcs4PlMCmP1usRsmiU9fBsVfiui24/rAFxpjyvy9wwhY?=
 =?us-ascii?q?nSh4Ia1krI+jtiwIssI9CzVUB1YdmhEJRKtiGaMZN7QswkQ2F1oio6zacGuZ?=
 =?us-ascii?q?GjcCgK05so3QTfZ+aZfIiT5B/oSeWfIS9giX54ZL6znQu+/VS8xuHmVcS4zk?=
 =?us-ascii?q?xGoypLn9XUtX0Bygbf5tSdRvdg5EutxCqD2gTV5+pZO047j7DbJIQkwrMok5?=
 =?us-ascii?q?oTtlnMETHulUXtia+Wal0k+u+16+T7ernmpoGTN4tzigzmKaQun9C/Afw5Mg?=
 =?us-ascii?q?gIRWSU5f+81Lz/8kHjXrpKleU6kqjfsJ/EOcQWvrO1DxNP3oo+9xqzEy2q3d?=
 =?us-ascii?q?cGkXUdLF9IdgqLj43zNFHPJPD4A+2/g1OpkDpzxfDGI6fuApPPLnjEi7fuY6?=
 =?us-ascii?q?xx60FGxwop0d9f5ohbBqsbIPLyQk/xs9jYDhsiPgOo2ObnCcly2pkAVmKUGq?=
 =?us-ascii?q?OZKr/dsUeU5uIzJOmBfJQauCvyK/Q86P7ui2I5lUYDcqmsx5QYdGu4E+9pI0?=
 =?us-ascii?q?WffHrgmNABEX0Fvll2cOu/gkCNFDFVejO/Wqs3/Rk0Dp/gCp3MFa63h7nU/j?=
 =?us-ascii?q?qyGKp0YXvHPX+FC3xtfrK+Wu8LbCbads18mzoGUqOsDYAozxqvvUngyqJgKu?=
 =?us-ascii?q?788TYZvtTuz44mtKXoiRgu+GksXIym2GaXQjQskw=3D=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-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os;i="5.72,310,1580770800"; d="scan'208";a="37054321"
Received: from unknown (HELO smtpin.csic.es) ([10.100.82.53])
 by cel1.sgai.csic.es with ESMTP; 26 Mar 2020 23:53:52 +0100
Received: from DESKTOP-3A8AAJ0 (unknown [81.0.1.109])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested) (Authenticated sender: 08930807E)
 by smtpin.csic.es (Postfix) with ESMTPSA id 53CAC10A8EC1
 for <bug-gnu-emacs@HIDDEN>; Thu, 26 Mar 2020 23:53:51 +0100 (CET)
From: =?utf-8?Q?Juan_Jos=C3=A9_Garc=C3=ADa_Ripoll?=
 <juanjose.garcia.ripoll@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.90; mailcap-mime-data erased when parsing mime parts
Date: Thu, 26 Mar 2020 23:53:44 +0100
Message-ID: <86eete20ef.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy]
X-Received-From: 161.111.10.57
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)


Symptoms:
- Start Emacs in a system without ~/.mailcap
- Launch Gnus
- Open an email / news that has some part in text/html
- mailcap-mime-data is erased and none of the default viewers are
available any more.

The problem persits if Emacs is customized using mailcap-add

Moreover, this deletion happens every time a mime part is decoded,
because, as shown in this commit
http://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/net/mailcap.el?h=3De=
macs-27&id=3Da5a967b43dd2810635d7a06ea70510c4a8e5c10f
mailcap-mime-info involes mailcap-parse-mailcaps with "force" set to T
every time Emacs tries to compute the list of viewers associated to a
mime part -- does not matter whether the part is displayed inline or
externally; the mere visualization of the email causes mailcap-mime-data
to be erased.

This bug breaks systems that do not rely on .mailcap for defining
external viewers. In particular, it breaks systems that require
pdf-tools or doc-view to view certain attachments. It also deletes
Emacs' traditional association list betwee mime types and actions.


In GNU Emacs 27.0.90 (build 5, x86_64-w64-mingw32)
 of 2020-03-25 built on DESKTOP-3A8AAJ0
Repository revision: 4860530f3c130c6f854ea83dcc03f59e535a33ba
Repository branch: emacs-27
Windowing system distributor 'Microsoft Corp.', version 10.0.18363
System Description: Microsoft Windows 10 Pro for Workstations (v10.0.1909.1=
8363.720)

Recent messages:
Loading c:/Users/juanj/OneDrive/Library/Emacs/init.el (source)...
Truncate long lines enabled
Loading dired...done
Loading sendmail...done
Loading gnus...done
Loading c:/Users/juanj/OneDrive/Library/Emacs/init.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.


Configured using:
 'configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install 'CFLAGS=3D-O2 -static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: ESN
  locale-coding-system: cp1252

Major mode: Help

Minor modes in effect:
  ido-vertical-mode: t
  save-place-mode: t
  savehist-mode: t
  gcmh-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort vc-git diff-mode mailalias bbdb-mua bbdb-com crm bbdb
bbdb-site timezone org-mime ox-org org-protocol ox-reveal cl ox-odt
rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse
nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table
ox-ascii ox-publish ox org-element avl-tree generator org org-macro
org-footnote org-pcomplete pcomplete org-list org-faces org-entities
org-version ob-python ob ob-tangle org-src ob-ref ob-lob ob-table ob-exp
ob-comint comint ansi-color ring ob-emacs-lisp ob-core ob-eval org-table
ol org-keys org-compat org-macs org-loaddefs noutline outline face-remap
mail-extr warnings emacsbug message rmc puny format-spec rfc822 mml
mml-sec epa derived epg epg-config mailabbrev gmm-utils mailheader
eieio-opt speedbar sb-image ezimage dframe cal-menu calendar
cal-loaddefs thingatpt help-fns radix-tree benchmark-init-modes
mm-decode mm-bodies mm-encode mail-parse rfc2231 debug backtrace
find-func mailcap pcase ido-vertical-mode ido gnus-win gnus nnheader
gnus-util rmail rmail-loaddefs text-property-search time-date sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired
dired-loaddefs grayscale-theme saveplace savehist edmacro kmacro
cus-edit cus-start cus-load wid-edit benchmark-init advice gcmh diminish
cl-extra help-mode use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core finder-inf tex-site info package easymenu browse-url
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads w32notify w32
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 406075 136288)
 (symbols 48 26199 18)
 (strings 32 147191 19372)
 (string-bytes 1 3986907)
 (vectors 16 49708)
 (vector-slots 8 1378984 300360)
 (floats 8 246 907)
 (intervals 56 690 197)
 (buffers 1000 16))

--=20
Juan Jos=C3=A9 Garc=C3=ADa Ripoll

Quantum Information and Foundations Group
Institute of Fundamental Physics IFF-CSIC
Calle Serrano 113b, Madrid 28006 Spain
http://quinfog.hbar.es - http://juanjose.garcia.ripoll




Acknowledgement sent to Juan José García Ripoll <juanjose.garcia.ripoll@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#40247; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 27 Mar 2020 07:15:02 UTC

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