Re: [PATCH v4 04/16] Provide _notmuch_crypto_{set,get}_gpg_path
[notmuch-archives.git] / f8 / aea76401a6d8fe18df6977aa65c6a93cdf384c
1 Return-Path: <tassilo@member.fsf.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 276BD431FBC\r
6         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 08:57:34 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id lPTtLEafCU41 for <notmuch@notmuchmail.org>;\r
11         Mon, 23 Nov 2009 08:57:33 -0800 (PST)\r
12 Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15])\r
13         by olra.theworths.org (Postfix) with ESMTP id 5179D431FAE\r
14         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 08:57:33 -0800 (PST)\r
15 Received: from localhost (localhost [127.0.0.1])\r
16         by deliver.uni-koblenz.de (Postfix) with ESMTP id 3103B78A1FF9\r
17         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 17:57:32 +0100 (CET)\r
18 Received: from deliver.uni-koblenz.de ([127.0.0.1])\r
19         by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new,\r
20         port 10024) with ESMTP id 17346-04-2 for <notmuch@notmuchmail.org>;\r
21         Mon, 23 Nov 2009 17:57:31 +0100 (CET)\r
22 X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org\r
23 Received: from thinkpad.tsdh.de (unknown [141.26.95.131])\r
24         by deliver.uni-koblenz.de (Postfix) with ESMTP id ABDF178A1FD0\r
25         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 17:57:31 +0100 (CET)\r
26 From: Tassilo Horn <tassilo@member.fsf.org>\r
27 To: notmuch@notmuchmail.org\r
28 Mail-Copies-To: never\r
29 Date: Mon, 23 Nov 2009 17:57:31 +0100\r
30 Message-ID: <87tywlji10.fsf@thinkpad.tsdh.de>\r
31 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)\r
32 MIME-Version: 1.0\r
33 Content-Type: text/plain; charset=us-ascii\r
34 X-Virus-Scanned: amavisd-new at uni-koblenz.de\r
35 Subject: [notmuch] [PATCH] Return unpropertized strings for filename and\r
36         message-id\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.12\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Mon, 23 Nov 2009 16:57:34 -0000\r
50 \r
51 Hi!\r
52 \r
53 Here's my first patch.  It changes that notmuch-show-get-filename and\r
54 notmuch-show-get-message-id return simple strings and not propertited\r
55 strings.\r
56 \r
57 Bye,\r
58 Tassilo\r
59 \r
60 ---\r
61  notmuch.el |    4 ++--\r
62  1 files changed, 2 insertions(+), 2 deletions(-)\r
63 \r
64 diff --git a/notmuch.el b/notmuch.el\r
65 index 0cabbe2..c2839c0 100644\r
66 --- a/notmuch.el\r
67 +++ b/notmuch.el\r
68 @@ -169,7 +169,7 @@ Unlike builtin `next-line' this version accepts no arguments."\r
69      (if (not (looking-at notmuch-show-message-begin-regexp))\r
70         (re-search-backward notmuch-show-message-begin-regexp))\r
71      (re-search-forward notmuch-show-id-regexp)\r
72 -    (buffer-substring (match-beginning 1) (match-end 1))))\r
73 +    (buffer-substring-no-properties (match-beginning 1) (match-end 1))))\r
74  \r
75  (defun notmuch-show-get-filename ()\r
76    (save-excursion\r
77 @@ -177,7 +177,7 @@ Unlike builtin `next-line' this version accepts no arguments."\r
78      (if (not (looking-at notmuch-show-message-begin-regexp))\r
79         (re-search-backward notmuch-show-message-begin-regexp))\r
80      (re-search-forward notmuch-show-filename-regexp)\r
81 -    (buffer-substring (match-beginning 1) (match-end 1))))\r
82 +    (buffer-substring-no-properties (match-beginning 1) (match-end 1))))\r
83  \r
84  (defun notmuch-show-set-tags (tags)\r
85    (save-excursion\r
86 -- \r
87 1.6.5.3\r