From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83198 Path: news.gmane.org!not-for-mail From: Rainer@krugs.de (Rainer M. Krug) Newsgroups: gmane.emacs.gnus.general Subject: Re: Definition of Archive group Date: Wed, 22 May 2013 12:36:08 +0200 Message-ID: <87hahvti7b.fsf@krugs.de> References: <87li77tocx.fsf@krugs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369219059 4442 80.91.229.3 (22 May 2013 10:37:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 May 2013 10:37:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31464@lists.math.uh.edu Wed May 22 12:37:38 2013 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 1Uf6QL-0001zm-OH for ding-account@gmane.org; Wed, 22 May 2013 12:37:38 +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 1Uf6PH-0001BL-5b; Wed, 22 May 2013 05:36:31 -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 1Uf6PF-0001B9-Se for ding@lists.math.uh.edu; Wed, 22 May 2013 05:36:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Uf6PA-0003ZJ-NV for ding@lists.math.uh.edu; Wed, 22 May 2013 05:36:29 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Uf6P8-0002L9-6x for ding@gnus.org; Wed, 22 May 2013 12:36:22 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uf6P6-0001Ll-4W for ding@gnus.org; Wed, 22 May 2013 12:36:20 +0200 Original-Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 May 2013 12:36:20 +0200 Original-Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 May 2013 12:36:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:feXY1xjrkA7YBfef2LwxVuSVZvo= X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83198 Archived-At: Katsumi Yamaoka writes: > Rainer M. Krug wrote: >> I would like to set my archive group as follow: > >> 1) if the mail is an email, I want a copy in the group from which I send >> (i.e. gcc-self . t) but when I send via a newsgroup, I want to puyt a >> copy into a specific group (i.e. "nnimap+Maildir:Sent"). But the >> following does not work: > >> ,---- >>| (setq gnus-message-archive-group >>| '((if (message-news-p) >>| "nnimap+Maildir:Sent" >>| t))) >> `---- > > I guess the value `t' is the culprit; it should be the default Yes - I agree. > archive group (a string) for the case where gcc-self is not > allowed[1] or the gcc-self group is unable to specify[2]. > Anyway `t' should cause an error when inserting a Gcc header. But how can I then specify that the archive group should be the group in which I started composing the email (unless [1] and [2])? Rainer > > [1] A read-only group. > [2] Start composing a mail in the *Group* buffer. > > -- Rainer M. Krug