unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How do you automatically refile mails with mu4e?
@ 2017-03-20  7:36 Danny YUE
  2017-03-20  8:33 ` Joost Kremers
  0 siblings, 1 reply; 3+ messages in thread
From: Danny YUE @ 2017-03-20  7:36 UTC (permalink / raw)
  To: help-gnu-emacs

Hi guys,

How can you refile the mails without opening any mu4e buffers?

I read the manual and I know that it is possible to define a function to
refile based on something.
But every time I have to mark-and-execute manually, and it sometimes
annoys me.

I would like it to be automatically done: every time the index is
updated, the incoming unread mails are refiled automatically.

My idea is to add something to the mu4e-update-pre-hook.
But I did not found any clue how I can refile mails in the
background, without opening any buffer.
Looking into the code did not really help.

Can anyone help? Thanks in advance.

Danny



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

end of thread, other threads:[~2017-03-20 13:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20  7:36 How do you automatically refile mails with mu4e? Danny YUE
2017-03-20  8:33 ` Joost Kremers
2017-03-20 13:14   ` Danny YUE

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 read-only IMAP folder(s) and NNTP newsgroup(s).