all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: Danny YUE <sheepduke@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How do you automatically refile mails with mu4e?
Date: Mon, 20 Mar 2017 09:33:54 +0100	[thread overview]
Message-ID: <878to0z6rx.fsf@fastmail.fm> (raw)
In-Reply-To: <87r31siemr.fsf@gmail.com>


On Mon, Mar 20 2017, Danny YUE wrote:
> 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.

I'm not sure if what you want is possible at all with mu4e 
(personally I use my mail provider's file & filtering options, 
other people do it locally using something like procmail).

However, mu4e has its own mailing list. I think your best bet 
would be to ask your question there.

HTH


-- 
Joost Kremers
Life has its moments



  reply	other threads:[~2017-03-20  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  7:36 How do you automatically refile mails with mu4e? Danny YUE
2017-03-20  8:33 ` Joost Kremers [this message]
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=878to0z6rx.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sheepduke@gmail.com \
    /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.