[PATCH] emacs: make use of `message-make-from'
[notmuch-archives.git] / f9 / bada0ca075333e228949ee3c55528da27b47d8
1 Return-Path: <sojkam1@fel.cvut.cz>\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 23763431FB6\r
6         for <notmuch@notmuchmail.org>; Wed, 24 Nov 2010 01:26:01 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id yFSpLyKOGgPh for <notmuch@notmuchmail.org>;\r
16         Wed, 24 Nov 2010 01:26:00 -0800 (PST)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 498CE431FB5\r
19         for <notmuch@notmuchmail.org>; Wed, 24 Nov 2010 01:26:00 -0800 (PST)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 2CF2F3CFE75;\r
22         Wed, 24 Nov 2010 10:25:59 +0100 (CET)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id i5oppBhz253u; Wed, 24 Nov 2010 10:25:53 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id D3D223CFE74;\r
30         Wed, 24 Nov 2010 10:25:53 +0100 (CET)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id D8262FA004;\r
34         Wed, 24 Nov 2010 10:25:53 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1PLBbt-0001m4-F8; Wed, 24 Nov 2010 10:25:53 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
40 Subject: Re: Inconsistent output from "notmuch search --output=<foo>"\r
41 In-Reply-To: <871v6b79s0.fsf@yoom.home.cworth.org>\r
42 References: <871v6b79s0.fsf@yoom.home.cworth.org>\r
43 User-Agent: Notmuch/0.5-11-g48b5e00 (http://notmuchmail.org) Emacs/23.2.1\r
44         (x86_64-pc-linux-gnu)\r
45 Date: Wed, 24 Nov 2010 10:25:53 +0100\r
46 Message-ID: <87oc9f9iou.fsf@steelpick.2x.cz>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Wed, 24 Nov 2010 09:26:01 -0000\r
62 \r
63 On Wed, 24 Nov 2010, Carl Worth wrote:\r
64 > Michal, in trying to add a test for that bug, I found that the current\r
65 > test suite infrastructure can't catch it because the shell's $()\r
66 > construct doesn't distinguish whether that final newline is present or\r
67 > not. I don't see an easy way to fix this, (other than making all tests\r
68 > put results into files and making test_expect_equal accept those\r
69 > filenames). Do you see any easy fix?\r
70 \r
71 Unfortunately no. I did the same in\r
72 id:"1289384870-15199-1-git-send-email-sojkam1@fel.cvut.cz"\r
73 \r
74 In fact I find much easier writing\r
75   cmd > output\r
76   cmd2 >> output\r
77 than\r
78   output=$(cmd)\r
79   output+=$(cmd)\r
80 \r
81 -Michal\r