From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#52038: Completion for user mailcap entries Date: Sun, 02 Oct 2022 10:59:44 +0200 Message-ID: <874jwmmwhr.fsf@linux-m68k.org> References: <864k842vh7.fsf@gnu.org> <87czbkevs3.fsf@gnus.org> <86h70o80ws.fsf@gnu.org> <874jwnj1i0.fsf@gnus.org> <87pmfbfzma.fsf@gnus.org> <868rlymxbk.fsf@gnu.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="8394"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Lars Ingebrigtsen , 52038@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 11:00:40 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 1oeuq0-00020X-Lw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 11:00:40 +0200 Original-Received: from localhost ([::1]:43296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeupz-0004it-GL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 05:00:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeupP-0004gn-E5 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 05:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeupO-0007xt-Vf for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 05:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeupO-0003QW-Mo for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 05:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 09:00:02 +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.166470119013124 (code B ref 52038); Sun, 02 Oct 2022 09:00:02 +0000 Original-Received: (at 52038) by debbugs.gnu.org; 2 Oct 2022 08:59:50 +0000 Original-Received: from localhost ([127.0.0.1]:46260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeupB-0003Pc-VC for submit@debbugs.gnu.org; Sun, 02 Oct 2022 04:59:50 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:40147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeupA-0003PT-1h for 52038@debbugs.gnu.org; Sun, 02 Oct 2022 04:59:48 -0400 Original-Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4MgHwL640zz1r4pZ; Sun, 2 Oct 2022 10:59:46 +0200 (CEST) Original-Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4MgHwL3fXrz1qqlR; Sun, 2 Oct 2022 10:59:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id PwMoBhy2IHeF; Sun, 2 Oct 2022 10:59:45 +0200 (CEST) X-Auth-Info: R4sFbYIK4VGW0NOXb+wVvx/1ZpNwkVZsokgPT5yi3btqeDIxVshG/ZY/R9Pcvohn Original-Received: from tiger.home (dynamic-046-114-032-234.46.114.pool.telefonica.de [46.114.32.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 2 Oct 2022 10:59:45 +0200 (CEST) Original-Received: by tiger.home (Postfix, from userid 1000) id 987D911DB5C; Sun, 2 Oct 2022 10:59:44 +0200 (CEST) X-Yow: I'm rated PG-34!! In-Reply-To: <868rlymxbk.fsf@gnu.org> (Arash Esbati's message of "Sun, 02 Oct 2022 10:41:51 +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:244190 Archived-At: On Okt 02 2022, Arash Esbati wrote: > 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 > > The way I understand it the 2nd assoc list isn't a dotted pair where > contains dotted pairs. This is wrong. is a list that is the cdr of the containing list. In the definition of mailcap-mime-data the list is spliced into its parent, since you can always write '(a . (b c)) as '(a b c). -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."