[Top][All Lists]

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

Re: Mumi now uses raw emails and Mu

From: Ricardo Wurmus
Subject: Re: Mumi now uses raw emails and Mu
Date: Tue, 23 Jul 2019 15:49:24 +0200
User-agent: mu4e 1.2.0; emacs 26.2

Ricardo Wurmus <address@hidden> writes:

> Ricardo Wurmus <address@hidden> writes:
>> Forking Mu requires a rough understanding how it currently works.
>> Obviously, it must parse emails and extract certain headers.  We only
>> need it to extract a few more headers such as “X-Debbugs-Envelope-To”,
>> which contains the Debbugs bug number.  (I don’t know if that header is
>> set for *all* emails that end up in the bug tracker, but that’s
>> something we have to figure out.)
>> Mu is written in C and the header extraction probably happens in the C
>> code as well.
> I forked Mu and let it store the “X-Debbugs-Envelope-To” header in the
> database:[…]
> This seems to actually work.  Still don’t know if all emails actually
> have that header

They don’t.  Most obviously the first email that causes the bug to be
registered doesn’t include the header.  In mumi we can assume that the
file name of the email includes the bug number, though, so that’s an
easy albeit ugly workaround.


reply via email to

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