GNU bug report logs -
#49115
Mumi inserts spurious underscore in bug title
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#49115: Mumi inserts spurious underscore in bug title
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 49115 <at> debbugs.gnu.org.
--
49115: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49115
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi Arun,
> Thanks for the bug report!
>
> It's very strange, but I'm not able to reproduce this.
Thank you for your analysis!
> Even at https://issues.guix.gnu.org/49114 , only the "bug title" has the
> spurious underscore. The subject of the first message does not. Is the
> bug title something stored in the xapian index? Could it be that this
> was an older bug that has corrupted the xapian index?
As part of #60410 I rebuilt the xapian database (deleted it and then ran
“mumi fetch”), so it’s not that.
[… time passes …]
I think I found the culprit in mumi/debbugs.scm:
(define qp-pattern "=\\?UTF-8\\?Q\\?([^?]+)\\?=")
…
(let ((subject (or (assoc-ref properties "Subject") "")))
(if (string-contains subject "=?UTF-8?Q?")
(or (false-if-exception
(utf8->string
(quoted-printable-decode
(regexp-substitute/global #f qp-pattern
subject 'pre 1 'post))))
subject)
subject))
I’m probably not using quoted-printable-decode correctly. My apologies
for assuming a bug in Guile Email. I changed this with commit
9d7eb3c5efe6427a1a89fb3e4c7165259edff4dd, using parse-email-headers.
> If I understand correctly, mumi does not rebuild its xapian index. I
> think it should do so from time to time. It would help prevent old bugs
> from getting persisted in storage.
True. I’ll be sure to rebuild the index on the next upgrade.
> Cheers, and wish you a Happy New Year! :-)
Thank you, and a Happy New Year to you too!
--
Ricardo
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Guix,
See <http://issues.guix.gnu.org/49114>, which Mumi currently
titles
‘guix_ lint’ should catch certificate validation exceptions
There's no underscore in the original subject. It's also rendered
correctly in the grey ‘mail view’ div:
Tobias Geerinckx-Rice wrote seconds ago
‘guix lint’ should catch certificate validation exceptions
Perhaps due to my use of Unicode quotes. There's nothing
suspicious in the HTML.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 1 year and 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.