Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: gnus-setup-message?
Date: Wed, 19 Mar 2014 16:14:33 +0900	[thread overview]
Message-ID: <b4meh1yy812.fsf@jpl.org> (raw)
In-Reply-To: <874n2u217r.fsf@yun.yagibdah.de>

lee wrote:
> what happened to `gnus-setup-message'?  That doesn`t seem to be
> available in recent emacs anymore.

It should still exist in lisp/gnus/gnus-msg.el{c|.gz}.  But that
macro is not configured to be autoloaded[1], so you have to load
gnus-msg explicitly if you want to use it without starting Gnus.

> How are we supposed to send email from scripts now?

I don't know what kind of script you use, but here is an example:

--eval '(require (quote gnus-msg))' --eval '(Your-Function)'

Where `Your-Function' is the one that uses gnus-setup-message.

[1] A thing that autoloads gnus-setup-message was deleted in
 gnus-dired.el five years ago.  I don't know if it is relevant
 to your problem, though.



  reply	other threads:[~2014-03-19  7:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19  5:42 gnus-setup-message? lee
2014-03-19  7:14 ` Katsumi Yamaoka [this message]
2014-03-21 10:55   ` gnus-setup-message? lee

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=b4meh1yy812.fsf@jpl.org \
    --to=yamaoka@jpl.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).