From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: message-(news|mail)-p in (gnus-)?message-setup-hook
Date: Mon, 31 Mar 2003 19:59:08 +0200 [thread overview]
Message-ID: <m3n0jbpgcz.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87lm00cw5a.fsf@unix.home>
deskpot@myrealbox.com (Vasily Korytov) writes:
> Actually, it's not surprising, because when I evaluate (message-mail-p)
> or (message-news-p) in a new message buffer, they're both nil. But I
> didn't get, why do they work in message-setup-hook. Can anyone help me?
The composing functions bind `message-this-is-mail' (etc.) before
calling the hook functions.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
next prev parent reply other threads:[~2003-03-31 17:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-28 14:33 Vasily Korytov
2003-03-31 17:59 ` Lars Magne Ingebrigtsen [this message]
2003-03-31 18:50 ` Vasily Korytov
2003-04-01 2:40 ` Lars Magne Ingebrigtsen
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=m3n0jbpgcz.fsf@quimbies.gnus.org \
--to=larsi@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).