diff options
| author | Eli Zaretskii | 2025-04-26 10:57:33 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-26 10:57:33 -0400 |
| commit | 86211172e31f50b04ddfd74fc640cff9adc79025 (patch) | |
| tree | ca61952cb85a8dc50621bbf9b8ddd236f11d426a | |
| parent | 09f4818eba3747ce30d4d94f913140c92c8230d6 (diff) | |
| parent | 1f520db97bdb8cfc9a66c46964331db84c41d7e8 (diff) | |
| download | emacs-86211172e31f50b04ddfd74fc640cff9adc79025.tar.gz emacs-86211172e31f50b04ddfd74fc640cff9adc79025.zip | |
Merge from origin/emacs-30
1f520db97bd * doc/emacs/files.texi (Time Stamp Customization): Typo.
d824b66c242 ; * doc/emacs/search.texi (Isearch Yank): Improve flow.
62b284f9153 ; * etc/DEBUG: Say that debugging code compiled w/ -Og ca...
49ea1f64c77 ; Improve documentation of 'modifier-bar-mode'
a975232c0fd ; * doc/emacs/programs.texi (Matching): Fix wording (bug#...
29142dab316 ; * doc/misc/efaq-w32.texi (MinGW-w64): Fix punctuation (...
4cd4a801d86 ; * java/res/README: Note origin of emacs_wrench.png.
| -rw-r--r-- | doc/emacs/custom.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 21 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 27 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 2 | ||||
| -rw-r--r-- | doc/misc/efaq-w32.texi | 2 | ||||
| -rw-r--r-- | etc/DEBUG | 10 | ||||
| -rw-r--r-- | java/res/README | 4 | ||||
| -rw-r--r-- | lisp/tool-bar.el | 11 |
9 files changed, 48 insertions, 35 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index d0618bf8f9b..85b00567cf0 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -2165,6 +2165,10 @@ You can similarly enter the Shift, Control, and Meta modifiers by | |||
| 2165 | using @kbd{C-x @@ S}, @kbd{C-x @@ c}, and @kbd{C-x @@ m}, respectively, | 2165 | using @kbd{C-x @@ S}, @kbd{C-x @@ c}, and @kbd{C-x @@ m}, respectively, |
| 2166 | although this is rarely needed. | 2166 | although this is rarely needed. |
| 2167 | 2167 | ||
| 2168 | On graphical terminals, you can enable the Modifier Bar mode, which | ||
| 2169 | allows simulating the missing modifier keys by clicking a tool-bar | ||
| 2170 | button. @xref{Tool Bars}. | ||
| 2171 | |||
| 2168 | @node Function Keys | 2172 | @node Function Keys |
| 2169 | @subsection Rebinding Function Keys | 2173 | @subsection Rebinding Function Keys |
| 2170 | 2174 | ||
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 10a643a3787..de6a83b5205 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -1093,7 +1093,7 @@ type @kbd{M-x normal-mode} to re-read them. | |||
| 1093 | Here is another example, with the time stamp inserted into | 1093 | Here is another example, with the time stamp inserted into |
| 1094 | the last paragraph of an HTML document. | 1094 | the last paragraph of an HTML document. |
| 1095 | Since this template is at the end of the document, not in the first | 1095 | Since this template is at the end of the document, not in the first |
| 1096 | eight lines, @code{time-stamp-format} starts with @code{-10/} to tell | 1096 | eight lines, @code{time-stamp-pattern} starts with @code{-10/} to tell |
| 1097 | @code{time-stamp} to look at the last 10 lines. | 1097 | @code{time-stamp} to look at the last 10 lines. |
| 1098 | The @code{%%} asks for the default format | 1098 | The @code{%%} asks for the default format |
| 1099 | (specified by @code{time-stamp-format}). | 1099 | (specified by @code{time-stamp-format}). |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 1fa6e0b5b33..c2451e87715 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -1346,15 +1346,18 @@ displayed by moving the mouse pointer to the top of the screen. | |||
| 1346 | @cindex displaying modifier keys in the tool bar | 1346 | @cindex displaying modifier keys in the tool bar |
| 1347 | @cindex mode, Modifier Bar | 1347 | @cindex mode, Modifier Bar |
| 1348 | @cindex Modifier Bar | 1348 | @cindex Modifier Bar |
| 1349 | Keyboards often lack one or more of the modifier keys that Emacs | 1349 | Keyboards often lack one or more of the modifier keys (@pxref{Modifier |
| 1350 | might want to use, making it difficult or impossible to input key | 1350 | Keys}) that Emacs users might want to use, making it difficult or |
| 1351 | sequences that contain them. Emacs can optionally display a list of | 1351 | impossible to input key sequences with these modifiers. For example, |
| 1352 | buttons that act as substitutes for modifier keys within the tool bar; | 1352 | many keyboards lack the Hyper and Super modifiers, and smartphones |
| 1353 | these buttons are also referred to as the ``modifier bar''. Clicking | 1353 | usually also lack Ctrl and Alt modifiers. Emacs can optionally display |
| 1354 | an icon within the modifier bar will cause a modifier key to be | 1354 | a tool bar of buttons that can substitute the modifier keys; this |
| 1355 | applied to the next keyboard event that is read. The modifier bar is | 1355 | additional tool bar is known as the @dfn{modifier bar}. Clicking a |
| 1356 | displayed when the global minor mode @code{modifier-bar-mode} is | 1356 | button within the modifier bar will cause the modifier key shown on the |
| 1357 | enabled; to do so, type @kbd{M-x modifier-bar-mode}. | 1357 | button to be applied to the next keyboard event that Emacs reads. The |
| 1358 | modifier bar is displayed when the global minor mode | ||
| 1359 | @code{modifier-bar-mode} is enabled; to do so, type @kbd{M-x | ||
| 1360 | modifier-bar-mode}. | ||
| 1358 | 1361 | ||
| 1359 | @node Tab Bars | 1362 | @node Tab Bars |
| 1360 | @section Tab Bars | 1363 | @section Tab Bars |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index c34aeac0d24..f3cdc1b8e6c 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -958,11 +958,11 @@ argument specifies the number of levels to go down. | |||
| 958 | 958 | ||
| 959 | @node Matching | 959 | @node Matching |
| 960 | @subsection Matching Parentheses | 960 | @subsection Matching Parentheses |
| 961 | @cindex matching parentheses | 961 | @cindex matching, parentheses and other paired delimiters |
| 962 | @cindex parentheses, displaying matches | 962 | @cindex parentheses, displaying matches |
| 963 | 963 | ||
| 964 | Emacs has a number of @dfn{parenthesis matching} features, which | 964 | Emacs has a number of @dfn{parenthesis matching} features, which make |
| 965 | make it easy to see how and whether parentheses (or other delimiters) | 965 | it easy to see how and whether parentheses (or other paired delimiters) |
| 966 | match up. | 966 | match up. |
| 967 | 967 | ||
| 968 | Whenever you type a self-inserting character that is a closing | 968 | Whenever you type a self-inserting character that is a closing |
| @@ -1063,16 +1063,17 @@ nonblank line. | |||
| 1063 | @findex electric-pair-mode | 1063 | @findex electric-pair-mode |
| 1064 | Electric Pair mode, a global minor mode, provides a way to easily | 1064 | Electric Pair mode, a global minor mode, provides a way to easily |
| 1065 | insert matching delimiters: parentheses, braces, brackets, etc. | 1065 | insert matching delimiters: parentheses, braces, brackets, etc. |
| 1066 | Whenever you insert an opening delimiter, the matching closing | 1066 | Whenever you insert an opening delimiter, the matching closing delimiter |
| 1067 | delimiter is automatically inserted as well, leaving point between the | 1067 | is automatically inserted as well, leaving point between the two. |
| 1068 | two. Conversely, when you insert a closing delimiter over an existing | 1068 | However, if you insert a closing delimiter where one already exists |
| 1069 | one, no insertion takes places, and that position is simply skipped | 1069 | (probably a mistake, since typing the opening delimiter inserted the |
| 1070 | over. If the region is active (@pxref{Mark}), insertion of a | 1070 | closing one for you), Emacs simply moves point to after the closing |
| 1071 | delimiter operates on the region: the characters in the region are | 1071 | delimiter, skipping the insertion. If the region is active |
| 1072 | enclosed in a pair of matching delimiters, leaving point after the | 1072 | (@pxref{Mark}), insertion of a delimiter operates on the region: the |
| 1073 | delimiter you typed. If you provide a prefix argument when inserting | 1073 | characters in the region are enclosed in a pair of matching delimiters, |
| 1074 | a delimiter, the numeric value of that prefix argument specifies the | 1074 | leaving point after the delimiter you typed. If you provide a prefix |
| 1075 | number of pairs to insert. | 1075 | argument when inserting a delimiter, the numeric value of that prefix |
| 1076 | argument specifies the number of pairs to insert. | ||
| 1076 | 1077 | ||
| 1077 | These variables control additional features of Electric Pair mode: | 1078 | These variables control additional features of Electric Pair mode: |
| 1078 | 1079 | ||
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index c9b1bdfc8bd..788d91f78ba 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -341,7 +341,7 @@ down-casing. | |||
| 341 | @kindex M-s M-. | 341 | @kindex M-s M-. |
| 342 | @findex isearch-forward-thing-at-point | 342 | @findex isearch-forward-thing-at-point |
| 343 | To begin a new incremental search with the text near point yanked | 343 | To begin a new incremental search with the text near point yanked |
| 344 | into the initial search string, type @kbd{M-s M-.} that runs the | 344 | into the initial search string, type @kbd{M-s M-.}, which runs the |
| 345 | command @code{isearch-forward-thing-at-point}. If the region was | 345 | command @code{isearch-forward-thing-at-point}. If the region was |
| 346 | active, then it yanks the text from the region into the search string. | 346 | active, then it yanks the text from the region into the search string. |
| 347 | Otherwise, it tries to yank a URL, a symbol or an expression found | 347 | Otherwise, it tries to yank a URL, a symbol or an expression found |
diff --git a/doc/misc/efaq-w32.texi b/doc/misc/efaq-w32.texi index 4e409261cd9..766acb0f3ca 100644 --- a/doc/misc/efaq-w32.texi +++ b/doc/misc/efaq-w32.texi | |||
| @@ -2157,7 +2157,7 @@ MSYS2 is an independent rewrite of MSYS, based on modern Cygwin and | |||
| 2157 | MinGW-w64 with the aim of better interoperability with native Windows | 2157 | MinGW-w64 with the aim of better interoperability with native Windows |
| 2158 | software. It plays the same role MSYS does in MinGW. Being a | 2158 | software. It plays the same role MSYS does in MinGW. Being a |
| 2159 | distribution, MSYS2 provides tools to build software as well as more | 2159 | distribution, MSYS2 provides tools to build software as well as more |
| 2160 | than 2.600 precompiled packages ready for use. | 2160 | than 2600 precompiled packages ready for use. |
| 2161 | 2161 | ||
| 2162 | @node EZWinPorts | 2162 | @node EZWinPorts |
| 2163 | @section EZWinPorts | 2163 | @section EZWinPorts |
| @@ -19,11 +19,11 @@ such as --prefix): | |||
| 19 | ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type \ | 19 | ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type \ |
| 20 | CFLAGS='-O0 -g3' | 20 | CFLAGS='-O0 -g3' |
| 21 | 21 | ||
| 22 | The -O0 flag is important, as debugging optimized code can be hard. | 22 | The -O0 flag is important, as debugging optimized code can be hard, even |
| 23 | If the problem happens only with optimized code, you may need to | 23 | in the case that the -Og compiler option is used. If the problem |
| 24 | enable optimizations. If that happens, try using -Og first instead of | 24 | happens only with optimized code, you may need to enable optimizations. |
| 25 | -O2, as -Og disables some optimizations that make debugging some code | 25 | If that happens, try using -Og first instead of -O2, as -Og disables |
| 26 | exceptionally hard. | 26 | some optimizations that make debugging some code exceptionally hard. |
| 27 | 27 | ||
| 28 | Older versions of GCC may need more than just the -g3 flag. For more, | 28 | Older versions of GCC may need more than just the -g3 flag. For more, |
| 29 | search for "analyze failed assertions" below. | 29 | search for "analyze failed assertions" below. |
diff --git a/java/res/README b/java/res/README new file mode 100644 index 00000000000..38f3f232033 --- /dev/null +++ b/java/res/README | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | * The wrench icon that is superimposed on Emacs's own icon in | ||
| 2 | drawable/emacs_wrench.png was released into the Public Domain by the | ||
| 3 | Tango Desktop Project. | ||
| 4 | <https://web.archive.org/web/20230207074050/https://tango.freedesktop.org/Tango_Desktop_Project> | ||
diff --git a/lisp/tool-bar.el b/lisp/tool-bar.el index 8f55af155b9..23e3dc0dfd3 100644 --- a/lisp/tool-bar.el +++ b/lisp/tool-bar.el | |||
| @@ -532,12 +532,13 @@ decoding the current key sequence, nil otherwise." | |||
| 532 | (not (memq modifier modifier-bar-modifier-list))) | 532 | (not (memq modifier modifier-bar-modifier-list))) |
| 533 | 533 | ||
| 534 | (define-minor-mode modifier-bar-mode | 534 | (define-minor-mode modifier-bar-mode |
| 535 | "Toggle display of the modifier bar. | 535 | "Toggle display of the key-modifier tool bar. |
| 536 | 536 | ||
| 537 | When enabled, a small tool bar will be displayed next to the tool | 537 | When enabled, a small tool bar will be displayed in addition to the |
| 538 | bar containing items bound to | 538 | regular tool bar, containing buttons for key modifiers such as |
| 539 | `tool-bar-event-apply-control-modifier' and its related commands, | 539 | Ctrl, Shift, Alt, etc. This is useful on terminals whose keyboard |
| 540 | which see." | 540 | has no keys for these modifiers, such as smartphones and other |
| 541 | devices with small keyboards." | ||
| 541 | :init-value nil | 542 | :init-value nil |
| 542 | :global t | 543 | :global t |
| 543 | :group 'tool-bar | 544 | :group 'tool-bar |