From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86314 Path: news.gmane.org!not-for-mail From: George McNinch Newsgroups: gmane.emacs.gnus.general Subject: gmail and gnus-summary-move-article Date: Fri, 20 Nov 2015 15:36:37 -0500 Message-ID: <82lh9s5rxm.fsf@jazz-via-gmail.com> Reply-To: George McNinch NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448051852 13871 80.91.229.3 (20 Nov 2015 20:37:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 20:37:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34546@lists.math.uh.edu Fri Nov 20 21:37:19 2015 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 1ZzsQo-00068r-SE for ding-account@gmane.org; Fri, 20 Nov 2015 21:37:19 +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 1ZzsQW-0004U2-Ul; Fri, 20 Nov 2015 14:37:01 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZzsQV-0004Ti-4T for ding@lists.math.uh.edu; Fri, 20 Nov 2015 14:36:59 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZzsQT-0005q5-Pd for ding@lists.math.uh.edu; Fri, 20 Nov 2015 14:36:59 -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 1ZzsQS-0001se-4b for ding@gnus.org; Fri, 20 Nov 2015 21:36:56 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZzsQL-0005Lr-7k for ding@gnus.org; Fri, 20 Nov 2015 21:36:49 +0100 Original-Received: from dhcp-130-64-79-235.medford.tufts.edu ([130.64.79.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 21:36:49 +0100 Original-Received: from gmcninch by dhcp-130-64-79-235.medford.tufts.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 21:36:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 73 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dhcp-130-64-79-235.medford.tufts.edu User-Mail-Address: gmcninch@gmail.com User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:NooluvT/28q0jo3stlZ5pmS0HCU= X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86314 Archived-At: Hi, So this is something that has bugged me for a good while... Perhaps there is a good solution, or perhaps not. I have some gnus groups attached to a gmail account, and some nnml groups -- via some configuration like so: ,---- | (setq gnus-select-method '(nnnil "") | gnus-secondary-select-methods '((nnml "local-mail" | (nnml-directory "/home/george/Mail/")) | (nnimap "gmail" | (nnimap-address "imap.gmail.com") | (nnimap-inbox "INBOX")))) `---- 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"). In fact, the usual way I "delete" articles in the gmail account is via expiration: I mark them with E in the summary buffer, and I have a gnus-parameters setting for those accounts which sets (expiry-target . "nnimap+personal:[Gmail]/Trash") So when I expire articles, they get moved to the "gmail trash", and then gmail regularly prunes its Trash folder without further intervention. And in fact, to move articles to one of the nnml groups from one of my gmail groups, I don't use "B m" as above, but rather I use "B c" ("gnus-summary-copy-article") and once done I subsequently mark the articles for expiry. This is more-or-less OK, except that if I process-mark (say) a handful of articles, then use "B c" to copy them, afterwards the process-marks have vanished, and I have to mark the articles by memory for expiry. 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, this is perhaps a little bit awkward, since I suppose gnus-summary-mark-as-expirable doesn't use process-marks. Ideas? Simpler ways to do this? Thanks for any suggestions! Best, george -- + + + George McNinch + + + http://gmcninch.math.tufts.edu