Gnus development mailing list
 help / color / mirror / Atom feed
From: Jari Aalto <jari.aalto@ntc.nokia.com>
Subject: [patch] 0.37 gnus-group-mail/new arg composes mail to group
Date: 19 Mar 1998 17:53:55 +0200	[thread overview]
Message-ID: <tbhg4uad7w.fsf@blue.sea.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]



    I tried to find a command from the group buffer to post directly
    to the group without entering it; but I couldn't find one.
    In case it exists, please ignore this patch.

    It adds optional argument to group "H" command to start
    composing message directly to that group. This is convenient,
    when you want to send questions but not actually read the group
    at that time.

    jari


[-- Attachment #2: gnus-msg.el.diff --]
[-- Type: application/octet-stream, Size: 785 bytes --]

Prereq: 1.37

===================================================================
RCS file: RCS/gnus-msg.el,v
retrieving revision 1.37
retrieving revision 1.38
diff -ubw -r1.37 -r1.38
--- 1.37	1998/03/19 15:47:31
+++ 1.38	1998/03/19 15:49:24
@@ -199,11 +199,12 @@
 
 ;;; Post news commands of Gnus group mode and summary mode
 
-(defun gnus-group-mail ()
-  "Start composing a mail."
-  (interactive)
-  (gnus-setup-message 'message
-    (message-mail)))
+(defun gnus-group-mail (&optional group)
+  "Start composing a mail. Optionally compose mail to  GROUP."
+  (interactive "P")
+  (if group
+       (gnus-post-news 'post (gnus-group-group-name))
+    (gnus-setup-message 'message (message-mail))))
 
 (defun gnus-group-post-news (&optional arg)
   "Start composing a news message.

             reply	other threads:[~1998-03-19 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-19 15:53 Jari Aalto [this message]
1998-03-19 16:03 ` Kai Grossjohann

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=tbhg4uad7w.fsf@blue.sea.net \
    --to=jari.aalto@ntc.nokia.com \
    /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).