all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny YUE <sheepduke@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How do you automatically refile mails with mu4e?
Date: Mon, 20 Mar 2017 15:36:12 +0800	[thread overview]
Message-ID: <87r31siemr.fsf@gmail.com> (raw)

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



             reply	other threads:[~2017-03-20  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  7:36 Danny YUE [this message]
2017-03-20  8:33 ` How do you automatically refile mails with mu4e? Joost Kremers
2017-03-20 13:14   ` Danny YUE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r31siemr.fsf@gmail.com \
    --to=sheepduke@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.