From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40684 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: Post to nntp from nnml Date: Mon, 03 Dec 2001 19:47:27 -0800 Organization: Still searching... Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176197 2260 80.91.224.250 (21 Oct 2002 04:56:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:56:37 +0000 (UTC) Return-Path: Original-Received: (qmail 18126 invoked from network); 4 Dec 2001 03:52:25 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 4 Dec 2001 03:52:25 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16B6cr-0003Ne-00; Mon, 03 Dec 2001 21:52:09 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 03 Dec 2001 21:51:55 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id VAA26646 for ; Mon, 3 Dec 2001 21:51:41 -0600 (CST) Original-Received: (qmail 18118 invoked by alias); 4 Dec 2001 03:51:50 -0000 Original-Received: (qmail 18113 invoked from network); 4 Dec 2001 03:51:50 -0000 Original-Received: from smtp.newsguy.com (HELO newsguy.com) (209.155.56.71) by gnus.org with SMTP; 4 Dec 2001 03:51:50 -0000 Original-Received: from reader.local.lan (adsl-66.51.210.228.dslextreme.com [66.51.210.228]) by newsguy.com (8.9.1a/8.9.1) with ESMTP id TAA49176 for ; Mon, 3 Dec 2001 19:51:22 -0800 (PST) Original-Received: (from reader@localhost) by reader.local.lan (8.11.6/8.11.6) id fB43pK418444; Mon, 3 Dec 2001 19:51:20 -0800 X-Authentication-Warning: reader.local.lan: reader set sender to reader@newsguy.com using -f Original-Newsgroups: gnu.emacs.gnus Original-To: ding@gnus.org In-Reply-To: (Harry Putnam's message of "Mon, 03 Dec 2001 18:56:15 -0800") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i586-pc-linux-gnu) Cancel-Lock: sha1:4Ux1uEk1z+ctSCD1mn5WPWGTbJA= Posted-To: gnu.emacs.gnus Original-Lines: 54 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40684 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40684 The following message is a courtesy copy of an article that has been posted to gnu.emacs.gnus as well. Harry Putnam writes: >> I think that's possible with Oort's gnus-parameters; you can make a >> group-specific setting for a variable there, right? > > Even if the syntax were obvious, this snippet from the customize > buffer seems to indicate one isn't allowed to post nntp method from > mail groups: > > (From Customize buffer: gnus-post-methods -ed HP) > > If this variable is `current' (which is the default), Gnus will use > the "current" select method when posting. If it is `native', Gnus > will use the native select method when posting. > > This method will not be used in mail groups and the like, only in > "real" newsgroups. > > If not `native' nor `current', the value must be a valid method as > discussed in the documentation of `gnus-select-method'. It can also > be a list of methods. If that is the case, the user will be queried > for what select method to use when posting. I see from experimentation that one can set the method in group params. A confusing aspect is that it gets a different name then. Instead of gnus-post-methods, it becomes simply post-method. So setting G p to ((post-method . nntp)) will allow me to post from an nnml group nntp method. Now the trickier part: I have a number of nnml groups named after newsgroups but with a prefix of 1x so they look like 1x.gnu.emacs.gnus. The prefix was for local effect where I place a symlink in ~/Mail/ like: Mail/1x ->/some/other/partiton/directory So the actual nnml directories are on /some/other/partion. I don't that really figures into this query though. I see now how to allow posting to the real nntp group from its nnml twin by setting ((post-method . nntp)), but then one must manually insert the Newsgroup header and insert the name. I hoped I could do something in group params or gnus-parameters that would make gnus do that for me. So that when intering nnml:1x.gnu.emacs.gnus and pressing `a' I get a buffer with Newsgroups: gnu.emacs.gnus already inserted.