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 B1E25431FD0 for ; Fri, 23 Dec 2011 01:54:11 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.463 X-Spam-Level: X-Spam-Status: No, score=0.463 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363] autolearn=disabled 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 pfzuPhkh2ez0 for ; Fri, 23 Dec 2011 01:54:11 -0800 (PST) Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net [88.164.105.66]) by olra.theworths.org (Postfix) with ESMTP id 0B371431FB6 for ; Fri, 23 Dec 2011 01:54:11 -0800 (PST) Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1]) by xhlj.maillard.im (Postfix) with ESMTP id 16EED2C059; Fri, 23 Dec 2011 10:54:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type; s=postfix; bh=RwXpDgyUVQILYeyEFAIn5d UZKLs=; b=Sd3s9tbetr1HwAQ/fy5ekt5rYfxg1peB6XKXjffn5mON1hkwpMKeit AtK0dovO+GMNuKRintXMfeOIczQ8C3LPF/tDhmYLrYP8Dy40Xo75suo2DMUHE0hU aXt34iqaaIru3KnQtcTerXJReStKo8Jf1ilJNBmVKTLVsp337Bvzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=maillard.im; h=from:to :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type; q=dns; s=postfix; b=kgdESzlTV7TkAMBy 4o+01WXdhePwqSRU8E2Ch/Ony8KESTEHeMLxOKEuRVSatrepEyfeoxR9hwZnk3LH gY5Bv9qlyRtj4eHZFAVVi/II7vhObchp9H3TUSkqf/HRUViFVIgBKes1zjkzUf2K 5zLKAdFBhKQxs4VRQAQN1oDmQoU= Received: from maillard.im (cha51-3-88-164-105-66.fbx.proxad.net [88.164.105.66]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by xhlj.maillard.im (Postfix) with ESMTPSA; Fri, 23 Dec 2011 10:54:07 +0100 (CET) From: Xavier Maillard To: David Edmondson , Jameson Graef Rollins , Notmuch Mail Subject: Re: [PATCH v2] emacs: call notmuch-show instead of notmuch-search in buttonised id: links In-Reply-To: References: <1324616352-15337-1-git-send-email-jrollins@finestructure.net> User-Agent: Notmuch/0.10.1 (http://notmuchmail.org) Emacs/23.2.1 (i486-slackware-linux-gnu) Date: Fri, 23 Dec 2011 11:10:53 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Xavier Maillard List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 09:54:11 -0000 Hi David, On Fri, 23 Dec 2011 07:48:49 +0000, David Edmondson wrote: > On Thu, 22 Dec 2011 20:59:12 -0800, Jameson Graef Rollins wrote: > > Since message-ids necessarily match just a single message, there's no > > reason to do a search for the id before viewing the actual message; > > the search just becomes an extra screen to click through. Clicking on > > an id: links now just jumps straight to the message itself. > > It's often useful to see a message in context, particularly as it's > common for people to reference id:'s when referring to a thread (thread: > is instance local, as I recall). > > Is there a simple way from `notmuch-show' to jump out to the result of > `notmuch-search' for the current id:? Maybe we could bind ^ to something > like `notmuch-show-in-context'. Why not use a prefix argument to do different thing: C-u RET -> show in context RET -> show single message WDYT ? /Xavier