From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: nntp-send-authinfo doesn't look at nntp-port-number
Date: Fri, 24 Feb 2012 10:42:26 -0500 [thread overview]
Message-ID: <87pqd4utjx.fsf@lifelogs.com> (raw)
In-Reply-To: <b4m4nuhqh65.fsf@jpl.org>
On Fri, 24 Feb 2012 08:11:14 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote:
KY> + :port (or (cdr (assoc (format "%s" nntp-port-number)
KY> + '(("563" . ("563" "nntps" "snews")))))
KY> + '("119" "nntp")))))
Sorry I didn't reply sooner... this could be simply
`("119" "nntp" ,(format "%s" nntp-port-number) "563" "nntps" "snews")
The order doesn't matter. It makes sense to search for all these
possible matches in the authinfo/netrc file at once, with the assumption
that it's very unlikely a user will use both port 119 and 563 on a NNTP
server, and with different passwords. WDYT?
Ted
next prev parent reply other threads:[~2012-02-24 15:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-23 6:38 XeCycle
2012-02-23 11:05 ` Katsumi Yamaoka
2012-02-23 12:49 ` XeCycle
2012-02-23 23:11 ` Katsumi Yamaoka
2012-02-24 15:42 ` Ted Zlatanov [this message]
2012-02-25 0:41 ` Katsumi Yamaoka
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=87pqd4utjx.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
/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).