Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: Post to nntp from nnml
Date: Mon, 03 Dec 2001 19:47:27 -0800	[thread overview]
Message-ID: <m11yibmysw.fsf@reader.newsguy.com> (raw)
In-Reply-To: <m1u1v7n168.fsf@reader.newsguy.com> (Harry Putnam's message of "Mon, 03 Dec 2001 18:56:15 -0800")

The following message is a courtesy copy of an article
that has been posted to gnu.emacs.gnus as well.

Harry Putnam <reader@newsguy.com> 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.



  reply	other threads:[~2001-12-04  3:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-03 20:43 Harry Putnam
     [not found] ` <m3r8qbki8c.fsf@multivac.cwru.edu>
2001-12-04  2:56   ` Harry Putnam
2001-12-04  3:47     ` Harry Putnam [this message]
2001-12-04 10:20       ` Kai Großjohann
2001-12-05  2:56         ` Harry Putnam

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=m11yibmysw.fsf@reader.newsguy.com \
    --to=reader@newsguy.com \
    /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).