From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.bugs Subject: bug#52038: Completion for user mailcap entries Date: Sun, 02 Oct 2022 10:41:51 +0200 Message-ID: <868rlymxbk.fsf@gnu.org> References: <864k842vh7.fsf@gnu.org> <87czbkevs3.fsf@gnus.org> <86h70o80ws.fsf@gnu.org> <874jwnj1i0.fsf@gnus.org> <87pmfbfzma.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7805"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: 52038@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 10:43:09 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 1oeuZ3-0001qq-Ao for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 10:43:09 +0200 Original-Received: from localhost ([::1]:40526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeuZ2-000121-3Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 04:43:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeuYw-00011t-C6 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeuYv-0005wJ-V6 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeuYv-0002xO-Qd for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 08:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52038 X-GNU-PR-Package: emacs Original-Received: via spool by 52038-submit@debbugs.gnu.org id=B52038.166470013711313 (code B ref 52038); Sun, 02 Oct 2022 08:43:01 +0000 Original-Received: (at 52038) by debbugs.gnu.org; 2 Oct 2022 08:42:17 +0000 Original-Received: from localhost ([127.0.0.1]:46221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeuYC-0002wO-Pl for submit@debbugs.gnu.org; Sun, 02 Oct 2022 04:42:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeuY9-0002wA-PE for 52038@debbugs.gnu.org; Sun, 02 Oct 2022 04:42:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeuY4-0005p1-AN; Sun, 02 Oct 2022 04:42:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=vWHjpWaWNJD83uovt3ZZcLabsofXiWcL4pln1W5cnKI=; b=mznX9CEbhuV73EPGThxg FJHhIKIa2p8LBHG1Tp/Nah1uKBR0pNxFlPRDI4guWdpcoCuculugBYABbsydF0ryYl71DpF4L9m0c I+i515dCAInv5MjfYLAsLvbXPwRIYNaIDknD2ndnzCks6vXQffhRZOmLXx9uJ+sVysgjf/cxTeql6 BoNfYyBTWM61pF/rPnZN4bC8L2CVXPWMESnHwwi9SydaCr70iIEhMy1QxDpYFPyqgl2CzHWtP1vdO y5qUwO/RoN7QlKTTvLdLHbtKWEdRWlKvuNAribzU8N6zf3aBpJz+olXzELvk681QF5IEXB20IPfOp msTzeRvV8o6Trw==; Original-Received: from pd9fb7965.dip0.t-ipconnect.de ([217.251.121.101]:54063 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeuY3-0002B4-Mj; Sun, 02 Oct 2022 04:42:08 -0400 In-Reply-To: <87pmfbfzma.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 01 Oct 2022 15:21:49 +0200") 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:244185 Archived-At: Lars Ingebrigtsen writes: > I've now fixed this in Emacs 29 -- there were several instances of > confusion between regexp-quoted minor parts and not, but I think I've > got them all. (If you see more, please say so.) Thanks. I also had a look and I think you have them all. While we're at it, I think the docstring of `mailcap-mime-data' could also be touched: --8<---------------cut here---------------start------------->8--- diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index aa0c172655..a0355f876b 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el @@ -303,9 +303,9 @@ mailcap-mime-data Which looks like: ----------------- ((\"application\" - (\"postscript\" . )) + (\"postscript\" )) (\"text\" - (\"plain\" . ))) + (\"plain\" ))) Where is another assoc list of the various information related to the mailcap RFC 1524. This is keyed on the lowercase --8<---------------cut here---------------end--------------->8--- The way I understand it the 2nd assoc list isn't a dotted pair where contains dotted pairs. A description for FLAG is also missing, but I'm not familiar enough with the code to make a suggestion. Best, Arash