how to get current message (for testing contexts)

2 views
Skip to first unread message

Tamas Papp

unread,
Mar 13, 2025, 8:27:02 AMMar 13
to mu-discuss
Hi,

I would like to test a closure for matching messages interactively, as in

(make-mu4e-context :match-func (lambda (msg) ...))

How can I obtain a msg by evaluating some elisp code (eg in the message view buffer)?

best

Tamas

Dirk-Jan C. Binnema

unread,
Mar 14, 2025, 2:31:43 AMMar 14
to mu-di...@googlegroups.com
Try: (mu4e-message-at-point)

Kind regards,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036
Reply all
Reply to author
Forward
0 new messages