From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37339 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Can't post-followup or post-forward in nnml groups Date: Wed, 01 Aug 2001 07:45:50 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035172771 13340 80.91.224.250 (21 Oct 2002 03:59:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:59:31 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 28750 invoked from network); 31 Jul 2001 22:46:21 -0000 Original-Received: from unknown (HELO jpl.org) (207.228.244.9) by gnus.org with SMTP; 31 Jul 2001 22:46:21 -0000 Original-Received: from yamaoka@jpl.org œby jpl.org (jpl.org [207.228.245.242]) (8.11.1/8.11.1) id f6VMkHw23900 œWed, 1 Aug 2001 07:46:17 +0900 (JST) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE.?=.web-hosting.com (Kai =?iso-8859-1?q?Gro=DFjohann) X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 50 Xref: main.gmane.org gmane.emacs.gnus.general:37339 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37339 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable >>>>> In =20 >>>>> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) wrote: > I feel it's much better. However, I don't know what the > parameter symbol is for the posting server. BTW, I wish I could > do as such as follows: > > (setq gnus-secondary-select-methods > `((nnml "" (gnus-post-method ,gnus-select-method)))) Kai> How about the variable gnus-parameters? Kai> (setq gnus-parameters Kai> `(("^nnml:" (gnus-post-method ,gnus-select-method)))) Kai> Does this work? No. But it's a good idea. There is a need to modify the function `gnus-post-method'. Could you please apply the following patch? 2001-07-31 Katsumi Yamaoka * gnus-msg.el (gnus-post-method): Refer to `gnus-parameters'. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=gnus-msg.el.diff --- gnus-msg.el~ Wed Jul 25 22:17:04 2001 +++ gnus-msg.el Tue Jul 31 22:43:02 2001 @@ -649,7 +649,9 @@ (defun gnus-post-method (arg group &optional silent) "Return the posting method based on GROUP and ARG. If SILENT, don't prompt the user." - (let ((group-method (gnus-find-method-for-group group))) + (let ((group-method + (or (car (gnus-group-find-parameter group 'gnus-post-method t)) + (gnus-find-method-for-group group)))) (cond ;; If the group-method is nil (which shouldn't happen) we use ;; the default method. --=-=-=--