Re: How does notmuch track mails?
[notmuch-archives.git] / 57 / ae2de0c4b49cb625666cbdca4d3943ec7a8bf3
1 Return-Path: <sshilovsky@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 999B8431FC9\r
6         for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 18:37:44 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id VJaqw7AaMIQY for <notmuch@notmuchmail.org>;\r
17         Fri, 17 Oct 2014 18:37:39 -0700 (PDT)\r
18 Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com\r
19         [209.85.214.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id CFA30431FB6\r
22         for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 18:37:39 -0700 (PDT)\r
23 Received: by mail-ob0-f177.google.com with SMTP id uy5so1457202obc.36\r
24         for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 18:37:39 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=mime-version:reply-to:in-reply-to:references:date:message-id\r
27         :subject:from:to:cc:content-type:content-transfer-encoding;\r
28         bh=upatq7kMej6RrhE6cIMwpCWG31SOaXMtPISdpJl/ZWU=;\r
29         b=zKFxiDMZ8svWIQ9xYtikQ9aSQ4DHPm6DaAqu8vFKSqb4uB60WSjbeJMqzGQUyVNMOr\r
30         W8EoSRzm8b+HPN2wg30fVFI2LxeSWhnndI4dFE0wTPQcJIy7fdtnQmWykSJq1AEySpvg\r
31         JvFXv0NsRs0Vw4NL2UAwsDC/LSdB2Yd8LBtB1ubS6J5va9uwg1D7zU/+BC3OJ2PXlPaG\r
32         ts5Rp406t+6GGl3hZRN34+9qDqBCyBfRzgb79pw9sftaQkN6Fi8t3lWOrJXcwEXWUdnf\r
33         dFH+QauLs+RkpRz5+FDoL2Mm+OjROqBIf4BqrMYANDBwQIwB6O83WFuXWCjAeh4RFp6n\r
34         yWzg==\r
35 MIME-Version: 1.0\r
36 X-Received: by 10.182.81.97 with SMTP id z1mr10014071obx.35.1413596259292;\r
37         Fri, 17 Oct 2014 18:37:39 -0700 (PDT)\r
38 Received: by 10.76.41.3 with HTTP; Fri, 17 Oct 2014 18:37:39 -0700 (PDT)\r
39 In-Reply-To: <87vbnime8n.fsf@servo.finestructure.net>\r
40 References:\r
41  <CAHc2pO1QjtqMw9rf0aWGup+Bs_ZpvsZ1bd32H0xiDdzQ_k5GFA@mail.gmail.com>\r
42         <87vbnime8n.fsf@servo.finestructure.net>\r
43 Date: Sat, 18 Oct 2014 05:37:39 +0400\r
44 Message-ID:\r
45  <CAHc2pO21-pahkpyT1jYk2ExWHDGiOO+weovMA-vd8s82LpqK4A@mail.gmail.com>\r
46 Subject: Re: Tabulation in multiline headers\r
47 From: Sergei Shilovsky <sshilovsky@gmail.com>\r
48 To: Jameson Graef Rollins <jrollins@finestructure.net>\r
49 Content-Type: text/plain; charset=UTF-8\r
50 Content-Transfer-Encoding: quoted-printable\r
51 Cc: notmuch@notmuchmail.org\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 Reply-To: sshilovsky@gmail.com\r
56 List-Id: "Use and development of the notmuch mail system."\r
57         <notmuch.notmuchmail.org>\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
61 List-Post: <mailto:notmuch@notmuchmail.org>\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
65 X-List-Received-Date: Sat, 18 Oct 2014 01:37:44 -0000\r
66 \r
67 > Hi, Sergei.  I'm not clear on where exactly you are seeing a problem\r
68 > with this tab in the subject line.  Is it showing up somewhere you think\r
69 > it shouldn't?\r
70 \r
71 It is shown in e.g. `notmuch show` as well as\r
72 'notmuch_message_get_header(m, "subject")`\r
73 \r
74 > I'm not sure libnotmuch should be doing any scrubbing of the message\r
75 > contents.  The emacs UI does seem to replace the tab with a space,\r
76 > though.  Maybe other MUAs should be doing the same?\r
77 \r
78 My point is that this tabulation character does not relate to the\r
79 contents of the header (this might be arguable though) and libnotmuch\r
80 should return the contents, not its representation on file system.\r
81 \r
82 --=20\r
83 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,\r
84 =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 =D0=A8=D0=B8=D0=BB=D0=BE=D0=B2=D1=81=\r
85 =D0=BA=D0=B8=D0=B9\r
86 Sergei Shilovsky\r