Gnus development mailing list
 help / color / mirror / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Posting from an nnvirtual group kludge
Date: Wed, 17 Oct 2001 19:55:04 +0200	[thread overview]
Message-ID: <rjpu7m6tjb.fsf@ssv2.dina.kvl.dk> (raw)

For some reason, posting from a nnvirtual group started to complain
about all groups being unknown.  I added the kludge below, but if
anyone who knows what is going on would find a better solution, that
would probably be good.

Should ve add a new nnoo virtual function to do it right?

2001-10-17  Per Abrahamsen  <abraham@dina.kvl.dk>

	* message.el (message-check-news-header-syntax): Special case
	nnvirtual groups.

*** message.el.~6.130.~	Wed Oct 17 10:57:59 2001
--- message.el	Wed Oct 17 19:51:04 2001
***************
*** 2919,2927 ****
  		     (if followup-to
  			 (concat newsgroups "," followup-to)
  		       newsgroups)))
! 	    (method (if (message-functionp message-post-method)
! 			(funcall message-post-method)
! 		      message-post-method))
  	    (known-groups
  	     (mapcar (lambda (n)
  		       (gnus-group-name-decode 
--- 2919,2938 ----
  		     (if followup-to
  			 (concat newsgroups "," followup-to)
  		       newsgroups)))
! 	    (post-method (if (message-functionp message-post-method)
! 			     (funcall message-post-method)
! 			   message-post-method))
! 	    ;; KLUDGE to handle nnvirtual groups.  Doing this right
! 	    ;; would probably involve a new nnoo function.
! 	    ;; -- Per Abrahamsen <abraham@dina.kvl.dk>, 2001-10-17.
! 	    (method (if (and (consp post-method) 
! 			     (eq (car post-method) 'nnvirtual)
! 			     gnus-message-group-art)
! 			(let ((group (car (nnvirtual-find-group-art
! 					   (car gnus-message-group-art)
! 					   (cdr gnus-message-group-art)))))
! 			  (gnus-find-method-for-group group))
! 		      post-method))
  	    (known-groups
  	     (mapcar (lambda (n)
  		       (gnus-group-name-decode 



                 reply	other threads:[~2001-10-17 17:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=rjpu7m6tjb.fsf@ssv2.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    /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).