Re: [PATCH v2] emacs: call notmuch-show instead of notmuch-search in buttonised id: links

Subject: Re: [PATCH v2] emacs: call notmuch-show instead of notmuch-search in buttonised id: links

Date: Fri, 23 Dec 2011 10:25:38 +0000

To: Xavier Maillard, Jameson Graef Rollins, Notmuch Mail

Cc:

From: David Edmondson


On Fri, 23 Dec 2011 11:10:53 +0100, Xavier Maillard <xavier@maillard.im> wrote:
> Hi David,
> 
> On Fri, 23 Dec 2011 07:48:49 +0000, David Edmondson <dme@dme.org> wrote:
> > On Thu, 22 Dec 2011 20:59:12 -0800, Jameson Graef Rollins <jrollins@finestructure.net> 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 ?

I was talking nonsense. `notmuch-show' will show the full thread but
only the matching message open.

Jesse: Sorry for the noise - the patch looks good to me.
part-000.sig (application/pgp-signature)

Thread: