"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
>>>>> "Simon" == Simon Josefsson
<jas(a)extundo.com> writes:
>> Um, what is the canonical way to do mail-extr.el-like stuff
>> then?
Simon> Do you mean how to use it? Like I said, call it with ASCII
Simon> only strings.
No, I mean "if we're going to let mail-extr.el bitrot, what are we
going to use instead?" and it seems the answer is, there's nothing.
Oh, I missunderstood. There is `gnus-extract-address-components',
which is heuristic but short, handles non-ASCII and often does a
better job than mail-extr.el.
So we can't just let mail-extr.el bitrot, and I conclude it is
necessary to do some work on it.
Ok. I was just saying that if someone is going to invest alot of work
on it, it might be better spent rewriting it. I doubt anyone would
object to small fixes to solve specific bugs in mail-extr.el.
Simon> In fact, emacs doesn't have a correct RFC 2822
parser
Simon> anywhere, which is a shame.)
Thank larsi, who resisted all attempts to even use the relatively
rigorous functions available in rfc822.el, let alone a real parser.
(According to Steve Baur.)
rfc822.el doesn't return full names from addresses, I think, and
writing a real parser is alot of work, so I can understand that.