]> git.eshelyaron.com Git - emacs.git/commitdiff
doc/misc/auth.texi (Help for users): Explain quoting rules better
authorTeodor Zlatanov <tzz@lifelogs.com>
Mon, 3 Nov 2014 22:21:25 +0000 (22:21 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 3 Nov 2014 22:21:25 +0000 (22:21 +0000)
doc/misc/ChangeLog
doc/misc/auth.texi

index 1ecc0a657416c21070e06233d53fb1113e77b0be..36134cdc8d1391901cebe0497b69712b94b58819 100644 (file)
@@ -1,3 +1,7 @@
+2014-11-02  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth.texi (Help for users): Explain quoting rules better.
+
 2014-10-30  Glenn Morris  <rgm@gnu.org>
 
        * efaq.texi (Gnus does not work with NNTP): Remove; ancient.
index 207ffc6d79b41962510d2100f7a0dd406491ef90..976143e8e3919266e20a964e7bcb989c7508226d 100644 (file)
@@ -106,12 +106,17 @@ The @code{user} is the user name.  It's known as @var{:user} in
 @code{auth-source-search} queries.  You can also use @code{login} and
 @code{account}.
 
-Spaces are always OK as far as auth-source is concerned (but other
-programs may not like them).  Just put the data in quotes, escaping
-quotes as you'd expect with @samp{\}.
+You can use spaces inside a password or other token by surrounding the
+token with either single or double quotes.
 
-All these are optional.  You could just say (but we don't recommend
-it, we're just showing that it's possible)
+You can use single quotes inside a password or other token by
+surrounding it with double quotes, e.g. @code{"he'llo"}. Similarly you
+can use double quotes inside a password or other token by surrounding
+it with single quotes, e.g. @code{'he"llo'}. You can't mix both (so a
+password or other token can't have both single and double quotes).
+
+All this is optional. You could just say (but we don't recommend it,
+we're just showing that it's possible)
 
 @example
 password @var{mypassword}