From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85077 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Deleting mail in virtual group Date: Sat, 04 Oct 2014 20:48:55 +0800 Message-ID: <87zjdcyp8o.fsf@ericabrahamsen.net> References: <87mw9cfazu.fsf@mailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412427768 22970 80.91.229.3 (4 Oct 2014 13:02:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2014 13:02:48 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33321@lists.math.uh.edu Sat Oct 04 15:02:40 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XaOys-0005O5-RC for ding-account@gmane.org; Sat, 04 Oct 2014 15:02:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XaOxy-0007Uq-Gr; Sat, 04 Oct 2014 08:01:42 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XaOxu-0007UM-Uh for ding@lists.math.uh.edu; Sat, 04 Oct 2014 08:01:38 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XaOxq-0000SI-Td for ding@lists.math.uh.edu; Sat, 04 Oct 2014 08:01:36 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XaOxp-0003Ni-0L for ding@gnus.org; Sat, 04 Oct 2014 15:01:33 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XaOxo-0004j9-7k for ding@gnus.org; Sat, 04 Oct 2014 15:01:32 +0200 Original-Received: from 123.123.17.134 ([123.123.17.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2014 15:01:32 +0200 Original-Received: from eric by 123.123.17.134 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2014 15:01:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.123.17.134 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:I6KKkJ5bzouNvfKZkvX7m7iN1fs= X-Spam-Score: -1.7 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85077 Archived-At: Alexander Baier 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