aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeodor Zlatanov2014-11-03 22:21:25 +0000
committerKatsumi Yamaoka2014-11-03 22:21:25 +0000
commit033b622b42b1c82242de5f071f01c424fe1cd2c7 (patch)
treedadcaedd4504021c56f2c2daed102c3371de8664
parent41e962982dfe424c69ed99f0bd26a6e4eb67107f (diff)
downloademacs-033b622b42b1c82242de5f071f01c424fe1cd2c7.tar.gz
emacs-033b622b42b1c82242de5f071f01c424fe1cd2c7.zip
doc/misc/auth.texi (Help for users): Explain quoting rules better
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/auth.texi15
2 files changed, 14 insertions, 5 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 1ecc0a65741..36134cdc8d1 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12014-11-02 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * auth.texi (Help for users): Explain quoting rules better.
4
12014-10-30 Glenn Morris <rgm@gnu.org> 52014-10-30 Glenn Morris <rgm@gnu.org>
2 6
3 * efaq.texi (Gnus does not work with NNTP): Remove; ancient. 7 * efaq.texi (Gnus does not work with NNTP): Remove; ancient.
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 207ffc6d79b..976143e8e39 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -106,12 +106,17 @@ The @code{user} is the user name. It's known as @var{:user} in
106@code{auth-source-search} queries. You can also use @code{login} and 106@code{auth-source-search} queries. You can also use @code{login} and
107@code{account}. 107@code{account}.
108 108
109Spaces are always OK as far as auth-source is concerned (but other 109You can use spaces inside a password or other token by surrounding the
110programs may not like them). Just put the data in quotes, escaping 110token with either single or double quotes.
111quotes as you'd expect with @samp{\}.
112 111
113All these are optional. You could just say (but we don't recommend 112You can use single quotes inside a password or other token by
114it, we're just showing that it's possible) 113surrounding it with double quotes, e.g. @code{"he'llo"}. Similarly you
114can use double quotes inside a password or other token by surrounding
115it with single quotes, e.g. @code{'he"llo'}. You can't mix both (so a
116password or other token can't have both single and double quotes).
117
118All this is optional. You could just say (but we don't recommend it,
119we're just showing that it's possible)
115 120
116@example 121@example
117password @var{mypassword} 122password @var{mypassword}