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: Sat, 24 Sep 2011 00:26:03 +0200 Message-ID: <4E7D077B.5080305@gmail.com> References: <87sjnvtmzb.fsf@debian.i-did-not-set--mail-host-address--so-tickle-me> <4E76FE68.40705@gmail.com> <4E79A8D9.1020904@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316816770 14668 80.91.229.12 (23 Sep 2011 22:26:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2011 22:26:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 24 00:26:06 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 1R7EBz-000811-OB for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 00:25:59 +0200 Original-Received: from localhost ([::1]:49563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7EBt-0004F3-GK for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Sep 2011 18:25:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7EBp-0004El-1j for help-gnu-emacs@gnu.org; Fri, 23 Sep 2011 18:25:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7EBo-0004Hy-2n for help-gnu-emacs@gnu.org; Fri, 23 Sep 2011 18:25:48 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:39626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7EBn-0004Ho-Po for help-gnu-emacs@gnu.org; Fri, 23 Sep 2011 18:25:48 -0400 Original-Received: by bkbzs2 with SMTP id zs2so4700479bkb.0 for ; Fri, 23 Sep 2011 15:25: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=E3VS8JjYqVbXs8smAB3fieB527Li9srL4bWfFlReUis=; b=qQnE/bL4IY27LLR9zPPu4kQtkoEaLfBtYYVbTtSEMlc7IEQrxTDfOiFT3M+t8uat0G BD5i47OyVj115eZzSY+v7MM4sRtkIiT2FdwhgNqb2kKcIOoiw5H8Peq5KmbtcOhxCwkn 00cUaz0hVDBbknl4sHLdBwXvTP9lcv9nsdeqc= Original-Received: by 10.204.131.75 with SMTP id w11mr1727090bks.292.1316816746119; Fri, 23 Sep 2011 15:25:46 -0700 (PDT) Original-Received: from [192.168.0.101] (blfd-4d08f678.pool.mediaWays.net. [77.8.246.120]) by mx.google.com with ESMTPS id y8sm12620970bkb.4.2011.09.23.15.25.44 (version=SSLv3 cipher=OTHER); Fri, 23 Sep 2011 15:25:45 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110818 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:82319 Archived-At: On 09/23/2011 06:15 PM, Tim Landscheidt wrote: > Marcin Wlodarczak 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. >> [...] > If possible, I would follow the manual more closely though. > Using the hook will mean that any changes you make to the > Gcc: header manually while composing the message will be > overwritten. This is probably not disastrous, but can be > irritating. I see what you mean but I think I'm going to stick to this solution right now. Thanks. -- M.