From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76689 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: How to know a mail is sent with gnus ? Date: Mon, 14 Feb 2011 09:05:21 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297670750 12482 80.91.229.12 (14 Feb 2011 08:05:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 08:05:50 +0000 (UTC) Cc: ding@gnus.org To: Andreas Schwab Original-X-From: ding-owner+M25032@lists.math.uh.edu Mon Feb 14 09:05:46 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PotRJ-0000CQ-AK for ding-account@gmane.org; Mon, 14 Feb 2011 09:05:45 +0100 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 1PotR8-0007ZJ-06; Mon, 14 Feb 2011 02:05:34 -0600 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 1PotR6-0007Yv-AR for ding@lists.math.uh.edu; Mon, 14 Feb 2011 02:05:32 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PotR5-0001kc-2A for ding@lists.math.uh.edu; Mon, 14 Feb 2011 02:05:31 -0600 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PotR4-00055D-7d for ding@gnus.org; Mon, 14 Feb 2011 09:05:30 +0100 Original-Received: by bwz12 with SMTP id 12so5085615bwz.17 for ; Mon, 14 Feb 2011 00:05:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=dsngh8fjTG3ZaacdQv9Vj6enFlEgkN1rguvVMwp0Hcw=; b=Hhs4LELk3xOfaqh8iMRDj5+e2Ngh1qWEuwsEIKbILEwLDr9KpPEYPQ6QL6pgO9PJrv cO+xnKrN8kyAsfrdmQmPMJDN5bhn0XRxifTc91kXsa8md0hY9JWynkLBCnYHPAGL7u9k SrECeizCacj4LuQAzPJsEU2i447/19Mo4AkZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=Uz4cJ2JvpANNjjPCP8U4Z6dCNo2Kq2frT3xW8mSuua+ideM1VBVflI/JhJDAln9sKP NM1XR5YiH5ngtoAF1BLg5p1c+gB567Szs4wUzV39rk77c0flbBU8aLBgEk0n8Xvj0aLJ tlLdwlhunx1iF6rATCdzlmGwDxlwk2dqWZCRU= Original-Received: by 10.204.73.160 with SMTP id q32mr3097169bkj.155.1297670724755; Mon, 14 Feb 2011 00:05:24 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id z18sm1587573bkf.20.2011.02.14.00.05.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 00:05:23 -0800 (PST) Mail-Followup-To: Andreas Schwab , ding@gnus.org In-Reply-To: (Andreas Schwab's message of "Mon, 14 Feb 2011 00:51:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76689 Archived-At: Andreas Schwab writes: > Francis Moreau writes: > >> I'm writing a hook for 'message-send-hook' and I would like to know from >> this hook if the current message has been sent by Gnus. > > Why do you need to know that? > Because I have this in my .emacs: (setq mail-default-headers (concat "Bcc: " user-mail-address "\n")) that is I want to receive a copy of my emails sent from emacs but not by gnus itself. When writing stuff with Gnus, I prefer to use Gcc header. Therefore when I'm writing email from Gnus, I want to drop the Bcc header automatically set. -- Francis