Gnus development mailing list
 help / color / mirror / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: ding@gnus.org
Subject: Re: How to know a mail is sent with gnus ?
Date: Sun, 13 Feb 2011 22:32:02 +0100	[thread overview]
Message-ID: <m2zkpzliy5.fsf@gmail.com> (raw)
In-Reply-To: <871v3bd6v9.fsf@member.fsf.org> (Tassilo Horn's message of "Sun, 13 Feb 2011 21:20:10 +0100")

Tassilo Horn <tassilo@member.fsf.org> writes:

> Francis Moreau <francis.moro@gmail.com> 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.
>
> Sent by Gnus in contrast to rmail, which also started using message-mode
> recently, right?
>

You're right.

>
>> Could anybody tell me what I can test ?
>
> At least `org-gnus.el' checks for Message-Id and Gcc headers to store
> links to Gnus messages that haven't been sent at the time of linking
> yet.  I might be wrong, but I think Gcc headers are a Gnus invention.
>

The thing is that I don't always use Gcc header. For mailing lists for
example, I don't use it since I'm going to receive a copy of the mail
anyways.

Thanks
-- 
Francis



  reply	other threads:[~2011-02-13 21:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13 20:07 Francis Moreau
2011-02-13 20:20 ` Tassilo Horn
2011-02-13 21:32   ` Francis Moreau [this message]
2011-02-14  7:28     ` Tassilo Horn
2011-02-14  7:55       ` Francis Moreau
2011-02-13 23:51 ` Andreas Schwab
2011-02-14  8:05   ` Francis Moreau
2011-02-15  1:03     ` Dave Goldberg
2011-02-15  7:59       ` Francis Moreau
2011-02-15 22:36         ` Dave Goldberg
2011-02-19 11:15           ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2zkpzliy5.fsf@gmail.com \
    --to=francis.moro@gmail.com \
    --cc=ding@gnus.org \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).