help-gnu-emacs
[Top][All Lists]
Advanced

[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: Mon, 08 Feb 2016 16:04:05 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (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))

Looks good.  Can you resubmit this as a patch, and include documentation
fixes, too?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]