From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49575 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Wondering about subgroups or associated groups Date: Fri, 24 Jan 2003 15:21:00 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87d6mm4oj7.fsf@enberg.org> References: <86heby642n.fsf@asfast.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043418213 22502 80.91.224.249 (24 Jan 2003 14:23:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2003 14:23:33 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18c4jt-0005py-00 for ; Fri, 24 Jan 2003 15:23:25 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18c4l5-0007yR-00; Fri, 24 Jan 2003 08:24:39 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 24 Jan 2003 08:25:35 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id IAA05617 for ; Fri, 24 Jan 2003 08:25:20 -0600 (CST) Original-Received: (qmail 99917 invoked by alias); 24 Jan 2003 14:24:20 -0000 Original-Received: (qmail 99912 invoked from network); 24 Jan 2003 14:24:20 -0000 Original-Received: from mailg.telia.com (194.22.194.26) by 66.230.238.6 with SMTP; 24 Jan 2003 14:24:20 -0000 Original-Received: from d1o1112.telia.com (d1o1112.telia.com [213.67.192.241]) by mailg.telia.com (8.12.5/8.12.5) with ESMTP id h0OEO1uN008913; Fri, 24 Jan 2003 15:24:06 +0100 (CET) X-Original-Recipient: ding@gnus.org Original-Received: from rocksteady (h197n2fls32o1112.telia.com [213.65.65.197]) by d1o1112.telia.com (8.10.2/8.10.1) with ESMTP id h0OEO0H19494; Fri, 24 Jan 2003 15:24:00 +0100 (CET) Original-Received: by rocksteady (Postfix, from userid 1000) id 29CD5384EA; Fri, 24 Jan 2003 15:23:29 +0100 (CET) Original-To: Lloyd Zusman X-Now-Playing: Bounty Killer - Warlord Nuh Business Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEU6AQB6NyT95s/Xqoz4 1LdSBQC0e1h9PxESAAACZklEQVR4nGWSQY7bMAxF6YW7DpGRDqAY2Svy6AC2kLWFKb1X5fD+ R+iXE2emqBAgBp9IfvKLUkrXyeuWJufcrDrOIYSiSk9Qn8ClMe2gKo0vsMd31sBZCYEdOPeD HMD5evsGbg6KUsm5yw7Su9gQNCpdtwN8k6Ba6frRwOjeAH8XLkqXG0CcdjBAexgTADMNrUcY 0rSzORbWlIpZqSUjsh/0nYsRO3pzBpgSBI7zq8dQTP5oYA7T4O4adMR1xalRrDeVCk9u8Fbr 1KrgZDa5iKVHBiiWb/EkzMgoYLhBD4vSsZyj6XMdsSc10hnpqVSIGu56EuGKMeb6kJUBYE0b 7bGIxdfcVivnGQMqzEt18pIrNDeXvGyQ9wRhRksbaimtvfy5aABA5SmVBZpYqBcbzTalBix8 iYy4LESUQ+BtGGYAVtMbSF+oKyQ1hbJhz6SF80KSF1xfYeoY4gNPBoD5RA0Q9RYyUlTzMaVE xZbWMp9IBE74itF/p1ZKC2VMDcB6mzVrMV+tR8H4m89RlsxRy2qw3a+hAbP8mq7rBUkGyr48 Nr+m1kNkc8PtYgSpfVYsV3LA5Nhls/S64OYCl7iB6jOZZX+2n1AGdTkbKMmaHruDDq5iFvya tSKdjp4+O+fuzG0+JMFuLGfVcCffTw4C2v7aAsYC3VZDgKrb3TzDbbURvTurM1R1ycsbNE3c MiKVPLTHcpyeM2MYAM8XoeUNMks+wJUOgFGkzfcCdwh9x9scB/AkP8Ezo1C05d3gGV/WHfj/ gQVQgjn/AlivGuM/AE2go+MdFP4GdCRoRHM8i/0Ufp2qrflfg9P17+qr79AAAAAASUVORK5C YII= In-Reply-To: <86heby642n.fsf@asfast.com> (Lloyd Zusman's message of "Fri, 24 Jan 2003 09:00:00 -0500") User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49575 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49575 Lloyd Zusman writes: > I've been thinking about an idea, and I'd like to put it forth here so > we could discuss the pros and cons. > > I'd like to be able to create a "saved" group for every email and news > group that I'm currently maintaining in Gnus. I know that I could > manually do that today by creating a set of nnarchive groups that > correspond to each of my active groups, and then do a `B m' to move > selected messages to the appropriate, associated nnarchive group. > > I believe that it would be nice if we could associate one or more groups > with a principal group. These groups could be configured to have > user-specified aliases (such as "saved", or whatever), which would > correspond to a group with a "real" name. For example, a naming > convention could be devised as follows (this is just one possible > example to illustrate my idea ... many other naming conventions could be > devised): I have the following in ~/gnus.el. I guess you could massage it to follow your naming conventions. Currently it just stuffs mail in "nnml.archive.group-name". It will probably only work if you have a newsserver as your primary select method, and for nnml groups. It's not quite as fancy as your proposal, it just copies the article to the archive group when I hit `B a'. (defun gnus-summary-archive-article () "Copy current article to a suitable nnml archive group. The copied article will be marked as \"ancient\", the original will retain its current marks." (interactive) (let* ((group-name (if (string-match "^nnml:" gnus-newsgroup-name) (substring gnus-newsgroup-name 5 nil) gnus-newsgroup-name)) (archive-name (concat "nnml:archive." group-name)) (orig-mark (gnus-summary-article-mark))) (gnus-summary-mark-article nil gnus-ancient-mark t) (gnus-summary-copy-article 1 archive-name) (gnus-summary-mark-article nil orig-mark t))) (eval-after-load "gnus-sum" '(define-key gnus-summary-backend-map (kbd "a") 'gnus-summary-archive-article))