From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Wlodarczak Newsgroups: gmane.emacs.help Subject: Re: Setting gnus-message-archive-group in message-send-hook Date: Wed, 21 Sep 2011 11:05:29 +0200 Message-ID: <4E79A8D9.1020904@gmail.com> References: <87sjnvtmzb.fsf@debian.i-did-not-set--mail-host-address--so-tickle-me> <4E76FE68.40705@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316595958 5153 80.91.229.12 (21 Sep 2011 09:05:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2011 09:05:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 21 11:05:54 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R6Ika-0007cS-E4 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Sep 2011 11:05:52 +0200 Original-Received: from localhost ([::1]:49937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6IkU-0001Gn-0P for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Sep 2011 05:05:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6IkN-0001FT-Ad for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 05:05:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6IkH-0006Ql-Cf for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 05:05:39 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:63690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6IkH-0006Qf-4N for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 05:05:33 -0400 Original-Received: by bkbzs2 with SMTP id zs2so1536287bkb.0 for ; Wed, 21 Sep 2011 02:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ksBtuFAYuDR+D9XNzD7N1OLu6BUEFhkV7hgQHy6jKnk=; b=NaIwMK1xO7zRq7Q8tSi4zSLD7qoXATrK11FRE2YgfM2UddC2J5kIWuyYnrPAQDIGhf Ex3cCDqt+yepzt7wsWVAB5O2MbObKGKf8udICNxaalGARO/aw0VDjXbJWAyEJZlM8AtE XCJ4oxUxGAjwHDQipbCHaM/1Pjh4C8pT/lpnA= Original-Received: by 10.204.146.9 with SMTP id f9mr353474bkv.385.1316595931774; Wed, 21 Sep 2011 02:05:31 -0700 (PDT) Original-Received: from [129.70.104.26] (eggshell.spectrum.uni-bielefeld.de. [129.70.104.26]) by mx.google.com with ESMTPS id w10sm4026983bkq.2.2011.09.21.02.05.30 (version=SSLv3 cipher=OTHER); Wed, 21 Sep 2011 02:05:30 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110702 Icedove/3.0.11 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82274 Archived-At: On 21.09.2011 00:53, Tim Landscheidt wrote: > gnus-message-archive-group specifies which (if any) Gcc: > header is inserted when a message buffer is *created*. The > Gcc: header at the time of *sending* the message specifies > where it is archived. OK, got it now thanks. Using (progn (setq gnus-outgoing-message-group "nnimap+uni+Sent") (gnus-inews-insert gcc)) does the trick. Thanks. > P. S.: Please don't post and mail at the same time. Thanks! Sorry. Still getting to grips with Gnus. Cheers, Marcin