all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: trentbuck@gmail.com (Trent W. Buck)
Cc: 25769@debbugs.gnu.org
Subject: bug#25769: 24.5; netrc-parse assumes machine/login/password all appear on one line
Date: Sat, 14 Aug 2021 16:11:01 +0200	[thread overview]
Message-ID: <87eeawrua2.fsf@gnus.org> (raw)
In-Reply-To: <87d1ehoblp.fsf@gmail.com> (Trent W. Buck's message of "Fri, 17 Feb 2017 12:22:10 +1100")

trentbuck@gmail.com (Trent W. Buck) writes:

> With a file /tmp/test.netrc like this:
>
>     # -*- conf-space-keywords: "machine\\|login\\|password" -*-
>     machine XM login XL password XP
>
>     machine YM
>       login YL
>       password YP
>
> The first record is parsed correctly; the second is not:
>
>     *** Welcome to IELM ***  Type (describe-mode) for help.
>     ELISP> (require 'netrc)
>     netrc
>     ELISP> (netrc-parse "/tmp/test.netrc")
>     ((("machine" . "XM")
>       ("login" . "XL")
>       ("password" . "XP"))
>      (("machine" . "YM"))
>      (("login" . "YL"))
>      (("password" . "YP")))

This has apparently been fixed at some point after this was reported,
but I added your test case to Emacs 28, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      parent reply	other threads:[~2021-08-14 14:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17  1:22 bug#25769: 24.5; netrc-parse assumes machine/login/password all appear on one line Trent W. Buck
2017-02-17 15:34 ` Ted Zlatanov
2017-02-20  0:02   ` Trent W. Buck
2017-02-21  2:49     ` Glenn Morris
2021-08-14 14:11 ` Lars 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeawrua2.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=25769@debbugs.gnu.org \
    --cc=trentbuck@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.