[PATCH v2 05/14] cli/reply: reorganize create_reply_message()
[notmuch-archives.git] / cd / cd7264494f13772cbeec77a27b0f57c5259890
1 Return-Path: <bart@ursys.com.au>\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 3C82F431FBC\r
6         for <notmuch@notmuchmail.org>; Sun, 21 Jul 2013 15:50:54 -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: 1.274\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.274 tagged_above=-999 required=5\r
12         tests=[RDNS_NONE=1.274] 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 7rR0qzvOvRBv for <notmuch@notmuchmail.org>;\r
16         Sun, 21 Jul 2013 15:50:48 -0700 (PDT)\r
17 Received: from bit.local (unknown [203.7.149.244])\r
18         by olra.theworths.org (Postfix) with ESMTP id BEE95431FB6\r
19         for <notmuch@notmuchmail.org>; Sun, 21 Jul 2013 15:50:47 -0700 (PDT)\r
20 Received: by bit.local (Postfix, from userid 501)\r
21         id 502212C6627B; Mon, 22 Jul 2013 08:50:45 +1000 (EST)\r
22 From: "Bart Bunting" <bart@ursys.com.au>\r
23 To: Mark Walters <markwalters1009@gmail.com>,\r
24         Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
25 Subject: Re: Links in email messages\r
26 In-Reply-To: <87ob9w8gsj.fsf@qmul.ac.uk>\r
27 References: <m2y59875el.fsf@ursys.com.au>\r
28         <CAMoJFUtbumm=C4M--CJJ=Q-4Qxf9YmgXnZGti-Aenb4vp-FAqA@mail.gmail.com>\r
29         <m2bo632yut.fsf@ursys.com.au> <87ob9w8gsj.fsf@qmul.ac.uk>\r
30 User-Agent: Notmuch/0.15.2+217~gb60fb33 (http://notmuchmail.org)\r
31         Emacs/24.3.50.1 (x86_64-apple-darwin12.4.0)\r
32 Date: Mon, 22 Jul 2013 08:50:45 +1000\r
33 Message-ID: <m2d2qbv86y.fsf@ursys.com.au>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain\r
36 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\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: Sun, 21 Jul 2013 22:50:54 -0000\r
50 \r
51 That sounds exactly like what I was hoping for.\r
52 \r
53 \r
54 Kind regards\r
55 Bart\r
56 \r
57 Mark Walters <markwalters1009@gmail.com> writes:\r
58 \r
59 > Hi\r
60 >\r
61 > I think C-c RET works to follow the link. At least that seems to do the\r
62 > same as clicking it.\r
63 >\r
64 > I agree that just RET would be nice, but also would like the links to be\r
65 > treated as buttons so next-button (ie TAB) would stop at them. What do\r
66 > other people think?\r
67 >\r
68 > (I have a preliminary implementation that does this)\r
69 >\r
70 > Best wishes\r
71 >\r
72 > Mark\r
73 >\r
74 >\r
75 >\r
76 >\r
77 > Bart Bunting <bart@ursys.com.au> writes:\r
78 >\r
79 >> Adam,\r
80 >>\r
81 >> Thanks for the tip.  That is obvious now you point it out.\r
82 >>\r
83 >> I too would welcome an implementation that allowed hitting enter to\r
84 >> follow a link.  Hitting another key though is not too arduous.\r
85 >>\r
86 >> Guyzmo, no problems regarding your interpretation of my question.  I\r
87 >> should have been more specific with regards to emacs.\r
88 >>\r
89 >>  \r
90 >>\r
91 >> Kind regards\r
92 >>\r
93 >> Bart\r
94 >>\r
95 >> Adam Wolfe Gordon <awg+notmuch@xvx.ca> writes:\r
96 >>\r
97 >>> Hi Bart,\r
98 >>>\r
99 >>> On Sun, Jul 14, 2013 at 11:34 PM, Bart Bunting <bart@ursys.com.au> wrote:\r
100 >>>> I am having trouble activating links in emails.  I guess what I\r
101 >>>> intuitively expect to happen is that if i hit enter on a link that it\r
102 >>>> opens up using browse-url-at-point or similar.\r
103 >>>>\r
104 >>>> All that appears to happen is that the message I'm viewing collapses.\r
105 >>>>\r
106 >>>> I would also if possible like urls to be active in text messages as\r
107 >>>> well.\r
108 >>>>\r
109 >>>> Is there an easy solution to this that I'm missing?\r
110 >>>\r
111 >>> First off, if anyone would like to implement this feature, I would\r
112 >>> definitely appreciate it. I don't have a great solution, but there are\r
113 >>> two workarounds I've used for this:\r
114 >>>\r
115 >>> 1. I used to use a terminal that automatically made links clickable\r
116 >>> (with a modifier key). This worked well until I got tired of other\r
117 >>> bugs in that terminal. (Note that this only applies if, like me, you\r
118 >>> run emacs -nw).\r
119 >>>\r
120 >>> 2. These days I add a key to the notmuch-show keymap mapped to\r
121 >>> browse-url-at-point, with the following:\r
122 >>>\r
123 >>> (define-key notmuch-show-mode-map "U" 'browse-url-at-point)\r
124 >>>\r
125 >>> So when there's a URL I want to see, I go to it and hit U. It's not as\r
126 >>> convenient/obvious as enter, but it works well enough. I assume this\r
127 >>> works in non-terminal emacs as well.\r
128 >>>\r
129 >>> -- Adam\r
130 >> _______________________________________________\r
131 >> notmuch mailing list\r
132 >> notmuch@notmuchmail.org\r
133 >> http://notmuchmail.org/mailman/listinfo/notmuch\r
134 Bart\r