2002-02-16 ShengHuo ZHU <zsh@cs.rochester.edu>
+ * gnus-msg.el (gnus-discouraged-post-methods): New variable.
+ (gnus-post-method): Use it.
+
* gnus-soup.el (gnus-soup-send-packet): Via ... using ...
* message.el (message-send-news): Ditto.
+ Suggested by Lloyd Zusman <ljz@asfast.com> and IPmonger
+ <ipmonger@delamancha.org>
* gnus.el (gnus-select-method): Fix doc.
(gnus-server-string): Use 'using nntp'.
:group 'gnus-message
:type '(repeat (symbol :tab "Variable")))
+(defcustom gnus-discouraged-post-methods
+ '(nndraft nnml nnimap nnmaildir)
+ "A list of back ends that are not used in \"real\" newsgroups.
+This variable is used only when `gnus-post-method' is `current'."
+ :version "21.3"
+ :group 'gnus-group-foreign
+ :type '(repeat (symbol :tab "Back end")))
+
;;; Internal variables.
(defvar gnus-inhibit-posting-styles nil
method-alist))))
;; Override normal method.
((and (eq gnus-post-method 'current)
- (not (eq (car group-method) 'nndraft))
+ (not (memq (car group-method) gnus-discouraged-post-methods))
(gnus-get-function group-method 'request-post t))
(assert (not arg))
group-method)