Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9AA9B431FBC for ; Fri, 20 Nov 2009 23:15:15 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 973htybmOVnl for ; Fri, 20 Nov 2009 23:15:15 -0800 (PST) Received: from keithp.com (home.keithp.com [63.227.221.253]) by olra.theworths.org (Postfix) with ESMTP id CF4A6431FAE for ; Fri, 20 Nov 2009 23:15:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 285CB760222 for ; Fri, 20 Nov 2009 23:15:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lhU7c0IoGy4O; Fri, 20 Nov 2009 23:15:11 -0800 (PST) Received: by keithp.com (Postfix, from userid 1033) id 66478B9404B; Fri, 20 Nov 2009 23:15:11 -0800 (PST) Received: from koto.keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 615B276012C; Fri, 20 Nov 2009 23:15:11 -0800 (PST) Received: by koto.keithp.com (Postfix, from userid 1488) id 08D561982A8; Fri, 20 Nov 2009 23:15:11 -0800 (PST) From: Keith Packard To: notmuch@notmuchmail.org Date: Fri, 20 Nov 2009 23:15:06 -0800 Message-Id: <1258787708-21121-1-git-send-email-keithp@keithp.com> X-Mailer: git-send-email 1.6.5.2 Subject: [notmuch] [PATCH 1/3] Make mouse-1 click in search view show thread X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 07:15:17 -0000 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 --- 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