From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.help Subject: Re: =?windows-1252?Q?Gmail=92s?= \Muted label in Gnus Date: Sun, 07 Feb 2016 16:37:11 +1100 Message-ID: <87y4axcc8o.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1454823485 658 80.91.229.3 (7 Feb 2016 05:38:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 05:38:05 +0000 (UTC) Cc: Emacs Users To: Nikolai Weibull Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 06:37:55 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSI2k-0001y1-Dd for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 06:37:54 +0100 Original-Received: from localhost ([::1]:59763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSI2j-0000Vg-KJ for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 00:37:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSI2Y-0000VO-ON for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 00:37:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSI2V-0005hb-Il for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 00:37:42 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSI2V-0005hW-C8 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 00:37:39 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSI29-0005On-AT; Sun, 07 Feb 2016 06:37:18 +0100 In-Reply-To: (Nikolai Weibull's message of "Sat, 9 Jan 2016 10:11:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-MailScanner-ID: 1aSI29-0005On-AT MailScanner-NULL-Check: 1455428238.22099@CbJOgutzrSKnL+aYxuDqoQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109035 Archived-At: Nikolai Weibull writes: > I actually figured it out, sort of. I=92m 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=92d perhaps be better if we could use a custom mark, but I > couldn=92t 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? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no