Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Falcone <kevinfal@seas.upenn.edu>
Subject: Re: Fcc'd stuff into r/w Gnus group?
Date: 06 Mar 2000 18:16:22 -0500	[thread overview]
Message-ID: <m3n1obr8op.fsf@bowline.jibsheet.com> (raw)
In-Reply-To: Brian May's message of "07 Mar 2000 09:48:52 +1100"

>>>>> "BM" == Brian May <bmay@csse.monash.edu.au> writes:
>>>>> "David" == David S Goldberg <dsg@mitre.org> writes:
  David> This is, in fact exactly what I do when I use message-mode
  David> from outside of gnus.  Since I don't need it very often,
  David> I'm too lazy to find/install/test the neat bits that have
  David> been posted that call gnus-group-mail from other packages.

  BM> What "neat bits" have been posted to do this? I would really like to
  BM> be able to do this...

I have the following in my .emacs, which seem to do what you
requested.  Unfortunately, I don't know who deserves credit for these.

;;make gnus the only mail mode
(require 'message)
(require 'gnus-msg)

(define-mail-user-agent 'gnus-user-agent
  'gnus-mail 'message-send-and-exit
  'message-kill-buffer 'message-send-hook)

(defun gnus-mail (&rest args)
  "Start editing a mail message to be sent gnus style.
  Use message mode as the underlying agent."
    (unless (and (fboundp 'gnus-alive-p) (gnus-alive-p))
      (gnus-no-server)
      (gnus-group-suspend))
    (gnus-setup-message 'message (apply 'message-mail args)))

(setq mail-user-agent 'gnus-user-agent)

-kevin

-- 
Kevin Falcone <kevinfal@seas.upenn.edu>

"The Windows Perl motto: It's just as well there's more than one
way to do it because most of them don't work." -- Simon Cozens




      reply	other threads:[~2000-03-06 23:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-05 12:01 Kai Großjohann
2000-03-06 15:25 ` David S. Goldberg
2000-03-06 22:48   ` Brian May
2000-03-06 23:16     ` Kevin Falcone [this message]

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=m3n1obr8op.fsf@bowline.jibsheet.com \
    --to=kevinfal@seas.upenn.edu \
    /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).