From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53009: 29.0.50; mailcap does not use mailcap-mime-data if no mailcap files exist Date: Tue, 4 Jan 2022 17:03:50 +0100 (CET) Message-ID: Reply-To: Visuwesh Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14470"; mail-complaints-to="usenet@ciao.gmane.io" To: 53009@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 04 17:04:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1n4mIJ-0003UI-D2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 17:04:15 +0100 Original-Received: from localhost ([::1]:53648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4mII-0001W3-24 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 11:04:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4mI7-0001VE-Hs for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 11:04:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4mI7-0005rp-27 for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 11:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4mI6-0005rp-IG for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 11:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jan 2022 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53009 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Bug Gnu Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.164131223922535 (code B ref -1); Tue, 04 Jan 2022 16:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jan 2022 16:03:59 +0000 Original-Received: from localhost ([127.0.0.1]:38537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4mI3-0005rP-8i for submit@debbugs.gnu.org; Tue, 04 Jan 2022 11:03:59 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:55236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4mI0-0005rH-RZ for submit@debbugs.gnu.org; Tue, 04 Jan 2022 11:03:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4mI0-0001RP-Mj for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 11:03:56 -0500 Original-Received: from w1.tutanota.de ([81.3.6.162]:33862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4mHy-0005pH-39 for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 11:03:56 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id C2B51FBF6E9 for ; Tue, 4 Jan 2022 16:03:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641312230; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=Q2p/v7Yuu8YyHuY+WtR7qRXGwO7VYLtDhbDc9jPuwW4=; b=PDEPrjRzEGa4pH44FEQw8MhmCuU3+sVdBQYYRuMNBTkfOLK7Llg2xOs9D6qilT8B 5HRkbXdtod1W6o9UXayrhQbiE0ZdClwfTJ4XDBemsMzmyj79On+PuwZctDo/FUXyr2c HcsNbQosIqUiN3pMFU/w7fQtG5A7eH8Mx9rnTtsRHvi6ydqqq9zOsk5RYFb5qDD6nQa Y4uuiY08nylF0SBtYZOpjpwswARM8p+ezVZADCdM4L38xM618v+QMzXnEQNVSiVzeuk etIaXwnqL1mmpxnOzTMe8/b3wGNHflcFyVVf8ZXXWHJNAJDMmiYJk/xmCEBouv2tM7+ sLEOwy3O+A== Received-SPF: pass client-ip=81.3.6.162; envelope-from=visuwesh@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223647 Archived-At: If none of the default mailcap files used by `mailcap-parse-mailcaps' exist in the system, as in my case, `file-has-changed-p' returns nil every time so `mailcap--computed-mime-data' never gets populated with the values from `mailcap-parse-mailcaps'.=C2=A0 I have to manually evaluate the `cl-loop' form. This problem did not exist in da67e888d5360297cdf20cd3d2a1148727d16e5a where the `file-has-changed-p' call is not present.=C2=A0 Emacs 28 also doe= s not have this problem. Regards. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo versio= n 1.16.0, Xaw scroll bars) Repository revision: 4b7e73432cd07612e5225189e18696f755c8f954 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: NixOS 21.11 (Porcupine) Configured using: 'configure --prefix=3D/nix/store/rsgfliii3k06j8i77zn295yp87qbq0yr-emacs-git-20211221.0 --disable-build-details --with-modules --with-x-toolkit=3Dlucid --with-xft --with-cairo --with-native-compilation' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB Important settings: =C2=A0 value of $EMACSLOADPATH: /nix/store/x6fjznfj7wks7nvs6xgsk1q4fcd5rjrw= -emacs-packages-deps/share/emacs/site-lisp: =C2=A0 value of $EMACSNATIVELOADPATH: /nix/store/x6fjznfj7wks7nvs6xgsk1q4fc= d5rjrw-emacs-packages-deps/share/emacs/native-lisp:: =C2=A0 value of $LANG: en_GB.UTF-8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 tool-bar-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t =C2=A0 line-number-mode: t =C2=A0 indent-tabs-mode: t =C2=A0 transient-mark-mode: t Load-path shadows: /nix/store/rsgfliii3k06j8i77zn295yp87qbq0yr-emacs-git-20211221.0/share/emac= s/29.0.50/lisp/emacs-lisp/eieio-compat hides /nix/store/rsgfliii3k06j8i77zn= 295yp87qbq0yr-emacs-git-20211221.0/share/emacs/29.0.50/lisp/obsolete/eieio-= compat Features: (shadow sort mail-extr emacsbug message yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils time-date cl-macs seq gv subr-x byte-opt bytecomp byte-compile cconv mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailcap cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 62226 4604) (symbols 48 5893 0) (strings 32 17969 1840) (string-bytes 1 621596) (vectors 16 13280) (vector-slots 8 278596 7246) (floats 8 23 23) (intervals 56 371 0) (buffers 992 11))