unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/3] Make mouse-1 click in search view show thread
@ 2009-11-21  7:15 Keith Packard
  2009-11-21  7:15 ` [PATCH 2/3] Add 'notmuch count' command to show the count of matching messages Keith Packard
  0 siblings, 1 reply; 4+ messages in thread
From: Keith Packard @ 2009-11-21  7:15 UTC (permalink / raw)
  To: notmuch

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>
---
 notmuch.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/notmuch.el b/notmuch.el
index feb84ad..4f369de 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -783,6 +783,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)
-- 
1.6.5.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-21 19:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21  7:15 [PATCH 1/3] Make mouse-1 click in search view show thread Keith Packard
2009-11-21  7:15 ` [PATCH 2/3] Add 'notmuch count' command to show the count of matching messages Keith Packard
2009-11-21  7:15   ` [PATCH 3/3] Add notmuch-index mode to display message counts Keith Packard
2009-11-21 19:59     ` [PATCH] Add notmuch-folder mode to provide an overview of search matches Keith Packard

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).