From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Vasilij Schneidermann <v.schneidermann@gmail.com>
Cc: 22081@debbugs.gnu.org
Subject: bug#22081: 24.5; netrc.el fails parsing authinfo items spread over multiple lines
Date: Mon, 14 Dec 2015 18:57:08 +0100 [thread overview]
Message-ID: <m3oadshq17.fsf@gnus.org> (raw)
In-Reply-To: <87fuzjvdp5.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 03 Dec 2015 08:55:50 -0500")
Ted Zlatanov <tzz@lifelogs.com> writes:
> (The netrc.el `netrc-parse' code is not actively used nowadays in Emacs,
> as far as I know, but hasn't been removed due to my laziness. I see a
> single reference to it in gnus/nntp.el. It has some deficiencies that
> were improved in `auth-source-netrc-parse', for instance supporting
> single-quoted strings. Any objections to removing it? CC to Lars since
> he wrote it originally.)
Let's see...
Geez, that's some convoluted code. I think what it's meant to do is to
allow the user to define `nntp-authinfo-file' and allow that to override
the other Emacs authinfo choices.
I think it would be nice to not break people's setups, but I think it
would be clearer just to do something like
(let ((auth-sources (cons nntp-authinfo-file auth-sources)))
...)
before calling auth-source, and delete the explicit calls to netrc
completely. And then you could move netrc.el to obsolete/.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2015-12-14 17:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-03 10:20 bug#22081: 24.5; netrc.el fails parsing authinfo items spread over multiple lines Vasilij Schneidermann
2015-12-03 13:55 ` Ted Zlatanov
2015-12-03 18:28 ` Glenn Morris
2015-12-04 14:25 ` Andy Moreton
2015-12-05 23:43 ` Ted Zlatanov
2015-12-07 14:14 ` Andy Moreton
2015-12-07 18:15 ` Ted Zlatanov
2015-12-08 9:35 ` Andy Moreton
2015-12-08 14:06 ` Ted Zlatanov
2015-12-14 17:57 ` Lars Magne Ingebrigtsen [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3oadshq17.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=22081@debbugs.gnu.org \
--cc=v.schneidermann@gmail.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).