Gnus development mailing list
 help / color / mirror / Atom feed
* How to get message-id from message?
@ 2014-02-27  7:54 Rainer M Krug
  2014-02-27  9:28 ` Tassilo Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2014-02-27  7:54 UTC (permalink / raw)
  To: ding

Hi

I am using gnus and notmuch and integrated them using [1]
This works nicely when going from notmuch to gnus. But sometimes, it
would be nice to open a message in notmuch, e.g. when looking for the
whole thread and the mails are spread over different folders. In
addition, I like the folded thread view in notmuch. 

Now it would be easy, if I could 

1) get the message-id of the message open in gnus
2) use this message-id to do a notmuch-search ID:the-message-id and to
open the thread
3) understand elisp better then I actually do...

Now my problem is, I don't know how I can get the message-id.

I found the function planner-gnus-get-message-id at [2] but if I paste
the function into my scratch buffer and evaluate it, I still don't know
how I can wrap this into a function which I can call interactively via
M-x and to return the results of the notmuch search?

Any pointers very much appreciated,

Rainer

Footnotes: 
[1]  http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html

[2]  https://github.com/jwiegley/planner/blob/master/planner-gnus.el

-- 
Rainer M. Krug

email: RMKrug<at>gmail<dot>com




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

end of thread, other threads:[~2014-02-27 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27  7:54 How to get message-id from message? Rainer M Krug
2014-02-27  9:28 ` Tassilo Horn
2014-02-27  9:56   ` Rainer M Krug
2014-02-27 11:21     ` Rainer M Krug
2014-02-27 13:23       ` Tassilo Horn
2014-02-27 14:09         ` Rainer M Krug

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 NNTP newsgroup(s).