Gnus development mailing list
 help / color / mirror / Atom feed
From: Robert Nicholson <robert@steffi.accessone.com>
Subject: "a"ing in the group buffer cont'd
Date: Sat, 4 Nov 1995 17:22:56 -0800 (PST)	[thread overview]
Message-ID: <199511050122.RAA00344@steffi.accessone.com> (raw)


I've made a start on adding some trivial support to allow "a"ing ...

However perhaps the reason this was never there in the first place is because
this assumes to much about the format of the group lines?

Is there anyway to map from the line number in the group buffer to list
of newsgroups be they sorted or not?

(defun gnus-group-post-news ()
  "Post an article."
  (interactive)
  (save-excursion
    (let ((gnus-newsgroup-name nil))
      (beginning-of-line)
      (if (looking-at ".*: \\(.*\\)")
	  (progn 
	    (setq gnus-newsgroup-name 
		  (buffer-substring (match-beginning 1) (match-end 1)))))
      (gnus-post-news 'post gnus-newsgroup-name nil gnus-article-buffer))))


             reply	other threads:[~1995-11-05  1:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-05  1:22 Robert Nicholson [this message]
1995-11-06 13:33 ` Lars Magne Ingebrigtsen

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=199511050122.RAA00344@steffi.accessone.com \
    --to=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).