unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 29: Package netrc is deprecated
Date: Tue, 07 May 2024 16:58:33 +0200	[thread overview]
Message-ID: <87cypxpt2e.fsf@dod.no> (raw)
In-Reply-To: <jwvzft21gth.fsf-monnier+emacs@gnu.org> (Stefan Monnier via Users list for the's message of "Mon, 06 May 2024 22:47:32 -0400")

>>>>> 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`.

Thanks!  Got me part of the way (so far)

auth-source-netrc-parse-all seems to return a compatible result to what
netrc-parse returns.

But there were no replacements for netrc-machine and netrc-get that I
could see?

netrc-get is trivial, netrc-machine less so (though I could copy the
current one out of the emac source, I guess..? I would prefer not to).

In the auth-source code there is lots of talk about backends, which I
assume are Gnus backends, and little/nothing about using it as a netrc
file parser.

The experimentation/digging continues.



  reply	other threads:[~2024-05-07 14:58 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 [this message]
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
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=87cypxpt2e.fsf@dod.no \
    --to=sb@dod.no \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).