From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jul 2019 07:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36771@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156386742724115 (code B ref -1); Tue, 23 Jul 2019 07:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2019 07:37:07 +0000 Received: from localhost ([127.0.0.1]:33994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hppMB-0006Gt-3S for submit@debbugs.gnu.org; Tue, 23 Jul 2019 03:37:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:53190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hppM8-0006Gi-62 for submit@debbugs.gnu.org; Tue, 23 Jul 2019 03:37:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44435) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hppM6-000722-RU for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2019 03:37:04 -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.5 required=5.0 tests=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 ) id 1hppM5-0001CV-ID for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2019 03:37:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45645) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hppM5-00018V-0M for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2019 03:37:01 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1AC8D2400E6 for ; Tue, 23 Jul 2019 09:36:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1563867418; bh=PAwWvGPBrxK4Q4EhnO1yq6foL4S0Zcs0M8lsC8pKT1s=; h=From:To:Subject:Date:From; b=UqfO1HiPNOtCH6hJ2Fn1dG0flyw8yM8TH/zNmpG8gxLLu1RdRRu/EQnBX/xtmE48m wvhdFBCfFnkDd3W4pt22cks4cxku7FcauP02gjMOk8WdtAOWrNNJjiOhKJwFKHScK7 hI/eJWxOB+ha8UNyRCPkfXtUAWR/cmJK2VX9XkjuSZ+c2YFfpyvyQfAmWHYT05GUXA cYT89wz6IpqYkgQdhnVR4wzRyQ1m0pGJ8XdFvzbfrwJCoNBJxAALnBC2BUPW5u4l0J 5tn6IikeWHcoMY+OBNFSF0/FQm9Vf1CQBGBuAnF9roUK0NjjETGqIaSUIrovOJhofP SoFoJNw1HyiLg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 45t9KP1Fl6z9rxT for ; Tue, 23 Jul 2019 09:36:56 +0200 (CEST) From: Tomas Nordin Date: Tue, 23 Jul 2019 09:36:56 +0200 Message-ID: <87ftmxnqw7.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.66 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello Emacs emacs -Q In the scratch buffer, eval each of the following: (require 'mailcap) (mailcap-mime-info "text/html") ;; -> "view %s" mailcap-prefer-mailcap-viewers ;; -> t (setq mailcap-prefer-mailcap-viewers nil) ;; -> nil (mailcap-mime-info "text/html") ;; -> "/usr/bin/firefox-esr %s" I expect the result of mailcap-mime-info to be "/usr/bin/firefox-esr %s" when mailcap-prefer-mailcap-viewers is t because the doc of that variable says If non-nil, prefer viewers specified in ~/.mailcap. If nil, the most specific viewer will be chosen, even if there is a general override in ~/.mailcap. For instance, if /etc/mailcap has an entry for "image/gif", that one will be chosen even if you have an entry for "image/*" in your ~/.mailcap file. and $ cat ~/.mailcap | grep '^text/html' text/html; /usr/bin/firefox-esr %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html What do you think? If you agree this is a bug, I could provide that a bisect session gave me that it started to behave this way by commit 7e47d44da4b54c518c5e09b4f3d58dafdd43033d Before that I think I got "/usr/bin/firefox-esr %s" by default. It was after a rebuild of emacs I noted a difference using notmuch trying to view some html part in external viewer. In addition I am confused why mailcap-mime-info produces "view %s" in any case because $ cat /etc/mailcap | grep '^text/html' text/html; /usr/bin/sensible-browser %s; description=HTML Text; nametemplate=%s.html text/html; /usr/bin/firefox-esr %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html text/html; gnome-builder %s; test=test -n "$DISPLAY" text/html; /usr/bin/w3m -T text/html %s; needsterminal; description=HTML Text; nametemplate=%s.html text/html; /usr/bin/w3m -I %{charset} -dump -T text/html %s; copiousoutput; description=HTML Text; nametemplate=%s.html I would naively think that the above would result in sensible-browser maybe. In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-07-16 built on fliptop Repository revision: 6253541c76a449780815f4a8fd75a9aa70b931ae Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Mark saved where search started tn-eval-insert-last-sexp mailcap "view %s" t nil "/usr/bin/firefox-esr %s" Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP Important settings: value of $LC_TIME: sv_SE.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec subr-x rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail mail-utils mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailcap misearch multi-isearch elec-pair tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 56375 8481) (symbols 48 6019 1) (strings 32 20246 1857) (string-bytes 1 576796) (vectors 16 9978) (vector-slots 8 127710 7016) (floats 8 18 40) (intervals 56 431 1) (buffers 992 12)) From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch References: <87ftmxnqw7.fsf@posteo.net> In-Reply-To: <87ftmxnqw7.fsf@posteo.net> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Oct 2019 23:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tomas Nordin Cc: Lars Ingebrigtsen , 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.157005955324517 (code B ref 36771); Wed, 02 Oct 2019 23:40:01 +0000 Received: (at 36771) by debbugs.gnu.org; 2 Oct 2019 23:39:13 +0000 Received: from localhost ([127.0.0.1]:38498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFoDA-0006NL-Pd for submit@debbugs.gnu.org; Wed, 02 Oct 2019 19:39:13 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:46694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFoD8-0006N8-EH for 36771@debbugs.gnu.org; Wed, 02 Oct 2019 19:39:11 -0400 Received: by mail-pg1-f180.google.com with SMTP id a3so533389pgm.13 for <36771@debbugs.gnu.org>; Wed, 02 Oct 2019 16:39:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=KMxLzcqgTo3AfAC3a7PofH2d2YD5CeUbaF9E84VmMU4=; b=pGUycqegNKF6aSJF6pPybmi1tQRyA7o3X4PlltttntdQtOA+OUoJsyogngbxlHFrEB sDlfNKO0/rd8ZMAKXXMUBZ5HT/7dkfwwkH5TsxQi25pexIzHCNEClcTbB52PWdjwR/g6 TihXNaBL60KmK6jtk0k+AY+W06aEUZRvB49/MqNFsaxyXQwTwbYcn/RMddNJZpyvKT9j JisWNoort2EeMklUeBnZ/YUAlXVKLEcL0mN/AGoyn5oBca/CK6DYockZriA8yYnOnQhi P/1bYRIyoknlPqrRpu+TEapqcMIVjBbZfWNypWCDV8YR1IKqOygofmrhNwpNxE1rWprX ok5w== X-Gm-Message-State: APjAAAX8GrkOmXioRIHKsw9SN9Po8JHSqcDLVBGm5sGdsFfdNzILlWRd Fimv7AW9Sq2DkVwtDnmTEMW/qAqOLKn4mXJPSGA= X-Google-Smtp-Source: APXvYqwuMqhM+AwLc4v+ETH1pCskecnyDvrAB06zqbBnPT81cVg8c6gE+ySIYFn9U0m+jL8SfdMn8mofeb4b0ehwnXU= X-Received: by 2002:a17:90b:8d1:: with SMTP id ds17mr7368106pjb.106.1570059544446; Wed, 02 Oct 2019 16:39:04 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Thu, 3 Oct 2019 01:38:53 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Tomas Nordin writes: > emacs -Q > > In the scratch buffer, eval each of the following: > > (require 'mailcap) > (mailcap-mime-info "text/html") ;; -> "view %s" > mailcap-prefer-mailcap-viewers ;; -> t > (setq mailcap-prefer-mailcap-viewers t) ;; -> nil > (mailcap-mime-info "text/html") ;; -> "/usr/bin/firefox-esr %s" > > I expect the result of mailcap-mime-info to be "/usr/bin/firefox-esr %s" > when mailcap-prefer-mailcap-viewers is t because the doc of that > variable says > > If non-nil, prefer viewers specified in ~/.mailcap. > If nil, the most specific viewer will be chosen, even if there is > a general override in ~/.mailcap. For instance, if /etc/mailcap > has an entry for "image/gif", that one will be chosen even if > you have an entry for "image/*" in your ~/.mailcap file. > > and > > $ cat ~/.mailcap | grep '^text/html' > text/html; /usr/bin/firefox-esr %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html > > What do you think? Indeed, this seems to me like it's contradicting the doc string. > If you agree this is a bug, I could provide that a bisect session gave > me that it started to behave this way by commit > 7e47d44da4b54c518c5e09b4f3d58dafdd43033d Lars, that commit is yours. What do you think? I tried digging into this code, but found mailcap.el too confusing overall... > In addition I am confused why mailcap-mime-info produces "view %s" in > any case because > > $ cat /etc/mailcap | grep '^text/html' > text/html; /usr/bin/sensible-browser %s; description=HTML Text; nametemplate=%s.html > text/html; /usr/bin/firefox-esr %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html > text/html; gnome-builder %s; test=test -n "$DISPLAY" > text/html; /usr/bin/w3m -T text/html %s; needsterminal; description=HTML Text; nametemplate=%s.html > text/html; /usr/bin/w3m -I %{charset} -dump -T text/html %s; copiousoutput; description=HTML Text; nametemplate=%s.html > > I would naively think that the above would result in sensible-browser maybe. Agreed. Here I would have expected to get the more specific entry, but I get the least specific entry. On my system "view" in /etc/mailcap is: text/*; view %s; edit=vim %s; compose=vim %s; test=test -x /usr/bin/vim; needsterminal text/*; view %s; edit=vi %s; compose=vi %s; needsterminal Best regards, Stefan Kangas From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2019 15:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: Tomas Nordin , 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.15701149859534 (code B ref 36771); Thu, 03 Oct 2019 15:04:01 +0000 Received: (at 36771) by debbugs.gnu.org; 3 Oct 2019 15:03:05 +0000 Received: from localhost ([127.0.0.1]:40787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG2dF-0002Ti-Cg for submit@debbugs.gnu.org; Thu, 03 Oct 2019 11:03:05 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG2dC-0002TY-Bq for 36771@debbugs.gnu.org; Thu, 03 Oct 2019 11:03:03 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iG2d8-0000Lz-LB; Thu, 03 Oct 2019 17:03:01 +0200 From: Lars Ingebrigtsen References: Date: Thu, 03 Oct 2019 17:02:58 +0200 In-Reply-To: (Stefan Kangas's message of "Thu, 3 Oct 2019 01:38:53 +0200") Message-ID: <87v9t5swgt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > Agreed. Here I would have expected to get the more specific entry, but > I get the least specific entry. On my system "view" in /etc/mailcap is: > > text/*; view %s; edit=vim %s; compose=vim %s; tes [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > Agreed. Here I would have expected to get the more specific entry, but > I get the least specific entry. On my system "view" in /etc/mailcap is: > > text/*; view %s; edit=vim %s; compose=vim %s; test=test -x > /usr/bin/vim; needsterminal > text/*; view %s; edit=vi %s; compose=vi %s; needsterminal You used to get the most specific entry no matter where it was, but I think the change was supposed to allow ~/.mailcap to override even more-specific entries in /etc/mailcap. So text/* in ~/.mailcap will win over text/plain in /etc/mailcap. But I haven't looked closely at this bug report... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2019 11:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen , Stefan Kangas Cc: 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.157027379111745 (code B ref 36771); Sat, 05 Oct 2019 11:10:01 +0000 Received: (at 36771) by debbugs.gnu.org; 5 Oct 2019 11:09:51 +0000 Received: from localhost ([127.0.0.1]:43793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGhwd-00033M-BS for submit@debbugs.gnu.org; Sat, 05 Oct 2019 07:09:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGhwa-000332-6d for 36771@debbugs.gnu.org; Sat, 05 Oct 2019 07:09:49 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0207F2400FB for <36771@debbugs.gnu.org>; Sat, 5 Oct 2019 13:09:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1570273780; bh=P2N9eNYernQ3BZUBFCX+ga49yY+4191Qwgpu6Gysb/4=; h=From:To:Cc:Subject:Date:From; b=PR2QulYZhSbtWsO2eihu/BTj2g6kanmH+Nqe8vRbodgWsDreG5pxB+69n08q6jg6v LaI5UgYn8ibBUaHZC+eQqxMb5fMdzAX/gdpc3YZIIBHKTvqUbhvmVTwdBdl7spHyBp IQGWJT+MJW2F1h8vKsLJfSngNo176NRI/SswU4LMn/kK2F6nUBT1oBNrL1E4ciQB1n e8HyXoxWVpcqrXToR8FxW08sgtOg9Cr6rVIqRkL422sqqQ9RIoHa9R4V8D0XJjO9Pf Cc3VGbQ2Is+HDNKuwpOUMz2XQTDhrM2h8Bd+6U2gYzdqmAA2qaIiafL55o+JiImOec 3rTseQtoDh1yQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46lkXf0lmyz9rxY; Sat, 5 Oct 2019 13:09:37 +0200 (CEST) From: Tomas Nordin In-Reply-To: <87v9t5swgt.fsf@gnus.org> References: <87v9t5swgt.fsf@gnus.org> Date: Sat, 05 Oct 2019 13:09:37 +0200 Message-ID: <87tv8no3da.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> Agreed. Here I would have expected to get the more specific entry, but >> I get the least specific entry. On my system "view" in /etc/mailcap is: >> >> text/*; view %s; edit=vim %s; compose=vim %s; test=test -x >> /usr/bin/vim; needsterminal >> text/*; view %s; edit=vi %s; compose=vi %s; needsterminal > > You used to get the most specific entry no matter where it was, but I > think the change was supposed to allow ~/.mailcap to override even > more-specific entries in /etc/mailcap. > > So text/* in ~/.mailcap will win over text/plain in /etc/mailcap. > > But I haven't looked closely at this bug report... I could maybe summarize the report by this bald claim: The effective logic of the `mailcap-prefer-mailcap-viewers` variable is reversed relative its docstring. What do you think? Best regards -- Tomas From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Oct 2019 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: Tomas Nordin , 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.157041574822662 (code B ref 36771); Mon, 07 Oct 2019 02:36:01 +0000 Received: (at 36771) by debbugs.gnu.org; 7 Oct 2019 02:35:48 +0000 Received: from localhost ([127.0.0.1]:47067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHIsG-0005tS-0Y for submit@debbugs.gnu.org; Sun, 06 Oct 2019 22:35:48 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHIsE-0005tK-7e for 36771@debbugs.gnu.org; Sun, 06 Oct 2019 22:35:47 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHIs9-0004Oz-Rj; Mon, 07 Oct 2019 04:35:44 +0200 From: Lars Ingebrigtsen References: <87ftmxnqw7.fsf@posteo.net> Date: Mon, 07 Oct 2019 04:35:41 +0200 In-Reply-To: (Stefan Kangas's message of "Thu, 3 Oct 2019 01:38:53 +0200") Message-ID: <87pnj9cmf6.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > I tried digging into this code, but found mailcap.el too confusing overall... Yes, it's really, really confusing. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > I tried digging into this code, but found mailcap.el too confusing overall... Yes, it's really, really confusing. There's so many reversals in the way things are sorted that it's amazing that it sometimes halfway works at all. I think I'll rewrite it some, and mark stuff explicitly where they came from (user/Emacs/system), and then use that to decide what to use. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Oct 2019 03:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: Tomas Nordin , 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.1570417286702 (code B ref 36771); Mon, 07 Oct 2019 03:02:02 +0000 Received: (at 36771) by debbugs.gnu.org; 7 Oct 2019 03:01:26 +0000 Received: from localhost ([127.0.0.1]:47084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHJH4-0000BG-2a for submit@debbugs.gnu.org; Sun, 06 Oct 2019 23:01:26 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHJGy-0000B0-St for 36771@debbugs.gnu.org; Sun, 06 Oct 2019 23:01:22 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHJGs-0004mN-PI; Mon, 07 Oct 2019 05:01:18 +0200 From: Lars Ingebrigtsen References: <87ftmxnqw7.fsf@posteo.net> <87pnj9cmf6.fsf@gnus.org> Date: Mon, 07 Oct 2019 05:01:14 +0200 In-Reply-To: <87pnj9cmf6.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Oct 2019 04:35:41 +0200") Message-ID: <87lftxcl8l.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> I tried digging into this code, but found mailcap.el too confusing overall... > > Yes, it's really, really confusing. > > There's so many reversals in [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> I tried digging into this code, but found mailcap.el too confusing overall... > > Yes, it's really, really confusing. > > There's so many reversals in the way things are sorted that it's amazing > that it sometimes halfway works at all. > > I think I'll rewrite it some, and mark stuff explicitly where they came > from (user/Emacs/system), and then use that to decide what to use. I think this should perhaps now work on the trunk -- at least it works in my test cases. Could you test? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 09 20:03:11 2019 Received: (at control) by debbugs.gnu.org; 10 Oct 2019 00:03:11 +0000 Received: from localhost ([127.0.0.1]:54497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iILvD-0000J1-1L for submit@debbugs.gnu.org; Wed, 09 Oct 2019 20:03:11 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iILv8-0000Ir-VH for control@debbugs.gnu.org; Wed, 09 Oct 2019 20:03:07 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iILv6-0006Mo-7x for control@debbugs.gnu.org; Thu, 10 Oct 2019 02:03:06 +0200 Date: Thu, 10 Oct 2019 02:03:03 +0200 Message-Id: <87woddsc08.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36771 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36771 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 36771 + moreinfo quit From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Oct 2019 09:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen , Stefan Kangas Cc: 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.157095973523066 (code B ref 36771); Sun, 13 Oct 2019 09:43:01 +0000 Received: (at 36771) by debbugs.gnu.org; 13 Oct 2019 09:42:15 +0000 Received: from localhost ([127.0.0.1]:34911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJaOE-0005zy-LG for submit@debbugs.gnu.org; Sun, 13 Oct 2019 05:42:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJaOC-0005zj-5M for 36771@debbugs.gnu.org; Sun, 13 Oct 2019 05:42:13 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 65BEB160061 for <36771@debbugs.gnu.org>; Sun, 13 Oct 2019 11:42:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1570959725; bh=DEHEtOnkzdQ0hwLyTIZPTS1sJkWJjFlZbrIc9b69Gvo=; h=From:To:Cc:Subject:Date:From; b=D8OTdp5wFDsdL4gTcpoj6IfZmGj3FdW0dlIJzoGSWDVMPgnx/KZiYeTcbjzkpLq5H BVA9cuI/wMeBNqWy4JMMN4YYrPhqNirMi/vGVmiG2WkjJOVVsoIEJTjWDSBIZjZefu 3rjCFQPeifeaAMIMyBaFx0ez52xHd9ql8rPHbm1lnfsp+/o9A++PoklyrVLCfLn4Zq DpXy/AIoty1VZDILfzK4tecgyiJK7AhILRP6RBzNAz7JK4BP3ETcsRbqfGkQrlmqab wsCnCHKpQDCdRHsG2v2Ki3sMsVHpl0e7Ehf82lWXIlpmwmC2WzPXYJipxHfe0AuoC1 xhJ9JmUW4rTIw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46rcCw0TdWz6tm5; Sun, 13 Oct 2019 11:42:03 +0200 (CEST) From: Tomas Nordin In-Reply-To: <87lftxcl8l.fsf@gnus.org> References: <87ftmxnqw7.fsf@posteo.net> <87pnj9cmf6.fsf@gnus.org> <87lftxcl8l.fsf@gnus.org> Date: Sun, 13 Oct 2019 11:42:03 +0200 Message-ID: <877e59asno.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> Stefan Kangas writes: >> >>> I tried digging into this code, but found mailcap.el too confusing overall... >> >> Yes, it's really, really confusing. >> >> There's so many reversals in the way things are sorted that it's amazing >> that it sometimes halfway works at all. >> >> I think I'll rewrite it some, and mark stuff explicitly where they came >> from (user/Emacs/system), and then use that to decide what to use. > > I think this should perhaps now work on the trunk -- at least it works > in my test cases. Could you test? I don't know how to properly test some patched lisp files without rebuilding and reinstalling. If I manually load the patched files seq.el and mailcap.el in my "normal" emacs it works as I would expect it to work, thanks. If I do emacs -Q and manually load those files and (require 'mailcap) (mailcap-mime-info "text/html") I get Debugger entered--Lisp error: (void-function when-let) ... But maybe that test case is confused. What do you think? Best regards -- Tomas From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Oct 2019 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Tomas Nordin Cc: Stefan Kangas , 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.157098711419331 (code B ref 36771); Sun, 13 Oct 2019 17:19:02 +0000 Received: (at 36771) by debbugs.gnu.org; 13 Oct 2019 17:18:34 +0000 Received: from localhost ([127.0.0.1]:36813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJhVp-00051j-Tj for submit@debbugs.gnu.org; Sun, 13 Oct 2019 13:18:34 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJhVo-00051a-B5 for 36771@debbugs.gnu.org; Sun, 13 Oct 2019 13:18:32 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJhVi-0003F3-OC; Sun, 13 Oct 2019 19:18:30 +0200 From: Lars Ingebrigtsen References: <87ftmxnqw7.fsf@posteo.net> <87pnj9cmf6.fsf@gnus.org> <87lftxcl8l.fsf@gnus.org> <877e59asno.fsf@posteo.net> Date: Sun, 13 Oct 2019 19:18:26 +0200 In-Reply-To: <877e59asno.fsf@posteo.net> (Tomas Nordin's message of "Sun, 13 Oct 2019 11:42:03 +0200") Message-ID: <8736fwd0nx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Tomas Nordin writes: > I don't know how to properly test some patched lisp files without > rebuilding and reinstalling. You don't need to reinstall, really -- just: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tomas Nordin writes: > I don't know how to properly test some patched lisp files without > rebuilding and reinstalling. You don't need to reinstall, really -- just: git clone git://git.savannah.gnu.org/emacs.git cd emacs make ./src/emacs & > If I manually load the patched files seq.el > and mailcap.el in my "normal" emacs it works as I would expect it to > work, thanks. Great; thanks for testing. Since this seems to work now, I'm closing this bug report. > If I do emacs -Q and manually load those files and > > (require 'mailcap) > (mailcap-mime-info "text/html") > > I get > > Debugger entered--Lisp error: (void-function when-let) > ... > > But maybe that test case is confused. What do you think? You probably need to say (require 'subr-x) in that case. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 13 13:18:47 2019 Received: (at control) by debbugs.gnu.org; 13 Oct 2019 17:18:47 +0000 Received: from localhost ([127.0.0.1]:36816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJhW3-00052F-8O for submit@debbugs.gnu.org; Sun, 13 Oct 2019 13:18:47 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJhW1-000526-G3 for control@debbugs.gnu.org; Sun, 13 Oct 2019 13:18:45 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJhVy-0003FE-NL for control@debbugs.gnu.org; Sun, 13 Oct 2019 19:18:44 +0200 Date: Sun, 13 Oct 2019 19:18:42 +0200 Message-Id: <871rvgd0nh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36771 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36771 fixed close 36771 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 36771 fixed close 36771 27.1 quit From unknown Fri Jun 13 11:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Oct 2019 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed moreinfo To: Lars Ingebrigtsen Cc: Stefan Kangas , 36771@debbugs.gnu.org Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.15709906287829 (code B ref 36771); Sun, 13 Oct 2019 18:18:02 +0000 Received: (at 36771) by debbugs.gnu.org; 13 Oct 2019 18:17:08 +0000 Received: from localhost ([127.0.0.1]:36903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJiQV-000222-Kz for submit@debbugs.gnu.org; Sun, 13 Oct 2019 14:17:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJiQS-0001uh-OB for 36771@debbugs.gnu.org; Sun, 13 Oct 2019 14:17:06 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2FB912400E6 for <36771@debbugs.gnu.org>; Sun, 13 Oct 2019 20:16:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1570990618; bh=hzdhCRZg1KY3lAI329cknYFIFZCqinLRHfzFoKyovl8=; h=From:To:Cc:Subject:Date:From; b=MpXWrEnQi/uPqP+IOeORkeagPf07CqJof+rVXgsF+kS9OiURPDBxQ587wMYJiqJU8 z+cG4h3S7yx/8kHq5ZzhwKJaaRQ9MlJTCXx0r/GjeKf+SvKgr+kyHyRUZYhSFbPrsZ M24rIs+xnq9PdxLWFjvrhAC7WR3lJHbbZlCdcGOUg37WISEm/J3seGd6LgrZRnThTN nPpeSmGVEuS/IirlvmVITfd9/+T4BZ4Dn0lYdprKYqMo99Ao5l1GiN6hgLW39ap8pz eR9tRE7nWyldm2Ap8qwyKLUQp6kmkxABaWujQVvECuNRhgg+xzjpsR6dWgo+8cz80z 7RlCJ6HN+kknw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46rqf01vLDz9rxX; Sun, 13 Oct 2019 20:16:56 +0200 (CEST) From: Tomas Nordin In-Reply-To: <8736fwd0nx.fsf@gnus.org> References: <87ftmxnqw7.fsf@posteo.net> <87pnj9cmf6.fsf@gnus.org> <87lftxcl8l.fsf@gnus.org> <877e59asno.fsf@posteo.net> <8736fwd0nx.fsf@gnus.org> Date: Sun, 13 Oct 2019 20:16:55 +0200 Message-ID: <87y2xoa4tk.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Tomas Nordin writes: > >> I don't know how to properly test some patched lisp files without >> rebuilding and reinstalling. > > You don't need to reinstall, really -- just: > > git clone git://git.savannah.gnu.org/emacs.git > cd emacs > make > ./src/emacs & Thats what I meant, it felt like an overkill to rebuild for some updated elisp. > >> If I manually load the patched files seq.el >> and mailcap.el in my "normal" emacs it works as I would expect it to >> work, thanks. > > Great; thanks for testing. Since this seems to work now, I'm closing > this bug report. Ok, thanks for fixing.