[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automatic MIME decoding in rmail
From: |
Evil Boris |
Subject: |
Re: automatic MIME decoding in rmail |
Date: |
Tue, 16 May 2006 10:55:28 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
Richard Stallman <address@hidden> writes:
> which sounded odd, until I realized that there is a ":?" missing in
> front of "format\\|". So perhaps one should change the regexp and
> put (match-string 1) back in?
>
> Ok.
Was the change ever made? It does not seem to be in CVS.
[Reminder: I am referring to undoing the change:
----------------------------
revision 1.425
date: 2006-04-19 09:55:40 +0000; author: rfrancoise; state: Exp; lines: +2 -2
(rmail-convert-to-babyl-format): Use second group from
`rmail-mime-charset-pattern'.
----------------------------
in rmail.el and changing the regexp
=====
;;;###autoload
(defvar rmail-mime-charset-pattern
(concat "^content-type:[ ]*text/plain;"
"\\(?:[ \t\n]*\\(format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*"
"[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?")
"Regexp to match MIME-charset specification in a header of message.
The first parenthesized expression should match the MIME-charset name.")
======
to
======
;;;###autoload
(defvar rmail-mime-charset-pattern
(concat "^content-type:[ ]*text/plain;"
"\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*"
"[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?")
"Regexp to match MIME-charset specification in a header of message.
The first parenthesized expression should match the MIME-charset name.")
=======
[just added "?:" in front of "format"]
Thanks,
--Boris