Fixes to improve auth-source prompting and don't default user name to anything.
authorTed Zlatanov <tzz@lifelogs.com>
Thu, 24 Feb 2011 13:01:53 +0000 (07:01 -0600)
committerTed Zlatanov <tzz@lifelogs.com>
Thu, 24 Feb 2011 13:01:53 +0000 (07:01 -0600)
commit35aa1a37b547e3cd2a7f2544d1c7754f7e1e952d
tree31fa488c6ebf550bb71ac72b054bbf79f2c921ac
parent63be035adb3071702f15ba818aeccaff715e1134
Fixes to improve auth-source prompting and don't default user name to anything.

* auth-source.el (auth-source-creation-prompts): New variable to manage
creation-time prompts.
(auth-source-search): Document it.
(auth-source-format-prompt): Add utility function.
(auth-source-netrc-create): Don't default the user name to
user-login-name.  Use `auth-source-creation-prompts' and some default
prompts for user, host, port, and password (the default generic prompt
remains ugly).
lisp/ChangeLog
lisp/auth-source.el