Gnus development mailing list
 help / color / mirror / Atom feed
From: David Roth <david@linuxpunks.net>
Subject: Re: gnus and mailto:
Date: 06 Sep 2000 13:29:46 +0100	[thread overview]
Message-ID: <m2ya15zosl.fsf@melvin.linuxpunks.net> (raw)
In-Reply-To: Dave Love's message of "Tue, 5 Sep 2000 15:36:33 +0100"

Hi,
thanks for both yours and Kai's reply.  I should have mentioned that I wished to use
gnus-group-mail instead of compose-mail.  But this doesn't seem to take any arguments, so I ended
up copying and modifying gnus-group-mail to the following:

(require 'gnus-msg)
(defun dxr-group-mail (To Subject)
  "Start composing a mail."
  (interactive)
  (gnus-setup-message 'message
  (message-mail To Subject)))

which seems to work the way I want, when I call it from gnudoit.  I'm sure there's probably a better
way to do it though! 

Thanks for the pointers in the right direction.

Dave



Dave Love <d.love@dl.ac.uk> writes:

> >>>>> "DR" == David Roth <david@linuxpunks.net> writes:
> 
>  DR> Basically I was wondering how to pass an email address (and maybe
>  DR> subject) to my gnus session from the command line, and have it
>  DR> pop up a nice new compose message window in gnus.
> 
> I once used the following script, but you'll want to call
> `compose-mail', not `mail', and I think the args are different.  See
> etc/MORE.STUFF for gnuserv/gnudoit.
> 
> #! /bin/sh
> 
> # For MMM.  Invoked as `mailto -s <subject> <address>'
> 
> gnudoit "(mail nil \"$3\" \"$2\")" >/dev/null
> 

-- 
/-------------------------------------------------------\
| David Roth:                 david@linuxpunks.net      |
| Web:                        http://www.linuxpunks.net |
| ICQ:                        4507133                   |
\-------------------------------------------------------/



  reply	other threads:[~2000-09-06 12:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-30 20:49 David Roth
2000-08-31  7:57 ` Kai Großjohann
2000-09-05 14:36 ` Dave Love
2000-09-06 12:29   ` David Roth [this message]
2000-09-08 22:30     ` Dave Love
2000-09-09  9:46       ` Kai Großjohann
2000-09-10 17:45         ` Dave Love
2000-09-11 15:23           ` Kai Großjohann
2000-09-12 14:13             ` Dave Love

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=m2ya15zosl.fsf@melvin.linuxpunks.net \
    --to=david@linuxpunks.net \
    /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).