From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60316 Path: news.gmane.org!not-for-mail From: Flatman Newsgroups: gmane.emacs.gnus.general Subject: Re: Moving sent items Date: Mon, 16 May 2005 22:14:36 +0200 Organization: Flatsoft Message-ID: References: Reply-To: flatman@swing.be NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116276469 20813 80.91.229.2 (16 May 2005 20:47:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 May 2005 20:47:49 +0000 (UTC) Original-X-From: ding-owner+M8844@lists.math.uh.edu Mon May 16 22:47:47 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DXmTI-00012S-Pa for ding-account@gmane.org; Mon, 16 May 2005 22:45:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DXmQq-0005Wy-00; Mon, 16 May 2005 15:43:20 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DXmQl-0005Wt-00 for ding@lists.math.uh.edu; Mon, 16 May 2005 15:43:15 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DXmQi-00029A-W5 for ding@lists.math.uh.edu; Mon, 16 May 2005 15:43:13 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DXmQh-0001gJ-00 for ; Mon, 16 May 2005 22:43:11 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DXmNx-0008S5-UL for ding@gnus.org; Mon, 16 May 2005 22:40:21 +0200 Original-Received: from 83-134-4-125.paille.goplus.fastdsl.tiscali.be ([83.134.4.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 May 2005 22:40:21 +0200 Original-Received: from flatman by 83-134-4-125.paille.goplus.fastdsl.tiscali.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 May 2005 22:40:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 36 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-134-4-125.paille.goplus.fastdsl.tiscali.be User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:CVWw2qbByzQiECHXvdup1bi9gCE= X-Spam-Score: -4.7 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60316 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60316 Maciej Matysiak writes: > On the 12th of May 2005 at 08:44, Flatman wrote: > >> Is there a way to automatically move sent items to other groups ? > > You can set the `Gcc' target per group in gnus-posting-styles variable. > Here's what I use: > > (setq gnus-posting-styles > '((".*" > (name "Maciej Matysiak") > (signature " use gnus, not guns!")) > (message-mail-p > ("Gcc" (concat "nnml:sent-mail." (format-time-string "%Y-%m")))) > (message-news-p > ("Gcc" (concat "nnml:sent-news." (format-time-string "%Y-%m")))) > [...] )) > > m.m. > -- > use gnus, not guns! I tried it with gnus-message-archive-group but couldn't get it working :-( Any idea ? (setq gnus-message-archive-group '((if (message-news-p) ("nnml:sent-as-news") ( '(("\\(friend1\\|friend2\\|friend3\\)" "nnml:Friends") (".*" "nnml:sent-as-mail")) )))) Thanks Erik