diff options
| author | Glenn Morris | 2019-01-30 09:12:15 -0800 |
|---|---|---|
| committer | Glenn Morris | 2019-01-30 09:12:15 -0800 |
| commit | 08bc407a228796b64e321cb28b38b39062ab1732 (patch) | |
| tree | 8e390c58a811f64a4f44c7f0e6934b3255155af2 /doc | |
| parent | 49e253a0f803b497ee3177c1c346d4e0ac70fdae (diff) | |
| parent | b94d76752776cca4d1652cfe715a60f4a36f14a3 (diff) | |
| download | emacs-08bc407a228796b64e321cb28b38b39062ab1732.tar.gz emacs-08bc407a228796b64e321cb28b38b39062ab1732.zip | |
Merge from origin/emacs-26
b94d767 (origin/emacs-26) Minor copyedits in last manual change
73508e6 Improve documentation of face numbers
bf235ce * doc/emacs/custom.texi (Authentication): Refer to the "Help ...
ceccb3c New node Authentication in the Emacs manual
9078f34 Fix a loop in c-fl-decl-start. This fixes bug #34186.
a177fe7 Fix LaTeX output of month and day from cal-tex.el
90177d7 Avoid elisp crash for OpenPGP User IDs with no e-mail address
68e55a0 image-mode: Do not use default scaling (bug#33990)
b6c762a create-image: Expand documentation (bug#33990)
928d342 Improve documentation of 'isearch-filter-predicate'
9034dd6 Fix cursor column positioning on Grep hits
# Conflicts:
# doc/emacs/custom.texi
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/custom.texi | 39 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 1 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 7 |
3 files changed, 47 insertions, 0 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 618692e479f..474149fcae6 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -32,6 +32,8 @@ Reference Manual}. | |||
| 32 | By changing them, you can redefine keys. | 32 | By changing them, you can redefine keys. |
| 33 | * Init File:: How to write common customizations in the | 33 | * Init File:: How to write common customizations in the |
| 34 | initialization file. | 34 | initialization file. |
| 35 | * Authentication:: Keeping persistent authentication information. | ||
| 36 | |||
| 35 | @end menu | 37 | @end menu |
| 36 | 38 | ||
| 37 | @node Easy Customization | 39 | @node Easy Customization |
| @@ -2639,3 +2641,40 @@ provided by the Emacs startup, such as @code{window-setup-hook} or | |||
| 2639 | 2641 | ||
| 2640 | For more information on the early init file, @pxref{Init File,,, | 2642 | For more information on the early init file, @pxref{Init File,,, |
| 2641 | elisp, The Emacs Lisp Reference Manual}. | 2643 | elisp, The Emacs Lisp Reference Manual}. |
| 2644 | |||
| 2645 | @node Authentication | ||
| 2646 | @section Keeping Persistent Authentication Information | ||
| 2647 | |||
| 2648 | Some Emacs packages, which connect to other services, require | ||
| 2649 | authentication (@pxref{Passwords}), e.g., see @ref{Top, Gnus,, gnus, The | ||
| 2650 | Gnus Manual}, or @ref{Top, Tramp,, tramp, The Tramp Manual}. Because | ||
| 2651 | it might be annoying to provide the same user name and password again | ||
| 2652 | and again, Emacs offers to keep this information persistent via the | ||
| 2653 | @file{auth-source} library. | ||
| 2654 | |||
| 2655 | @cindex @file{~/.authinfo} file | ||
| 2656 | @cindex @file{~/.authinfo.gpg} file | ||
| 2657 | @cindex ~/.netrc file | ||
| 2658 | By default, the authentication information is taken from the file | ||
| 2659 | @file{~/.authinfo} or @file{~/.authinfo.gpg} or @file{~/.netrc}. | ||
| 2660 | These files have a syntax similar to netrc files as known from the | ||
| 2661 | @command{ftp} program, like this: | ||
| 2662 | |||
| 2663 | @example | ||
| 2664 | machine @var{mymachine} login @var{myloginname} password @var{mypassword} port @var{myport} | ||
| 2665 | @end example | ||
| 2666 | |||
| 2667 | Similarly, the @file{auth-source} library supports multiple storage | ||
| 2668 | backend, currently either the classic netrc backend, JSON files, the | ||
| 2669 | Secret Service API, and pass, the standard unix password manager. | ||
| 2670 | |||
| 2671 | @vindex auth-sources | ||
| 2672 | All these alternatives can be customized via the user option | ||
| 2673 | @code{auth-sources}, see @ref{Help for users, Emacs auth-source,, | ||
| 2674 | auth, Emacs auth-source}. | ||
| 2675 | |||
| 2676 | @vindex auth-source-save-behavior | ||
| 2677 | When a password is entered interactively, which is not found via the | ||
| 2678 | configured backend, some of the backends offer to save it | ||
| 2679 | persistently. This can be changed by customizing the user option | ||
| 2680 | @code{auth-source-save-behavior}. | ||
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 54c20251ef7..950ddc01123 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -1114,6 +1114,7 @@ Customization | |||
| 1114 | By changing them, you can redefine keys. | 1114 | By changing them, you can redefine keys. |
| 1115 | * Init File:: How to write common customizations in the | 1115 | * Init File:: How to write common customizations in the |
| 1116 | initialization file. | 1116 | initialization file. |
| 1117 | * Authentication:: Keeping persistent authentication information. | ||
| 1117 | 1118 | ||
| 1118 | Easy Customization Interface | 1119 | Easy Customization Interface |
| 1119 | 1120 | ||
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 350b3108715..95379b342b3 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -3079,10 +3079,17 @@ value, which inherits from @var{face}'s global definition. | |||
| 3079 | This function returns a list of all defined face names. | 3079 | This function returns a list of all defined face names. |
| 3080 | @end defun | 3080 | @end defun |
| 3081 | 3081 | ||
| 3082 | @cindex face number | ||
| 3083 | @cindex face property of face symbols | ||
| 3082 | @defun face-id face | 3084 | @defun face-id face |
| 3083 | This function returns the @dfn{face number} of face @var{face}. This | 3085 | This function returns the @dfn{face number} of face @var{face}. This |
| 3084 | is a number that uniquely identifies a face at low levels within | 3086 | is a number that uniquely identifies a face at low levels within |
| 3085 | Emacs. It is seldom necessary to refer to a face by its face number. | 3087 | Emacs. It is seldom necessary to refer to a face by its face number. |
| 3088 | However, functions that manipulate glyphs, such as | ||
| 3089 | @code{make-glyph-code} and @code{glyph-face} (@pxref{Glyphs}) access | ||
| 3090 | the face numbers internally. Note that the face number is stored as | ||
| 3091 | the value of the @code{face} property of the face symbol, so we | ||
| 3092 | recommend not to set that property of a face to any value of your own. | ||
| 3086 | @end defun | 3093 | @end defun |
| 3087 | 3094 | ||
| 3088 | @defun face-documentation face | 3095 | @defun face-documentation face |