default filing

11 views
Skip to first unread message

Paddy Healy

unread,
Mar 22, 2025, 12:36:38 PMMar 22
to mu-discuss
Once I file a message / thread in a particular folder I would like to have all subsequent additions to that thread stored in the same place.  This action feels like a common occurrence and it might already be implemented.

If so, could somebody direct me to the man page (or keystroke??), please?  I would be willing to take on the job of writing the function myself with some pseudo-code / direction from elders though my elisp is rusty nowadays.

Many thanks.

Dirk-Jan C. Binnema

unread,
Mar 25, 2025, 3:50:29 PMMar 25
to mu-di...@googlegroups.com
I guess you'd need to customize `mu4e-refile-folder'; that can be a
function that takes a message plist as an argument, and returns a
maildir.

To see what that such a plist looks like, try `,' on a message. The
thread would be identified by the first in the :references, or
:message-id for the root message.

So your task is basically to process that information and return the
name of a maildir-folder.

Good luck!

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