Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-setup-message?
@ 2014-03-19  5:42 lee
  2014-03-19  7:14 ` gnus-setup-message? Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: lee @ 2014-03-19  5:42 UTC (permalink / raw)
  To: ding

Hi,

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

How are we supposed to send email from scripts now?


-- 
Knowledge is volatile and fluid.  Software is power.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnus-setup-message?
  2014-03-19  5:42 gnus-setup-message? lee
@ 2014-03-19  7:14 ` Katsumi Yamaoka
  2014-03-21 10:55   ` gnus-setup-message? lee
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2014-03-19  7:14 UTC (permalink / raw)
  To: ding

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnus-setup-message?
  2014-03-19  7:14 ` gnus-setup-message? Katsumi Yamaoka
@ 2014-03-21 10:55   ` lee
  0 siblings, 0 replies; 3+ messages in thread
From: lee @ 2014-03-21 10:55 UTC (permalink / raw)
  To: ding

Katsumi Yamaoka <yamaoka@jpl.org> writes:

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

Hmm, yes, thank you --- it`s still there.  I`ll have to look into it why
it suddenly was undefined.

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

It worked until very recently and I sent some messages as usual, just to
find out that none of them were sent because the function was suddenly
undefined ...


-- 
Knowledge is volatile and fluid.  Software is power.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-21 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19  5:42 gnus-setup-message? lee
2014-03-19  7:14 ` gnus-setup-message? Katsumi Yamaoka
2014-03-21 10:55   ` gnus-setup-message? lee

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