Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: Deleting mail in virtual group
Date: Sat, 04 Oct 2014 20:48:55 +0800	[thread overview]
Message-ID: <87zjdcyp8o.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87mw9cfazu.fsf@mailbox.org>

Alexander Baier <alexander.baier@mailbox.org> writes:

> Hello,
>
> This is my setup:
>
> I sync my E-Mail to disk with mbsync and access it from gnus via the
> nnmaildir backend. Each IMAP-folder corresponds to a group
> (e.g. nnmaildir+mailbox:Inbox). To be able to read a complete conversion
> (that is including my answers) I have a virtual group that combines
> Inbox and Sent groups.
>
>
> This is what I want:
>
> From the summary buffer of the virtual group I want to delete the
> current article. Deleting is done by moving said article to a designated
> group (e.g. nnmaildir+mailbox:Trash).
>
>
> Problem:
>
> Moving an article from a virtual group does not work:
> "gnus-summary-move-article: The current group does not support article
> moving".
>
>
> Solution?:
>
> I want to write my own command that finds the original group of the
> article in question and executes the move in that group. Is there a
> function that gets me the original group of an article in a virtual
> group?
>
> Regards,

I'm pretty sure that nnvirtual-find-group-art will do what you want.
Feed it the article number of the article under point, along with
gnus-newsgroup-name in the virtual Summary buffer. See how it works!

Eric




  reply	other threads:[~2014-10-04 12:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-04  9:19 Alexander Baier
2014-10-04 12:48 ` Eric Abrahamsen [this message]
2014-10-04 14:10   ` Alexander Baier
2014-10-05  8:36     ` Eric Abrahamsen
2014-10-05 18:28       ` Alexander Baier
2014-10-06  2:44         ` 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=87zjdcyp8o.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).