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: Sun, 13 Oct 2019 11:42:03 +0200 Message-ID: <877e59asno.fsf@posteo.net> References: <87ftmxnqw7.fsf@posteo.net> <87pnj9cmf6.fsf@gnus.org> <87lftxcl8l.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="48588"; 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 Sun Oct 13 11:43:13 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 1iJaP8-000CVK-ER for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Oct 2019 11:43:10 +0200 Original-Received: from localhost ([::1]:38474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJaP6-0000Yr-L6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Oct 2019 05:43:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55920) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJaP1-0000Yh-3u for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 05:43:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJaP0-0000h7-6y for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 05:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54323) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJaOz-0000gx-Rk for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 05:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJaOz-000614-OY for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2019 05:43:01 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 36771-submit@debbugs.gnu.org id=B36771.157095973523066 (code B ref 36771); Sun, 13 Oct 2019 09:43:01 +0000 Original-Received: (at 36771) by debbugs.gnu.org; 13 Oct 2019 09:42:15 +0000 Original-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 Original-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 Original-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== Original-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) In-Reply-To: <87lftxcl8l.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:169109 Archived-At: 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