1 Return-Path: <keithp@keithp.com>
\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 9AA9B431FBC
\r
6 for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 23:15:15 -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 973htybmOVnl for <notmuch@notmuchmail.org>;
\r
11 Fri, 20 Nov 2009 23:15:15 -0800 (PST)
\r
12 Received: from keithp.com (home.keithp.com [63.227.221.253])
\r
13 by olra.theworths.org (Postfix) with ESMTP id CF4A6431FAE
\r
14 for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 23:15:14 -0800 (PST)
\r
15 Received: from localhost (localhost [127.0.0.1])
\r
16 by keithp.com (Postfix) with ESMTP id 285CB760222
\r
17 for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 23:15:14 -0800 (PST)
\r
18 X-Virus-Scanned: Debian amavisd-new at keithp.com
\r
19 Received: from keithp.com ([127.0.0.1])
\r
20 by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)
\r
21 with LMTP id lhU7c0IoGy4O; Fri, 20 Nov 2009 23:15:11 -0800 (PST)
\r
22 Received: by keithp.com (Postfix, from userid 1033)
\r
23 id 66478B9404B; Fri, 20 Nov 2009 23:15:11 -0800 (PST)
\r
24 Received: from koto.keithp.com (localhost [127.0.0.1])
\r
25 by keithp.com (Postfix) with ESMTP id 615B276012C;
\r
26 Fri, 20 Nov 2009 23:15:11 -0800 (PST)
\r
27 Received: by koto.keithp.com (Postfix, from userid 1488)
\r
28 id 08D561982A8; Fri, 20 Nov 2009 23:15:11 -0800 (PST)
\r
29 From: Keith Packard <keithp@keithp.com>
\r
30 To: notmuch@notmuchmail.org
\r
31 Date: Fri, 20 Nov 2009 23:15:06 -0800
\r
32 Message-Id: <1258787708-21121-1-git-send-email-keithp@keithp.com>
\r
33 X-Mailer: git-send-email 1.6.5.2
\r
34 Subject: [notmuch] [PATCH 1/3] Make mouse-1 click in search view show thread
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.12
\r
38 List-Id: "Use and development of the notmuch mail system."
\r
39 <notmuch.notmuchmail.org>
\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
43 List-Post: <mailto:notmuch@notmuchmail.org>
\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
47 X-List-Received-Date: Sat, 21 Nov 2009 07:15:17 -0000
\r
49 Selecting text in the search view isn't all that useful, so instead,
\r
50 make mouse-1 clicks actually show the thread you click on. It's almost
\r
51 like direct manipulation or something.
\r
53 Signed-off-by: Keith Packard <keithp@keithp.com>
\r
56 1 files changed, 1 insertions(+), 0 deletions(-)
\r
58 diff --git a/notmuch.el b/notmuch.el
\r
59 index feb84ad..4f369de 100644
\r
62 @@ -783,6 +783,7 @@ thread from that buffer can be show when done with this one)."
\r
63 (define-key map "t" 'notmuch-search-filter-by-tag)
\r
64 (define-key map "x" 'kill-this-buffer)
\r
65 (define-key map (kbd "RET") 'notmuch-search-show-thread)
\r
66 + (define-key map [mouse-1] 'notmuch-search-show-thread)
\r
67 (define-key map "+" 'notmuch-search-add-tag)
\r
68 (define-key map "-" 'notmuch-search-remove-tag)
\r
69 (define-key map "<" 'beginning-of-buffer)
\r