From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.bugs Subject: bug#36771: 27.0.50; mailcap documentation and effect missmatch Date: Sat, 05 Oct 2019 13:09:37 +0200 Message-ID: <87tv8no3da.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> References: <87v9t5swgt.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="92248"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36771@debbugs.gnu.org To: Lars Ingebrigtsen , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 05 13:10:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGhwz-000Npk-0d for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Oct 2019 13:10:13 +0200 Original-Received: from localhost ([::1]:55686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGhwx-0003q8-QF for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Oct 2019 07:10:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44956) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGhwr-0003q0-Nc for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2019 07:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGhwq-0000ov-OL for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2019 07:10:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGhwo-0000oQ-6Q for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2019 07:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iGhwn-00033r-Ve for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2019 07:10:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.157027379111745 (code B ref 36771); Sat, 05 Oct 2019 11:10:01 +0000 Original-Received: (at 36771) by debbugs.gnu.org; 5 Oct 2019 11:09:51 +0000 Original-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 Original-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 Original-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== Original-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) In-Reply-To: <87v9t5swgt.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168364 Archived-At: 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