From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6G7LMu2isWOzaAAAbAwnHQ (envelope-from ) for ; Sun, 01 Jan 2023 16:12:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4EbEMu2isWP0XQAA9RJhRA (envelope-from ) for ; Sun, 01 Jan 2023 16:12:45 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C8CE72F526 for ; Sun, 1 Jan 2023 16:12:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pC00O-0004pd-P4; Sun, 01 Jan 2023 10:12:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pC00L-0004ox-9J for bug-guix@gnu.org; Sun, 01 Jan 2023 10:12:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pC00K-0003hg-UF for bug-guix@gnu.org; Sun, 01 Jan 2023 10:12:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pC00K-000886-4k for bug-guix@gnu.org; Sun, 01 Jan 2023 10:12:04 -0500 Subject: bug#49115: Mumi inserts spurious underscore in bug title Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 01 Jan 2023 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 49115 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Arun Isaac Cc: 49115-done@debbugs.gnu.org, guile-email@systemreboot.net Mail-Followup-To: 49115@debbugs.gnu.org, rekado@elephly.net, me@tobias.gr Received: via spool by 49115-done@debbugs.gnu.org id=D49115.167258587831066 (code D ref 49115); Sun, 01 Jan 2023 15:12:02 +0000 Received: (at 49115-done) by debbugs.gnu.org; 1 Jan 2023 15:11:18 +0000 Received: from localhost ([127.0.0.1]:40567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBzzX-00084w-Tk for submit@debbugs.gnu.org; Sun, 01 Jan 2023 10:11:16 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBzzS-00084Y-9U for 49115-done@debbugs.gnu.org; Sun, 01 Jan 2023 10:11:12 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1672585868; cv=none; d=zohomail.com; s=zohoarc; b=E0lP4+dtJomkDGOEnbL8FeIcvn9oujlusPducyMV3YEv4VgoWwM1RkdwQ6MmRae7lWq7HxNWGtlkKdHYnVDCJF80zFDx5dsJUK/f5UNHostPywtK+Qq3fBPY2kPf9yF+q8Pk7YqJk5FDlluVB9KWKl0LW3ZRKCEODE1Y6g3i380= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672585868; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=tAp0KOj/vn1NTRlCVuszFEMJ/wr7FAGMT9YCMxKnx4k=; b=JexfuXZ1JIqCDoIAN0AvhWahqZKhbLx9Ee9q52c1njxzdi0OfF+/m2Tj0a9pgeVcqR8IeczWvQ8ecqx38Z7J/YeOVJ3glL3f+OmTw/YtCX35okIYW9BaaCWCB6OC7rI+hl8tClUm/zfM0wGRE6uvO6AOoRGhv3iP8bOpI1GP6gA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1672585868; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=tAp0KOj/vn1NTRlCVuszFEMJ/wr7FAGMT9YCMxKnx4k=; b=JG70WjxTOOoZIAGiffsAkTCkQm6C9utDb7901UaI9GK0u0AwW+eqJrdJFCS1R7bv GL+XYEuM1TuGYYSP9d/PB6wOnRsqwyndr/3e72CVCekjtU/oQ/ZF/xd+jqWfZogy4Y2 ADlz8m3yZykOHK/9UYrc89pzuN7chXyvm5m8endw= Received: from localhost (i5E862C54.versanet.de [94.134.44.84]) by mx.zohomail.com with SMTPS id 1672585866896479.36782372790617; Sun, 1 Jan 2023 07:11:06 -0800 (PST) References: <87y1qwbdlr.fsf@elephly.net> <87ilhungt4.fsf@systemreboot.net> User-agent: mu4e 1.8.13; emacs 28.2 From: Ricardo Wurmus Date: Sun, 01 Jan 2023 13:15:02 +0100 In-reply-to: <87ilhungt4.fsf@systemreboot.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87ilhq5lyw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1672585965; a=rsa-sha256; cv=fail; b=JMlWW9ce8hNtCru8+fwbghZM40WnnfyLXq8mFHNAI63+D/YrmMmJ7WyPcSZdIpYg1Tlvs/ ppLfwkkEUXcfv/GmK3d2XddYjKd0zJW9YJHY1oiqlB9NR38TvfCW2xDNUlDIvZaeZZ64ZH Ergd3aqhmf/kjTAURaMv8WreRvZEx35k4Bli4CFxR97YY/Sr3cZSLyAieDr2gBg3C1uEKg gsxTYIQ7Xd4i/f7c0D2h3NGf5QoXzScxdYIamTYjro3lqkMpGs/WHxbJ9C3g0AM1G+VCWi z7E6LQbR5M0UV9kMD8URP3VH7C3tU/gyh3+nfS3LZRuSqweImt9OqAxlHVGgCg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=JG70WjxT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672585965; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tAp0KOj/vn1NTRlCVuszFEMJ/wr7FAGMT9YCMxKnx4k=; b=L6jXk2U4vaW1zSfTWIPZdNxOkv2Rv7OVjaD4X4lbx8X2AzqzFUNO8MvVAE9MpNhYv2TZvB l7kvERyX2cyXxL79/WNLy3d5d09vg37ZM7O4mUd4omX/sKxDnfhBUgxRnqpeFy//JouSqK tGOcfp0fQhPYY6v05daWyLZjGY7khp8zJfBygLZ8shUCJKz4bJDR8Inpbzlc9iPJxzA/Ys N/eU7udaAluZTYxT2ZgcTjW1lqq8uBF1szHYzYbd8W4sYAzGkwL76IU/K+51w1IwE3VHcl 148kkhM/QyBGyjznBztcmBQiveTgfXPp4tuEf23tV4pHn8P2Zly7TXGT6A40Cw== X-Spam-Score: -2.15 X-Migadu-Queue-Id: C8CE72F526 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=JG70WjxT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.15 X-TUID: +AM1DP3BtvtW 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 =E2=80=9Cmumi fetch=E2=80=9D), so it=E2=80=99s not that. [=E2=80=A6 time passes =E2=80=A6] I think I found the culprit in mumi/debbugs.scm: (define qp-pattern "=3D\\?UTF-8\\?Q\\?([^?]+)\\?=3D") =E2=80=A6 (let ((subject (or (assoc-ref properties "Subject") ""))) (if (string-contains subject "=3D?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=E2=80=99m probably not using quoted-printable-decode correctly. My apolo= gies 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=E2=80=99ll 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! --=20 Ricardo