From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32337 Path: main.gmane.org!not-for-mail From: David Roth Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and mailto: Date: 06 Sep 2000 13:29:46 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <200009051436.PAA09834@djlvig.dl.ac.uk> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168624 19197 80.91.224.250 (21 Oct 2002 02:50:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:50:24 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 60484D051E for ; Wed, 6 Sep 2000 08:32:01 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAC11777; Wed, 6 Sep 2000 07:31:58 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 06 Sep 2000 07:30:00 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id HAA07521 for ; Wed, 6 Sep 2000 07:29:50 -0500 (CDT) Original-Received: from mail11.svr.pol.co.uk (mail11.svr.pol.co.uk [195.92.193.23]) by mailhost.sclp.com (Postfix) with ESMTP id 77029D051E for ; Wed, 6 Sep 2000 08:30:15 -0400 (EDT) Original-Received: from modem-141.neon.dialup.pol.co.uk ([62.136.9.141] helo=linuxpunks.net) by mail11.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 13WeLC-0004bo-00 for ding@gnus.org; Wed, 06 Sep 2000 13:30:11 +0100 Original-Received: (from david@localhost) by linuxpunks.net (8.9.3/8.9.3) id NAA12377; Wed, 6 Sep 2000 13:29:47 +0100 X-Authentication-Warning: melvin.linuxpunks.net: david set sender to david@linuxpunks.net using -f Original-To: ding@gnus.org X-URL: http://www.linuxpunks.net In-Reply-To: Dave Love's message of "Tue, 5 Sep 2000 15:36:33 +0100" Original-Lines: 46 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32337 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32337 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 writes: > >>>>> "DR" == David Roth 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
' > > gnudoit "(mail nil \"$3\" \"$2\")" >/dev/null > -- /-------------------------------------------------------\ | David Roth: david@linuxpunks.net | | Web: http://www.linuxpunks.net | | ICQ: 4507133 | \-------------------------------------------------------/