unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33826: 26.1; auth-source does not parse netrc files as documented
@ 2018-12-21 13:11 Daniel Gerber
  2019-07-09 23:19 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Gerber @ 2018-12-21 13:11 UTC (permalink / raw)
  To: 33826


In describing "netrc" files, (info "(auth) Help for users") says 
that "The ‘machine’ is the server [...] You can also use ‘host’".
But the code does not quite support `host`: 
`auth-source-netrc-parse-entries` starts a new entry only with the 
keyword `machine`.

Also, currently multiple lines starting with `host` are just 
merged together. The issue would have been easier to nail down if 
the parser did some validation, like warning when one entry has 
multiple values for the same key (user, port, ...).

---
In GNU Emacs 26.1
Repository revision: 132b6b71fa7388aa2b1ad113d86c485b9c461209
---





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#33826: 26.1; auth-source does not parse netrc files as documented
  2018-12-21 13:11 bug#33826: 26.1; auth-source does not parse netrc files as documented Daniel Gerber
@ 2019-07-09 23:19 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-09 23:19 UTC (permalink / raw)
  To: Daniel Gerber; +Cc: 33826

Daniel Gerber <dg@atufi.org> writes:

> In describing "netrc" files, (info "(auth) Help for users") says that
> "The ‘machine’ is the server [...] You can also use ‘host’".
> But the code does not quite support `host`:
> `auth-source-netrc-parse-entries` starts a new entry only with the
> keyword `machine`.

Yup; I've now removed that mention from the documentation.

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-09 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-21 13:11 bug#33826: 26.1; auth-source does not parse netrc files as documented Daniel Gerber
2019-07-09 23:19 ` Lars Ingebrigtsen

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