aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2020-03-07 07:50:28 -0800
committerGlenn Morris2020-03-07 07:50:28 -0800
commit3274b8090bf18dec00b6ce45d6a01bf5263982ed (patch)
tree51eefa044043b38e239e23049592a7e49808aa72 /doc
parentc996fe1ec69de0082043397d4965d08cb94892fb (diff)
parent72f87f88739befce2adf202749b7d651a8ef1551 (diff)
downloademacs-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.texi69
-rw-r--r--doc/lispref/compile.texi6
-rw-r--r--doc/lispref/minibuf.texi20
-rw-r--r--doc/lispref/variables.texi10
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},
143may also be set to @code{left}, which means to use the same behavior as 143may also be set to @code{left}, which means to use the same behavior as
144the corresponding left-hand key. 144the 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
151This variable specifies whether to display the proxy icon in the
152titlebar.
153
154@vindex ns-confirm-quit
155@item ns-confirm-quit
156This variable specifies whether to display a graphical confirmation
157dialogue on quitting.
158
159@vindex ns-auto-hide-menu-bar
160@item ns-auto-hide-menu-bar
161This variable specifies whether the macOS menu bar is hidden when an
162Emacs frame is selected. If non-nil the menu bar is not shown unless
163the mouse pointer is moved near to the top of the screen.
164
165@vindex ns-use-native-fullscreen
166@item ns-use-native-fullscreen
167This variable controls whether to use native, or non-native
168fullscreen. Native fullscreen is only available on macOS 10.7 and
169above.
170@end table
171
172@subsection macOS Trackpad/Mousewheel Variables
173
174These 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
179This variable controls whether Emacs ignores the system mousewheel
180acceleration. When nil each `click' of the mousewheel will correspond
181exactly with one mousewheel event. When non-nil, the default, each
182`click' may correspond with more than one mousewheel event, depending
183on the user's input.
184
185@vindex ns-use-mwheel-momentum
186@item ns-use-mwheel-momentum
187This variable controls whether Emacs ignores the system `momentum'
188when scrolling using a trackpad. When non-nil, the default, scrolling
189rapidly may result in the buffer continuing to scroll for a short
190while after the user has lifted their fingers off the trackpad.
191
192@vindex ns-mwheel-line-height
193@item ns-mwheel-line-height
194This variable controls the sensitivity of scrolling with the trackpad.
195Apple trackpads scroll by pixels, not lines, so Emacs converts the
196system's pixel values into lines. When set to a number, this variable
197sets the number of pixels Emacs will consider as one line. When nil
198or a non-number the default line height is used.
199
200Setting a lower number makes the trackpad more sensitive, and a higher
201number 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
158In macOS, Emacs uses a Core Text based font backend
159by default. If you prefer the older font style, enter the following
160at 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
302replace the place-holder. 302replace 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
305becomes much faster. This is a good thing for a file which contains 305should become faster. This is a good thing for a file which contains
306many separate user-callable functions, if using one of them does not 306many separate user-callable functions, if using one of them does not
307imply you will probably also use the rest. A specialized mode which 307imply you will probably also use the rest. A specialized mode which
308provides many keyboard commands often has that usage pattern: a user may 308provides 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
326files that you are changing. The easiest way to prevent these problems 326files that you are changing. The easiest way to prevent these problems
327is to reload the new compiled file immediately after each recompilation. 327is to reload the new compiled file immediately after each recompilation.
328 328
329 @emph{Experience shows that using dynamic function loading provides
330benefits that are hardly measurable, so this feature is deprecated
331since 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
330variable @code{byte-compile-dynamic} is non-@code{nil} at compilation 334variable @code{byte-compile-dynamic} is non-@code{nil} at compilation
331time. Do not set this variable globally, since dynamic loading is 335time. 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
2237where @var{long-answer} is the complete text of the user response, a 2237where @var{long-answer} is the complete text of the user response, a
2238string; @var{short-answer} is a short form of the same response, a 2238string; @var{short-answer} is a short form of the same response, a
2239single character; and @var{help-message} is the text that describes 2239single character or a function key; and @var{help-message} is the text
2240the meaning of the answer. If the variable @code{read-answer-short} 2240that describes the meaning of the answer. If the variable
2241is 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
2242possible answers and the user is expected to type the single 2242short variants of the possible answers and the user is expected to
2243characters shown in the prompt; otherwise the prompt will show the 2243type the single characters/keys shown in the prompt; otherwise the
2244long variants of the answers, and the user is expected to type the 2244prompt will show the long variants of the answers, and the user is
2245full text of one of the answers and end by pressing @key{RET}. If 2245expected 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 2246pressing @key{RET}. If @code{use-dialog-box} is non-@code{nil}, and
2247by mouse events, the question and the answers will be displayed in a 2247this function was invoked by mouse events, the question and the
2248GUI dialog box. 2248answers will be displayed in a GUI dialog box.
2249 2249
2250The function returns the text of the @var{long-answer} selected by the 2250The function returns the text of the @var{long-answer} selected by the
2251user, regardless of whether long or short answers were shown in the 2251user, 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,
1187lexical binding is enabled if the @var{lexical} argument to 1187lexical 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
1190Lexical binding is also enabled in Lisp Interaction and IELM 1190@findex eval-expression@r{, and }lexical-binding
1191mode, used in the @file{*scratch*} and @file{*ielm*} buffers. 1191Lexical binding is also enabled in Lisp Interaction and IELM mode,
1192used in the @file{*scratch*} and @file{*ielm*} buffers, and also when
1193evaluating expressions via @kbd{M-:} (@code{eval-expression}) and when
1194processing 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
1197Emacs 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