bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52038: Completion for user mailcap entries


From: Arash Esbati
Subject: bug#52038: Completion for user mailcap entries
Date: Sun, 02 Oct 2022 10:41:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Lars Ingebrigtsen <larsi@gnus.org> 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\" . <info>))
+   (\"postscript\" <info>))
   (\"text\"
-   (\"plain\" . <info>)))
+   (\"plain\" <info>)))

 Where <info> 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
<info> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]