From: Robert Pluim <rpluim@gmail.com>
To: Steinar Bang <sb@dod.no>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs 29: Package netrc is deprecated
Date: Tue, 14 May 2024 09:35:49 +0200 [thread overview]
Message-ID: <87frukluay.fsf@gmail.com> (raw)
In-Reply-To: <87cypxpt2e.fsf@dod.no> (Steinar Bang's message of "Tue, 07 May 2024 16:58:33 +0200")
>>>>> On Tue, 07 May 2024 16:58:33 +0200, Steinar Bang <sb@dod.no> said:
>>>>> Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>:
>> The replacement package is `auth-source`.
>> `netrc-parse` says it's replaced by `auth-source-netrc-parse-all`.
Steinar> Thanks! Got me part of the way (so far)
Steinar> auth-source-netrc-parse-all seems to return a compatible result to what
Steinar> netrc-parse returns.
Steinar> But there were no replacements for netrc-machine and netrc-get that I
Steinar> could see?
Steinar> netrc-get is trivial, netrc-machine less so (though I could copy the
Steinar> current one out of the emac source, I guess..? I would prefer not to).
(auth-source-search :host "my.host.com" :port 993)
(I guess the return format is different)
Steinar> In the auth-source code there is lots of talk about backends, which I
Steinar> assume are Gnus backends, and little/nothing about using it as a netrc
Steinar> file parser.
No, theyʼre auth source backends. .netrc, .authinfo, 'passʼ, oauth2
etc.
Robert
--
next prev parent reply other threads:[~2024-05-14 7:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 19:43 Emacs 29: Package netrc is deprecated Steinar Bang
2024-05-07 2:47 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-05-07 14:58 ` Steinar Bang
2024-05-07 15:12 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-05-19 11:36 ` Steinar Bang
2024-05-14 7:35 ` Robert Pluim [this message]
2024-05-19 11:58 ` Steinar Bang
2024-05-20 9:10 ` Robert Pluim
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=87frukluay.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=sb@dod.no \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).