Gnus development mailing list
 help / color / mirror / Atom feed
* "a"ing in the group buffer cont'd
@ 1995-11-05  1:22 Robert Nicholson
  1995-11-06 13:33 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Nicholson @ 1995-11-05  1:22 UTC (permalink / 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))))


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-11-06 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-11-05  1:22 "a"ing in the group buffer cont'd Robert Nicholson
1995-11-06 13:33 ` Lars Magne Ingebrigtsen

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).