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: Mon, 19 Sep 2011 10:33:44 +0200 Message-ID: <4E76FE68.40705@gmail.com> References: <87sjnvtmzb.fsf@debian.i-did-not-set--mail-host-address--so-tickle-me> 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 1316421241 11347 80.91.229.12 (19 Sep 2011 08:34:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2011 08:34:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 10:33:57 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 1R5ZIb-0000Z9-9o for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Sep 2011 10:33:57 +0200 Original-Received: from localhost ([::1]:43537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5ZIa-0006GP-5T for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Sep 2011 04:33:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5ZIT-0006GK-J6 for help-gnu-emacs@gnu.org; Mon, 19 Sep 2011 04:33:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5ZIS-0007nL-5y for help-gnu-emacs@gnu.org; Mon, 19 Sep 2011 04:33:49 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:36924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5ZIS-0007n6-12 for help-gnu-emacs@gnu.org; Mon, 19 Sep 2011 04:33:48 -0400 Original-Received: by bkbzs2 with SMTP id zs2so5711140bkb.0 for ; Mon, 19 Sep 2011 01:33:46 -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=PkF/VE1/e0LlV1+z4rCVftYOZ4ybqybuypgyfFFeZ4s=; b=jfnrW1oNFl537mQ0p6JK5UR2iv1iHaZ8jedft8CafCjlpLsnkcNf4MN2IyEvZQ3BZz cpnWTzkcY0k/ZPoDfPQ/60qckfXvn+5w8ArIbAZZlMCEFERPWfOtREdwqj25slzhMOFp OjBevEzzQGUHhqSIsJaf2yfOf1optgvrS1fZM= Original-Received: by 10.204.152.26 with SMTP id e26mr1368155bkw.342.1316421226553; Mon, 19 Sep 2011 01:33:46 -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 y8sm13250919bkb.4.2011.09.19.01.33.44 (version=SSLv3 cipher=OTHER); Mon, 19 Sep 2011 01:33:45 -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:82267 Archived-At: Tim Landscheidt writes: >> The problem is, however, that this only sets the Gcc line for the >> *following message* not the one being sent. What am I doing wrong >> here? > > Either change the Gcc: header in your hook, or - probably > preferable - see if the fine manual for > gnus-message-archive-group can be applied in your case: Thanks but I don't quite follow. I thought setting gnus-message-archive-group is the way to change the Gcc header. Anyway, as I mentioned, it does work (it sets the Gcc line to the specified group) but too late as it were.