Re: [PATCH] doc: Allow rst2man.py as an alternative to rst2man
[notmuch-archives.git] / 98 / 33347d82cf1b68addb8f78f24c76d9e61bea9f
1 Return-Path: <dme@dme.org>\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 BAB5D40D17C\r
6         for <notmuch@notmuchmail.org>; Fri, 12 Nov 2010 00:09:03 -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: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham\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 0rx2Vb8MyJMV for <notmuch@notmuchmail.org>;\r
16         Fri, 12 Nov 2010 00:08:52 -0800 (PST)\r
17 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
18         [74.125.82.181])\r
19         by olra.theworths.org (Postfix) with ESMTP id 1733140DAD3\r
20         for <notmuch@notmuchmail.org>; Fri, 12 Nov 2010 00:08:51 -0800 (PST)\r
21 Received: by mail-wy0-f181.google.com with SMTP id 40so3118963wyb.26\r
22         for <notmuch@notmuchmail.org>; Fri, 12 Nov 2010 00:08:51 -0800 (PST)\r
23 Received: by 10.227.145.193 with SMTP id e1mr1972738wbv.226.1289549330934;\r
24         Fri, 12 Nov 2010 00:08:50 -0800 (PST)\r
25 Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com\r
26         [81.149.164.25])\r
27         by mx.google.com with ESMTPS id x28sm1919087weq.40.2010.11.12.00.08.48\r
28         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
29         Fri, 12 Nov 2010 00:08:49 -0800 (PST)\r
30 Received: by ut.hh.sledj.net (Postfix, from userid 1000)\r
31         id 26638594098; Fri, 12 Nov 2010 08:07:06 +0000 (GMT)\r
32 From: David Edmondson <dme@dme.org>\r
33 To: notmuch@notmuchmail.org\r
34 Subject: [PATCH 2/2] emacs: Use truenames for Fcc paths.\r
35 Date: Fri, 12 Nov 2010 08:07:02 +0000\r
36 Message-Id: <1289549222-10882-2-git-send-email-dme@dme.org>\r
37 X-Mailer: git-send-email 1.7.2.3\r
38 In-Reply-To: <1289549222-10882-1-git-send-email-dme@dme.org>\r
39 References: <1289549222-10882-1-git-send-email-dme@dme.org>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Fri, 12 Nov 2010 08:09:04 -0000\r
53 \r
54 Appease the test suite by using the true name for the Fcc directory\r
55 path, otherwise a value for `notmuch-database-path' which includes\r
56 symbolic links causes test suite failures.\r
57 ---\r
58  emacs/notmuch-maildir-fcc.el |   11 ++++++-----\r
59  1 files changed, 6 insertions(+), 5 deletions(-)\r
60 \r
61 diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el\r
62 index e5e0549..3f1c124 100644\r
63 --- a/emacs/notmuch-maildir-fcc.el\r
64 +++ b/emacs/notmuch-maildir-fcc.el\r
65 @@ -110,11 +110,12 @@ will NOT be removed or replaced."\r
66      (when subdir\r
67        (message-add-header\r
68         (concat "Fcc: "\r
69 -              ;; If the resulting directory is not an absolute path,\r
70 -              ;; prepend the standard notmuch database path.\r
71 -              (if (= (elt subdir 0) ?/)\r
72 -                  subdir\r
73 -                (concat (notmuch-database-path) "/" subdir))))\r
74 +              (file-truename\r
75 +               ;; If the resulting directory is not an absolute path,\r
76 +               ;; prepend the standard notmuch database path.\r
77 +               (if (= (elt subdir 0) ?/)\r
78 +                   subdir\r
79 +                 (concat (notmuch-database-path) "/" subdir)))))\r
80        \r
81        ;; finally test if fcc points to a valid maildir\r
82        (let ((fcc-header (message-fetch-field "Fcc")))\r
83 -- \r
84 1.7.2.3\r
85 \r