[PATCH 6/8] CLI: refactor dumping of tags.
[notmuch-archives.git] / d8 / 24deeb3b6d1a34d184132c482a468d40f8c9ef
1 Return-Path: <pieter@praet.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 96EE9431E64\r
6         for <notmuch@notmuchmail.org>; Sun, 29 Jan 2012 23:20:59 -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.677\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.677 tagged_above=-999 required=5\r
12         tests=[HS_INDEX_PARAM=0.023, RCVD_IN_DNSWL_LOW=-0.7]\r
13         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 Z1K6H6fcA-zc for <notmuch@notmuchmail.org>;\r
17         Sun, 29 Jan 2012 23:20:59 -0800 (PST)\r
18 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
19         [209.85.212.181]) (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 C69B8431FBC\r
22         for <notmuch@notmuchmail.org>; Sun, 29 Jan 2012 23:20:58 -0800 (PST)\r
23 Received: by wibhi8 with SMTP id hi8so3325907wib.26\r
24         for <notmuch@notmuchmail.org>; Sun, 29 Jan 2012 23:20:57 -0800 (PST)\r
25 Received: by 10.180.84.105 with SMTP id x9mr25857743wiy.19.1327908056352;\r
26         Sun, 29 Jan 2012 23:20:56 -0800 (PST)\r
27 Received: from localhost ([109.131.39.11])\r
28         by mx.google.com with ESMTPS id l8sm49538247wiy.5.2012.01.29.23.20.55\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Sun, 29 Jan 2012 23:20:55 -0800 (PST)\r
31 From: Pieter Praet <pieter@praet.org>\r
32 To: David Edmondson <dme@dme.org>\r
33 Subject: Re: [PATCH v4?] emacs: add `notmuch-show-stash-mlarchive-link{,\r
34         -and-go}'\r
35 In-Reply-To: <cunsjj1jyfj.fsf@hotblack-desiato.hh.sledj.net>\r
36 References: <878vkt35ao.fsf@praet.org>\r
37         <1327653866-30084-1-git-send-email-pieter@praet.org>\r
38         <cunsjj1jyfj.fsf@hotblack-desiato.hh.sledj.net>\r
39 User-Agent: Notmuch/0.11+132~ga81001f (http://notmuchmail.org) Emacs/23.3.1\r
40         (x86_64-unknown-linux-gnu)\r
41 Date: Mon, 30 Jan 2012 08:18:56 +0100\r
42 Message-ID: <87vcnt64kf.fsf@praet.org>\r
43 MIME-Version: 1.0\r
44 Content-Type: text/plain; charset=us-ascii\r
45 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Mon, 30 Jan 2012 07:20:59 -0000\r
59 \r
60 On Fri, 27 Jan 2012 09:18:40 +0000, David Edmondson <dme@dme.org> wrote:\r
61 > Much nicer :-)\r
62\r
63 > On Fri, 27 Jan 2012 09:44:26 +0100, Pieter Praet <pieter@praet.org> wrote:\r
64 > > +(defcustom notmuch-show-stash-mlarchive-link-alist\r
65 > > +  '(("Gmane" . "http://mid.gmane.org/")\r
66 > > +    ("MARC" . "http://marc.info/?i=")\r
67 > > +    ("Mail Archive, The" . "http://mail-archive.com/search?l=mid&q=")\r
68 > > +    ;; FIXME: can these services be searched by `Message-Id' ?\r
69 > > +    ;; ("MarkMail" . "http://markmail.org/")\r
70 > > +    ;; ("Nabble" . "http://nabble.com/")\r
71 > > +    ;; ("opensubscriber" . "http://opensubscriber.com/")\r
72 > > +    )\r
73 > > +  "List of Mailing List Archives to use when stashing links."\r
74 > > +  :type '(alist :key-type (string :tag "Name")\r
75 > > +           :value-type (string :tag "URL"))\r
76 > > +  :group 'notmuch-show)\r
77\r
78 > Add a comment saying that the URI is the result of concatenating this\r
79 > with the message id.\r
80\r
81 \r
82 Done.\r
83 \r
84 \r
85 > If someone wants to do something more complicated they can submit\r
86 > another patch (maybe it should be an option to have the `cdr' be a\r
87 > function that is called with the message id as an argument?).\r
88\r
89 > > +      (substring (notmuch-show-get-message-id) 4 -1))))\r
90\r
91 > We should put this logic in one place and re-use it.\r
92 \r
93 Done.\r
94 \r
95 \r
96 New patches here:\r
97   id:"1327907574-12760-1-git-send-email-pieter@praet.org"\r
98   id:"1327907574-12760-2-git-send-email-pieter@praet.org"\r
99 \r
100 For some reason, I've marked them as "v2". :/\r
101 \r
102 Note to self: don't send patches while you're still half asleep...\r
103 \r
104 \r
105 Peace\r
106 \r
107 -- \r
108 Pieter\r