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: Andreas Schwab
Subject: bug#52038: Completion for user mailcap entries
Date: Sun, 02 Oct 2022 10:59:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

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\" . <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
>
> The way I understand it the 2nd assoc list isn't a dotted pair where
> <info> contains dotted pairs.

This is wrong.  <info> is a list that is the cdr of the containing list.
In the definition of mailcap-mime-data the <info> 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."





reply via email to

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