bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25769: 24.5; netrc-parse assumes machine/login/password all appear o


From: Lars Ingebrigtsen
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]