aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-04-26 10:57:33 -0400
committerEli Zaretskii2025-04-26 10:57:33 -0400
commit86211172e31f50b04ddfd74fc640cff9adc79025 (patch)
treeca61952cb85a8dc50621bbf9b8ddd236f11d426a
parent09f4818eba3747ce30d4d94f913140c92c8230d6 (diff)
parent1f520db97bdb8cfc9a66c46964331db84c41d7e8 (diff)
downloademacs-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.texi4
-rw-r--r--doc/emacs/files.texi2
-rw-r--r--doc/emacs/frames.texi21
-rw-r--r--doc/emacs/programs.texi27
-rw-r--r--doc/emacs/search.texi2
-rw-r--r--doc/misc/efaq-w32.texi2
-rw-r--r--etc/DEBUG10
-rw-r--r--java/res/README4
-rw-r--r--lisp/tool-bar.el11
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
2165using @kbd{C-x @@ S}, @kbd{C-x @@ c}, and @kbd{C-x @@ m}, respectively, 2165using @kbd{C-x @@ S}, @kbd{C-x @@ c}, and @kbd{C-x @@ m}, respectively,
2166although this is rarely needed. 2166although this is rarely needed.
2167 2167
2168 On graphical terminals, you can enable the Modifier Bar mode, which
2169allows simulating the missing modifier keys by clicking a tool-bar
2170button. @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.
1093Here is another example, with the time stamp inserted into 1093Here is another example, with the time stamp inserted into
1094the last paragraph of an HTML document. 1094the last paragraph of an HTML document.
1095Since this template is at the end of the document, not in the first 1095Since this template is at the end of the document, not in the first
1096eight lines, @code{time-stamp-format} starts with @code{-10/} to tell 1096eight 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.
1098The @code{%%} asks for the default format 1098The @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
1350might want to use, making it difficult or impossible to input key 1350Keys}) that Emacs users might want to use, making it difficult or
1351sequences that contain them. Emacs can optionally display a list of 1351impossible to input key sequences with these modifiers. For example,
1352buttons that act as substitutes for modifier keys within the tool bar; 1352many keyboards lack the Hyper and Super modifiers, and smartphones
1353these buttons are also referred to as the ``modifier bar''. Clicking 1353usually also lack Ctrl and Alt modifiers. Emacs can optionally display
1354an icon within the modifier bar will cause a modifier key to be 1354a tool bar of buttons that can substitute the modifier keys; this
1355applied to the next keyboard event that is read. The modifier bar is 1355additional tool bar is known as the @dfn{modifier bar}. Clicking a
1356displayed when the global minor mode @code{modifier-bar-mode} is 1356button within the modifier bar will cause the modifier key shown on the
1357enabled; to do so, type @kbd{M-x modifier-bar-mode}. 1357button to be applied to the next keyboard event that Emacs reads. The
1358modifier bar is displayed when the global minor mode
1359@code{modifier-bar-mode} is enabled; to do so, type @kbd{M-x
1360modifier-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
965make it easy to see how and whether parentheses (or other delimiters) 965it easy to see how and whether parentheses (or other paired delimiters)
966match up. 966match 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
1065insert matching delimiters: parentheses, braces, brackets, etc. 1065insert matching delimiters: parentheses, braces, brackets, etc.
1066Whenever you insert an opening delimiter, the matching closing 1066Whenever you insert an opening delimiter, the matching closing delimiter
1067delimiter is automatically inserted as well, leaving point between the 1067is automatically inserted as well, leaving point between the two.
1068two. Conversely, when you insert a closing delimiter over an existing 1068However, if you insert a closing delimiter where one already exists
1069one, no insertion takes places, and that position is simply skipped 1069(probably a mistake, since typing the opening delimiter inserted the
1070over. If the region is active (@pxref{Mark}), insertion of a 1070closing one for you), Emacs simply moves point to after the closing
1071delimiter operates on the region: the characters in the region are 1071delimiter, skipping the insertion. If the region is active
1072enclosed in a pair of matching delimiters, leaving point after the 1072(@pxref{Mark}), insertion of a delimiter operates on the region: the
1073delimiter you typed. If you provide a prefix argument when inserting 1073characters in the region are enclosed in a pair of matching delimiters,
1074a delimiter, the numeric value of that prefix argument specifies the 1074leaving point after the delimiter you typed. If you provide a prefix
1075number of pairs to insert. 1075argument when inserting a delimiter, the numeric value of that prefix
1076argument specifies the number of pairs to insert.
1076 1077
1077These variables control additional features of Electric Pair mode: 1078These 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
344into the initial search string, type @kbd{M-s M-.} that runs the 344into the initial search string, type @kbd{M-s M-.}, which runs the
345command @code{isearch-forward-thing-at-point}. If the region was 345command @code{isearch-forward-thing-at-point}. If the region was
346active, then it yanks the text from the region into the search string. 346active, then it yanks the text from the region into the search string.
347Otherwise, it tries to yank a URL, a symbol or an expression found 347Otherwise, 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
2157MinGW-w64 with the aim of better interoperability with native Windows 2157MinGW-w64 with the aim of better interoperability with native Windows
2158software. It plays the same role MSYS does in MinGW. Being a 2158software. It plays the same role MSYS does in MinGW. Being a
2159distribution, MSYS2 provides tools to build software as well as more 2159distribution, MSYS2 provides tools to build software as well as more
2160than 2.600 precompiled packages ready for use. 2160than 2600 precompiled packages ready for use.
2161 2161
2162@node EZWinPorts 2162@node EZWinPorts
2163@section EZWinPorts 2163@section EZWinPorts
diff --git a/etc/DEBUG b/etc/DEBUG
index 5409be95a7f..774c1a5812d 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -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
22The -O0 flag is important, as debugging optimized code can be hard. 22The -O0 flag is important, as debugging optimized code can be hard, even
23If the problem happens only with optimized code, you may need to 23in the case that the -Og compiler option is used. If the problem
24enable optimizations. If that happens, try using -Og first instead of 24happens only with optimized code, you may need to enable optimizations.
25-O2, as -Og disables some optimizations that make debugging some code 25If that happens, try using -Og first instead of -O2, as -Og disables
26exceptionally hard. 26some optimizations that make debugging some code exceptionally hard.
27 27
28Older versions of GCC may need more than just the -g3 flag. For more, 28Older versions of GCC may need more than just the -g3 flag. For more,
29search for "analyze failed assertions" below. 29search 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
537When enabled, a small tool bar will be displayed next to the tool 537When enabled, a small tool bar will be displayed in addition to the
538bar containing items bound to 538regular tool bar, containing buttons for key modifiers such as
539`tool-bar-event-apply-control-modifier' and its related commands, 539Ctrl, Shift, Alt, etc. This is useful on terminals whose keyboard
540which see." 540has no keys for these modifiers, such as smartphones and other
541devices 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