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

Francis Moreau <francis.moro@gmail.com> writes:

Hi Francis,

> 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?

> 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.

Bye,
Tassilo
-- 
Sent from my Emacs



  reply	other threads:[~2011-02-13 20:20 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 [this message]
2011-02-13 21:32   ` Francis Moreau
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=871v3bd6v9.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.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).