Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: gmail and gnus-summary-move-article
Date: Sat, 06 Feb 2016 22:34:24 +0800	[thread overview]
Message-ID: <87zivd6h73.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <82k2miot51.fsf@jobim-via-gmail.com>

George McNinch <gmcninch@gmail.com> 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




  reply	other threads:[~2016-02-06 14:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-20 20:36 George McNinch
2016-02-06  6:45 ` Lars Ingebrigtsen
2016-02-06 13:39   ` George McNinch
2016-02-06 14:34     ` Eric Abrahamsen [this message]
2016-02-06 18:33       ` George McNinch
2016-02-07  2:02         ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zivd6h73.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).