[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gmail’s \Muted label in Gnus
From: |
Lars Ingebrigtsen |
Subject: |
Re: Gmail’s \Muted label in Gnus |
Date: |
Sun, 07 Feb 2016 16:37:11 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) |
Nikolai Weibull <now@disu.se> writes:
> I actually figured it out, sort of. I’m sure there are better ways of
> handling it, perhaps the + and - should be sent using
> nnimap-send-command, but this, at least, works. As only muting part
> of a thread will confuse Gmail, we select all articles belonging to a
> thread that in one way or another has been included by
> gnus-summary-work-articles. Then we add \Muted and remove \Inbox.
> Finally, to make it clear that something happened in Gnus, we kill the
> thread. It’d perhaps be better if we could use a custom mark, but I
> couldn’t figure out if that was OK to do.
>
> (defun now-gnus-summary-mute-articles (n)
> (interactive "P")
> (let (articles root-articles)
> (dolist (article (gnus-summary-work-articles n))
> (unless (member article articles)
Looks good. Do you have FSF copyright assignment papers on file?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Gmail’s \Muted label in Gnus,
Lars Ingebrigtsen <=