GNU bug report logs -
#13808
Gnus gratuiously messes with the encoding of attachments
Previous Next
Reported by: David Kastrup <dak <at> gnu.org>
Date: Sun, 24 Feb 2013 23:28:01 UTC
Severity: normal
Tags: fixed
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
The mml encoding code is headache-inducing, probably because it was
written to support non-Mule and XEmacs and modern Emacs at the same
time. So you have stuff like:
(defun mm-find-charset-region (b e)
"Return a list of Emacs charsets in the region B to E."
(cond
((mm-multibyte-p)
[...]
(t
;; We are in a unibyte buffer, so we futz around a bit.
[...]
(car (last (assq mail-parse-charset
mm-mime-mule-charset-alist)))))
(list 'ascii (or charset 'latin-iso8859-1)))))))))
which is part of what's biting us here.
I wonder whether the best solution here is to just rewrite the mml code
completely. There's so much... magic in the various code paths.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 8 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.