aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Keith Packard <keithp@keithp.com>2009-11-20 23:15:06 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-23 06:29:53 +0100
commit43daa6f070f962959bf26fa49a860f528b2bbfa1 (patch)
tree40faf65b743f795af2418334cf4d7f59cb0f1214
parentcfc671cc2e970a7d8ce162926845ea6619270d64 (diff)
Make mouse-1 click in search view show thread
Selecting text in the search view isn't all that useful, so instead, make mouse-1 clicks actually show the thread you click on. It's almost like direct manipulation or something. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--notmuch.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/notmuch.el b/notmuch.el
index 1f244613..81536895 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -811,6 +811,7 @@ thread from that buffer can be show when done with this one)."
(define-key map "t" 'notmuch-search-filter-by-tag)
(define-key map "x" 'kill-this-buffer)
(define-key map (kbd "RET") 'notmuch-search-show-thread)
+ (define-key map [mouse-1] 'notmuch-search-show-thread)
(define-key map "+" 'notmuch-search-add-tag)
(define-key map "-" 'notmuch-search-remove-tag)
(define-key map "<" 'beginning-of-buffer)