diff options
| author | Glenn Morris | 2020-03-07 07:50:28 -0800 |
|---|---|---|
| committer | Glenn Morris | 2020-03-07 07:50:28 -0800 |
| commit | 3274b8090bf18dec00b6ce45d6a01bf5263982ed (patch) | |
| tree | 51eefa044043b38e239e23049592a7e49808aa72 /doc | |
| parent | c996fe1ec69de0082043397d4965d08cb94892fb (diff) | |
| parent | 72f87f88739befce2adf202749b7d651a8ef1551 (diff) | |
| download | emacs-3274b8090bf18dec00b6ce45d6a01bf5263982ed.tar.gz emacs-3274b8090bf18dec00b6ce45d6a01bf5263982ed.zip | |
Merge from origin/emacs-27
72f87f8873 (origin/emacs-27) NS port documentation updates
5b19db98ad ; * etc/NEWS: correctly describe what fido-mode is
fc47e3ad99 Let fido-mode users force a minibuffer-exit
e734961d4c icomplete-fido-exit: New command for the M-j binding
335a9bd215 minibuffer-force-complete-and-exit: Allow input with no ma...
34132d4bf6 ; * etc/NEWS: Mark 2 entries as fully documented.
d28b73841b ; * etc/NEWS: Fix the 'mml-secure-openpgp-sign-with-sender...
d1d56a9fd9 ; * etc/NEWS: 'thunk-let' and 'thunk-let*' are fully docum...
fc4f4efabf ; * etc/NEWS: No need to document vc-hg and mergebase chan...
9e8456cf0f ; * etc/NEWS: No need to document changes in Octave mode.
25b4d6fa28 ; * etc/NEWS: No need to document changes in map.el and se...
fc4d0f86da ; * etc/NEWS: No need to document Ido news.
d4ac478cb3 ; * etc/NEWS: No need to document news of doc-view.el.
08c042bd26 Document that 'byte-compile-dynamic' is obsolete
512b66abd7 ; * etc/NEWS: No need to document 'goto-address-uri-scheme...
3103c01c3e ; * etc/NEWS: Formatting fixes.
98306fdfb8 ; * etc/NEWS: No need to document deprecation of 'cl'.
6281ed58be ; * etc/NEWS: No need to document the change in 'list-proc...
e252341e11 ; * etc/NEWS: 'backup-by-copying-when-privileged-mismatch'...
ec5a267ddc ; * etc/NEWS: Mark 'byte-count-to-string-function' as undo...
89307ebccd ; * etc/NEWS: Mark 'completion-common-part' face entry as ...
fdbe7cacfb Document the changes in 'read-answer'
10c58356e4 Document changes in lexical-binding
5cb312b5b9 Update ERC mailing list address
cb1877321b Use regexp-opt to define bibtex-autokey-transcriptions. (...
3f9c340de0 Improve documentation of 'table-generate-source'
33b31dc314 Attempt to avoid rare segfaults in show_mouse_face
88c6db9196 Avoid crashes when a fontset has strange entries
1814c7e158 Fix rx error with ? and ??
40fb20061e * lisp/emacs-lisp/rx.el (rx--string-to-intervals): Fix err...
08d7d28d35 Fix args in 'window-text-pixel-size' call in 'fit-window-t...
cb1e30910e Have pulse.el preserve existing overlay priorities
# Conflicts:
# etc/NEWS
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/macos.texi | 69 | ||||
| -rw-r--r-- | doc/lispref/compile.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 20 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 10 |
4 files changed, 81 insertions, 24 deletions
diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi index ae1b8d654f0..00daa8b35d3 100644 --- a/doc/emacs/macos.texi +++ b/doc/emacs/macos.texi | |||
| @@ -143,6 +143,64 @@ The variables for right-hand keys, like @code{ns-right-alternate-modifier}, | |||
| 143 | may also be set to @code{left}, which means to use the same behavior as | 143 | may also be set to @code{left}, which means to use the same behavior as |
| 144 | the corresponding left-hand key. | 144 | the corresponding left-hand key. |
| 145 | 145 | ||
| 146 | @subsection Frame Variables | ||
| 147 | |||
| 148 | @table @code | ||
| 149 | @vindex ns-use-proxy-icon | ||
| 150 | @item ns-use-proxy-icon | ||
| 151 | This variable specifies whether to display the proxy icon in the | ||
| 152 | titlebar. | ||
| 153 | |||
| 154 | @vindex ns-confirm-quit | ||
| 155 | @item ns-confirm-quit | ||
| 156 | This variable specifies whether to display a graphical confirmation | ||
| 157 | dialogue on quitting. | ||
| 158 | |||
| 159 | @vindex ns-auto-hide-menu-bar | ||
| 160 | @item ns-auto-hide-menu-bar | ||
| 161 | This variable specifies whether the macOS menu bar is hidden when an | ||
| 162 | Emacs frame is selected. If non-nil the menu bar is not shown unless | ||
| 163 | the mouse pointer is moved near to the top of the screen. | ||
| 164 | |||
| 165 | @vindex ns-use-native-fullscreen | ||
| 166 | @item ns-use-native-fullscreen | ||
| 167 | This variable controls whether to use native, or non-native | ||
| 168 | fullscreen. Native fullscreen is only available on macOS 10.7 and | ||
| 169 | above. | ||
| 170 | @end table | ||
| 171 | |||
| 172 | @subsection macOS Trackpad/Mousewheel Variables | ||
| 173 | |||
| 174 | These variables only apply to macOS 10.7 (Lion) and above. | ||
| 175 | |||
| 176 | @table @code | ||
| 177 | @vindex ns-use-mwheel-acceleration | ||
| 178 | @item ns-use-mwheel-acceleration | ||
| 179 | This variable controls whether Emacs ignores the system mousewheel | ||
| 180 | acceleration. When nil each `click' of the mousewheel will correspond | ||
| 181 | exactly with one mousewheel event. When non-nil, the default, each | ||
| 182 | `click' may correspond with more than one mousewheel event, depending | ||
| 183 | on the user's input. | ||
| 184 | |||
| 185 | @vindex ns-use-mwheel-momentum | ||
| 186 | @item ns-use-mwheel-momentum | ||
| 187 | This variable controls whether Emacs ignores the system `momentum' | ||
| 188 | when scrolling using a trackpad. When non-nil, the default, scrolling | ||
| 189 | rapidly may result in the buffer continuing to scroll for a short | ||
| 190 | while after the user has lifted their fingers off the trackpad. | ||
| 191 | |||
| 192 | @vindex ns-mwheel-line-height | ||
| 193 | @item ns-mwheel-line-height | ||
| 194 | This variable controls the sensitivity of scrolling with the trackpad. | ||
| 195 | Apple trackpads scroll by pixels, not lines, so Emacs converts the | ||
| 196 | system's pixel values into lines. When set to a number, this variable | ||
| 197 | sets the number of pixels Emacs will consider as one line. When nil | ||
| 198 | or a non-number the default line height is used. | ||
| 199 | |||
| 200 | Setting a lower number makes the trackpad more sensitive, and a higher | ||
| 201 | number makes the trackpad less sensitive. | ||
| 202 | @end table | ||
| 203 | |||
| 146 | @subsection Font Panel | 204 | @subsection Font Panel |
| 147 | 205 | ||
| 148 | @findex ns-popup-font-panel | 206 | @findex ns-popup-font-panel |
| @@ -153,17 +211,6 @@ recently used or clicked on. | |||
| 153 | @c To make the setting permanent, use @samp{Save Options} in the | 211 | @c To make the setting permanent, use @samp{Save Options} in the |
| 154 | @c Options menu, or run @code{menu-bar-options-save}. | 212 | @c Options menu, or run @code{menu-bar-options-save}. |
| 155 | 213 | ||
| 156 | @cindex Core Text, on macOS | ||
| 157 | @cindex font backend, on macOS | ||
| 158 | In macOS, Emacs uses a Core Text based font backend | ||
| 159 | by default. If you prefer the older font style, enter the following | ||
| 160 | at the command-line before starting Emacs: | ||
| 161 | |||
| 162 | @example | ||
| 163 | % defaults write org.gnu.Emacs FontBackend ns | ||
| 164 | @end example | ||
| 165 | |||
| 166 | |||
| 167 | @node Mac / GNUstep Events | 214 | @node Mac / GNUstep Events |
| 168 | @section Windowing System Events under macOS / GNUstep | 215 | @section Windowing System Events under macOS / GNUstep |
| 169 | @cindex events on macOS | 216 | @cindex events on macOS |
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi index 311b6f5b3fb..e979fda41eb 100644 --- a/doc/lispref/compile.texi +++ b/doc/lispref/compile.texi | |||
| @@ -302,7 +302,7 @@ function is called, it reads the full definition from the file, to | |||
| 302 | replace the place-holder. | 302 | replace the place-holder. |
| 303 | 303 | ||
| 304 | The advantage of dynamic function loading is that loading the file | 304 | The advantage of dynamic function loading is that loading the file |
| 305 | becomes much faster. This is a good thing for a file which contains | 305 | should become faster. This is a good thing for a file which contains |
| 306 | many separate user-callable functions, if using one of them does not | 306 | many separate user-callable functions, if using one of them does not |
| 307 | imply you will probably also use the rest. A specialized mode which | 307 | imply you will probably also use the rest. A specialized mode which |
| 308 | provides many keyboard commands often has that usage pattern: a user may | 308 | provides many keyboard commands often has that usage pattern: a user may |
| @@ -326,6 +326,10 @@ installed Emacs files. But they are quite likely to happen with Lisp | |||
| 326 | files that you are changing. The easiest way to prevent these problems | 326 | files that you are changing. The easiest way to prevent these problems |
| 327 | is to reload the new compiled file immediately after each recompilation. | 327 | is to reload the new compiled file immediately after each recompilation. |
| 328 | 328 | ||
| 329 | @emph{Experience shows that using dynamic function loading provides | ||
| 330 | benefits that are hardly measurable, so this feature is deprecated | ||
| 331 | since Emacs 27.1.} | ||
| 332 | |||
| 329 | The byte compiler uses the dynamic function loading feature if the | 333 | The byte compiler uses the dynamic function loading feature if the |
| 330 | variable @code{byte-compile-dynamic} is non-@code{nil} at compilation | 334 | variable @code{byte-compile-dynamic} is non-@code{nil} at compilation |
| 331 | time. Do not set this variable globally, since dynamic loading is | 335 | time. Do not set this variable globally, since dynamic loading is |
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index ac38b9d390d..2488fb37529 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -2236,16 +2236,16 @@ the end of @var{question}. The possible responses are provided in | |||
| 2236 | @noindent | 2236 | @noindent |
| 2237 | where @var{long-answer} is the complete text of the user response, a | 2237 | where @var{long-answer} is the complete text of the user response, a |
| 2238 | string; @var{short-answer} is a short form of the same response, a | 2238 | string; @var{short-answer} is a short form of the same response, a |
| 2239 | single character; and @var{help-message} is the text that describes | 2239 | single character or a function key; and @var{help-message} is the text |
| 2240 | the meaning of the answer. If the variable @code{read-answer-short} | 2240 | that describes the meaning of the answer. If the variable |
| 2241 | is non-@code{nil}, the prompt will show the short variants of the | 2241 | @code{read-answer-short} is non-@code{nil}, the prompt will show the |
| 2242 | possible answers and the user is expected to type the single | 2242 | short variants of the possible answers and the user is expected to |
| 2243 | characters shown in the prompt; otherwise the prompt will show the | 2243 | type the single characters/keys shown in the prompt; otherwise the |
| 2244 | long variants of the answers, and the user is expected to type the | 2244 | prompt will show the long variants of the answers, and the user is |
| 2245 | full text of one of the answers and end by pressing @key{RET}. If | 2245 | expected to type the full text of one of the answers and end by |
| 2246 | @code{use-dialog-box} is non-@code{nil}, and this function was invoked | 2246 | pressing @key{RET}. If @code{use-dialog-box} is non-@code{nil}, and |
| 2247 | by mouse events, the question and the answers will be displayed in a | 2247 | this function was invoked by mouse events, the question and the |
| 2248 | GUI dialog box. | 2248 | answers will be displayed in a GUI dialog box. |
| 2249 | 2249 | ||
| 2250 | The function returns the text of the @var{long-answer} selected by the | 2250 | The function returns the text of the @var{long-answer} selected by the |
| 2251 | user, regardless of whether long or short answers were shown in the | 2251 | user, regardless of whether long or short answers were shown in the |
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 33897bb6336..abcd4bbd0f7 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -1187,8 +1187,14 @@ When evaluating Emacs Lisp code directly using an @code{eval} call, | |||
| 1187 | lexical binding is enabled if the @var{lexical} argument to | 1187 | lexical binding is enabled if the @var{lexical} argument to |
| 1188 | @code{eval} is non-@code{nil}. @xref{Eval}. | 1188 | @code{eval} is non-@code{nil}. @xref{Eval}. |
| 1189 | 1189 | ||
| 1190 | Lexical binding is also enabled in Lisp Interaction and IELM | 1190 | @findex eval-expression@r{, and }lexical-binding |
| 1191 | mode, used in the @file{*scratch*} and @file{*ielm*} buffers. | 1191 | Lexical binding is also enabled in Lisp Interaction and IELM mode, |
| 1192 | used in the @file{*scratch*} and @file{*ielm*} buffers, and also when | ||
| 1193 | evaluating expressions via @kbd{M-:} (@code{eval-expression}) and when | ||
| 1194 | processing the @option{--eval} command-line options of Emacs | ||
| 1195 | (@pxref{Action Arguments,,, emacs, The GNU Emacs Manual}) and | ||
| 1196 | @command{emacsclient} (@pxref{emacsclient Options,,, emacs, The GNU | ||
| 1197 | Emacs Manual}). | ||
| 1192 | 1198 | ||
| 1193 | @cindex special variables | 1199 | @cindex special variables |
| 1194 | Even when lexical binding is enabled, certain variables will | 1200 | Even when lexical binding is enabled, certain variables will |