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

Xavier Maillard xavier at maillard.im
Fri Dec 23 02:10:53 PST 2011


Hi David,

On Fri, 23 Dec 2011 07:48:49 +0000, David Edmondson <dme at dme.org> wrote:
> On Thu, 22 Dec 2011 20:59:12 -0800, Jameson Graef Rollins <jrollins at 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 ?

/Xavier


More information about the notmuch mailing list