diff options
| author | Teodor Zlatanov | 2014-11-03 22:21:25 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2014-11-03 22:21:25 +0000 |
| commit | 033b622b42b1c82242de5f071f01c424fe1cd2c7 (patch) | |
| tree | dadcaedd4504021c56f2c2daed102c3371de8664 | |
| parent | 41e962982dfe424c69ed99f0bd26a6e4eb67107f (diff) | |
| download | emacs-033b622b42b1c82242de5f071f01c424fe1cd2c7.tar.gz emacs-033b622b42b1c82242de5f071f01c424fe1cd2c7.zip | |
doc/misc/auth.texi (Help for users): Explain quoting rules better
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/auth.texi | 15 |
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 @@ | |||
| 1 | 2014-11-02 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * auth.texi (Help for users): Explain quoting rules better. | ||
| 4 | |||
| 1 | 2014-10-30 Glenn Morris <rgm@gnu.org> | 5 | 2014-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 | ||
| 109 | Spaces are always OK as far as auth-source is concerned (but other | 109 | You can use spaces inside a password or other token by surrounding the |
| 110 | programs may not like them). Just put the data in quotes, escaping | 110 | token with either single or double quotes. |
| 111 | quotes as you'd expect with @samp{\}. | ||
| 112 | 111 | ||
| 113 | All these are optional. You could just say (but we don't recommend | 112 | You can use single quotes inside a password or other token by |
| 114 | it, we're just showing that it's possible) | 113 | surrounding it with double quotes, e.g. @code{"he'llo"}. Similarly you |
| 114 | can use double quotes inside a password or other token by surrounding | ||
| 115 | it with single quotes, e.g. @code{'he"llo'}. You can't mix both (so a | ||
| 116 | password or other token can't have both single and double quotes). | ||
| 117 | |||
| 118 | All this is optional. You could just say (but we don't recommend it, | ||
| 119 | we're just showing that it's possible) | ||
| 115 | 120 | ||
| 116 | @example | 121 | @example |
| 117 | password @var{mypassword} | 122 | password @var{mypassword} |