From: Chris Green <cmg@dok.org>
Subject: calling gnus-group-mail with a groupname
Date: Tue, 09 Dec 2003 10:21:13 -0500 [thread overview]
Message-ID: <m21xreaufq.fsf@catbert.dok.org> (raw)
Hey folks, I've been trying to give myself a shortcut to a mailing
list group that I don't read with gnus but I have defined a posting
style for by wrapping a call to gnus-group-mail so that it uses the
posting style of the group. The problem is after defining this
wrapper, I still get prompted for the argument nam
I'm using CVS from a little while ago if that's helps my problem.
(defun cmg:mail-xyz ()
"Use this to mail using the posting style of xyx"
(interactive)
;; overwrite the group-name function
(flet ((gnus-group-group-name (&optional arg) "xyz"))
(gnus-group-mail "xyz"))) ;; I wish it could use an arg groupname
Replacing gnus-group-mail with (message (gnus-group-group-name)) seems
to do the right thing.
Any suggestions?
--
Chris Green <cmg@dok.org>
To err is human, to moo bovine.
next reply other threads:[~2003-12-09 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 15:21 Chris Green [this message]
2003-12-31 3:00 ` Lars Magne Ingebrigtsen
2004-01-13 17:00 ` Johan Bockgård
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=m21xreaufq.fsf@catbert.dok.org \
--to=cmg@dok.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).