From: Sudish Joseph <joseph@cis.ohio-state.edu>
Cc: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>,
Robert Nicholson <robert@steffi.accessone.com>
Subject: Re: Suggestion: support "a" from the group buffer. [patch]
Date: 04 Nov 1995 20:05:01 -0500 [thread overview]
Message-ID: <umtwx9fx45e.fsf@crete.cis.ohio-state.edu> (raw)
In-Reply-To: Sudish Joseph's message of 04 Nov 1995 19:42:42 -0500
Sudish Joseph writes:
> ! (interactive "p")
Whewps, that should be "P". Corrected patch follows.
-Sudish
Whee! Cascaded self-followups rewl.
*** gnus/lisp/ChangeLog Sun Oct 29 13:54:38 1995
--- lisp/ChangeLog Sat Nov 4 19:36:30 1995
***************
*** 0 ****
--- 1,8 ----
+ Sat Nov 4 19:24:57 1995 sudish joseph <joseph@cis.ohio-state.edu>
+
+ * gnus-msg.el (gnus-group-post-news): Use the group under point as
+ the default when composing the post buffer. (This means that
+ `a' over a mail group will get you a *mail* buffer.) Using a
+ prefix ARG will force a fresh post buffer (i.e., no default
+ group is used).
+
diff -crx ChangeLog gnus/lisp/gnus-msg.el lisp/gnus-msg.el
*** gnus/lisp/gnus-msg.el Sun Oct 29 13:54:30 1995
--- lisp/gnus-msg.el Sat Nov 4 20:01:16 1995
***************
*** 326,336 ****
(interactive)
(gnus-new-mail))
! (defun gnus-group-post-news ()
! "Post an article."
! (interactive)
(let ((gnus-newsgroup-name nil))
! (gnus-post-news 'post nil nil gnus-article-buffer)))
(defun gnus-summary-post-news ()
"Post an article."
--- 326,342 ----
(interactive)
(gnus-new-mail))
! (defun gnus-group-post-news (&optional arg)
! "Post an article.
! The newsgroup under the cursor is used as the group to post to.
!
! If you wish to get an empty post buffer, use a prefix ARG. You can
! also do this by calling this function from the bottom of the Group
! buffer."
! (interactive "P")
(let ((gnus-newsgroup-name nil))
! (gnus-post-news 'post (if arg nil (gnus-group-group-name))
! nil gnus-article-buffer)))
(defun gnus-summary-post-news ()
"Post an article."
prev parent reply other threads:[~1995-11-05 1:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-05 0:11 Suggestion: support "a" from the group buffer Robert Nicholson
1995-11-05 0:28 ` Suggestion: support "a" from the group buffer. [patch] Sudish Joseph
1995-11-05 0:42 ` Sudish Joseph
1995-11-05 1:05 ` Sudish Joseph [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=umtwx9fx45e.fsf@crete.cis.ohio-state.edu \
--to=joseph@cis.ohio-state.edu \
--cc=larsi@ifi.uio.no \
--cc=robert@steffi.accessone.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).