From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86734 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gmail and gnus-summary-move-article Date: Sat, 06 Feb 2016 22:34:24 +0800 Message-ID: <87zivd6h73.fsf@ericabrahamsen.net> References: <82lh9s5rxm.fsf@jazz-via-gmail.com> <878u2ynxqp.fsf@gnus.org> <82k2miot51.fsf@jobim-via-gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454769317 8402 80.91.229.3 (6 Feb 2016 14:35:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2016 14:35:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34960@lists.math.uh.edu Sat Feb 06 15:35:03 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aS3x1-0001C2-2k for ding-account@gmane.org; Sat, 06 Feb 2016 15:35:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aS3wa-0006cc-VL; Sat, 06 Feb 2016 08:34:37 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aS3wY-0006c0-3E for ding@lists.math.uh.edu; Sat, 06 Feb 2016 08:34:34 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aS3wX-00051e-Fa for ding@lists.math.uh.edu; Sat, 06 Feb 2016 08:34:33 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aS3wW-0000zf-0y for ding@gnus.org; Sat, 06 Feb 2016 15:34:32 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aS3wU-0000TN-OD for ding@gnus.org; Sat, 06 Feb 2016 15:34:31 +0100 Original-Received: from 114.248.12.80 ([114.248.12.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 15:34:30 +0100 Original-Received: from eric by 114.248.12.80 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 15:34:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.12.80 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:kNsRTXW/Zi012yDdgCWPtg5ZdzU= X-Spam-Score: -0.6 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86734 Archived-At: George McNinch writes: >>> Say I'm in the gmail group INBOX, put point on an article, enter >>> the key sequence B m (to perform gnus-summary-move-article ) and >>> specify an nnml group as the target, everything works fine *except* >>> that the article is not really deleted on the gmail account (all >>> "gmail tags" are removed, but the article is still present on the >>> server -- it can be found in "All Mail"). > >> Hm. That sounds like a bug. Or is it at Gmail quirk? > > I'm basically certain this is just a quirk of Gmail. Right, Gmail treats groups as tags (one message can be in many) instead of groups (the message is the message, and it's in one of your groups). Deletion from a group means "remove this group/tag from this message", not "delete this message". You have to move a message to "Trash" to delete it. >>> Mostly I manage this without too many errors, but surely (!?) there >>> is some automagical way to apply gnus-summary-copy-article followed >>> by gnus-summary-mark-as-expirable to all process-marked articles in >>> a summary buffer? > >> Well, you could write a function that calls those two functions. :-) > > Right... After writing this, I think I had decided to do that. But I > realized that I'm not sure I understand how to recognize/interact with > the process marks, though I confess I really only had a quick look. > Then I got distracted. > > Looking again, I recall noting that gnus-summary-mark-as-expirable > doesn't interact with the process marks, as-is. (Well, outside of my > perhaps odd-ball proposed usage, there is no reason it should...) Expiration won't actually delete a Gmail message, unless the expiry process moves the message to Trash. E