aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2021-11-06 11:21:39 +0200
committerEli Zaretskii2021-11-06 11:21:39 +0200
commite714b314037feeb5ce7294231d0d2ce9ca09b847 (patch)
treebcb311bae52824e481cf0c59e164a28ba92c0181
parent3517b32fb5616a986cce3048b0b887a89fe80370 (diff)
parent4cc22f89189648621c42984110dade2c17647878 (diff)
downloademacs-e714b314037feeb5ce7294231d0d2ce9ca09b847.tar.gz
emacs-e714b314037feeb5ce7294231d0d2ce9ca09b847.zip
Merge from origin/emacs-28
# Conflicts: # etc/NEWS
-rw-r--r--doc/emacs/frames.texi13
-rw-r--r--etc/NEWS68
-rw-r--r--etc/PROBLEMS7
-rw-r--r--lisp/custom.el6
-rw-r--r--lisp/ibuffer.el1
5 files changed, 87 insertions, 8 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 8cf7568fc89..ebb68ee89b5 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1316,11 +1316,6 @@ command applies to all frames, including frames yet to be created. To
1316control the use of tab bars at startup, customize the variable 1316control the use of tab bars at startup, customize the variable
1317@code{tab-bar-mode} and save your customization. 1317@code{tab-bar-mode} and save your customization.
1318 1318
1319@findex toggle-frame-tab-bar
1320 To toggle the use of the Tab Bar only on the selected frame, type
1321@kbd{M-x toggle-frame-tab-bar}. This command allows to enable the
1322display of the Tab Bar on some frames and disable it on others.
1323
1324@vindex tab-bar-show 1319@vindex tab-bar-show
1325 The variable @code{tab-bar-show} controls whether the Tab Bar mode 1320 The variable @code{tab-bar-show} controls whether the Tab Bar mode
1326is turned on automatically. If the value is @code{t}, then 1321is turned on automatically. If the value is @code{t}, then
@@ -1338,7 +1333,13 @@ Bar by using commands @kbd{M-x tab-new}, @kbd{M-x tab-close}, etc.
1338 1333
1339 Note that a numerical value of @code{tab-bar-show} can cause the Tab 1334 Note that a numerical value of @code{tab-bar-show} can cause the Tab
1340Bar to be displayed on some frames, but not on others, depending on 1335Bar to be displayed on some frames, but not on others, depending on
1341the number of tabs defined on each frame. 1336the number of tabs created on each frame.
1337
1338@findex toggle-frame-tab-bar
1339 To toggle the use of the Tab Bar only on the selected frame, type
1340@kbd{M-x toggle-frame-tab-bar}. This command allows to enable the
1341display of the Tab Bar on some frames and disable it on others,
1342regardless of the values of @code{tab-bar-mode} and @code{tab-bar-show}.
1342 1343
1343@kindex C-x t 1344@kindex C-x t
1344 The prefix key @kbd{C-x t} is analogous to @kbd{C-x 5}. 1345 The prefix key @kbd{C-x t} is analogous to @kbd{C-x 5}.
diff --git a/etc/NEWS b/etc/NEWS
index d2e0cf7eef6..57bead362d3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -198,7 +198,73 @@ representation as emojis.
198** EIEIO 198** EIEIO
199 199
200+++ 200+++
201*** 'slot-value' can now be used to read slots of 'cl-defstruct' objects 201*** New command 'C-x t C-r' to open file read-only in the other tab.
202
203*** The tab bar now supports more mouse commands.
204Clicking 'mouse-2' closes the tab, 'mouse-3' displays the context menu
205with items that operate on the clicked tab. Dragging the tab with
206'mouse-1' moves it to another position on the tab bar. Mouse wheel
207scrolling switches to the previous/next tab, and holding the Shift key
208during scrolling moves the tab to the left/right.
209
210+++
211*** Frame-specific appearance of the tab bar when 'tab-bar-show' is a number.
212When 'tab-bar-show' is a number, the tab bar on different frames can
213be shown or hidden independently, as determined by the number of tabs
214on each frame compared to the numerical value of 'tab-bar-show'.
215
216+++
217*** New command 'toggle-frame-tab-bar'.
218It can be used to enable/disable the tab bar on the currently selected
219frame regardless of the values of 'tab-bar-mode' and 'tab-bar-show'.
220This allows enabling/disabling the tab bar independently on different
221frames.
222
223---
224*** New user option 'tab-bar-format' defines a list of tab bar items.
225When it contains 'tab-bar-format-global' (possibly appended after
226'tab-bar-format-align-right'), then after enabling 'display-time-mode'
227(or any other mode that uses 'global-mode-string') it displays time
228aligned to the right on the tab bar instead of on the mode line.
229When 'tab-bar-format-tabs' is replaced with 'tab-bar-format-tabs-groups',
230the tab bar displays tab groups.
231
232---
233*** New optional key binding for 'tab-last'.
234If you customize the user option 'tab-bar-select-tab-modifiers' to
235allow selecting tabs using their index numbers, the '<MODIFIER>-9' key
236is bound to 'tab-last', and switches to the last tab. Here <MODIFIER>
237is any of the modifiers in the list that is the value of
238'tab-bar-select-tab-modifiers'. You can also use negative indices,
239which count from the last tab: -1 is the last tab, -2 the one before
240that, etc.
241
242---
243*** New command 'tab-duplicate' bound to 'C-x t n'.
244
245---
246*** 'C-x t N' creates a new tab at the specified absolute position.
247The position is provided as prefix arg, and specifies an index that
248starts at 1. Negative values count from the end of the tab bar.
249
250---
251*** 'C-x t M' moves the current tab to the specified absolute position.
252The position is provided as prefix arg, whose interpretation is as in
253'C-x t N'.
254
255---
256*** 'C-x t G' assigns a tab to a named group of tabs.
257'tab-close-group' closes all tabs that belong to the selected group.
258The user option 'tab-bar-new-tab-group' defines the default group of
259new tabs. After customizing 'tab-bar-tab-post-change-group-functions'
260to 'tab-bar-move-tab-to-group', changing the group of a tab will also
261move it closer to other tabs in the same group.
262
263---
264*** New user option 'tab-bar-tab-name-format-function'.
265
266---
267*** New user option 'tab-line-tab-name-format-function'.
202 268
203** align 269** align
204 270
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 825801db912..1f99ead03b8 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -1636,6 +1636,13 @@ restart the X server after the monitor configuration has been changed.
1636 1636
1637* Runtime problems on character terminals 1637* Runtime problems on character terminals
1638 1638
1639*** With X forwarding, mouse highlighting can make Emacs slow.
1640
1641If you see slow updates when moving the mouse in an Emacs running on a
1642remote X server, try this:
1643
1644 (setq mouse-highlight nil)
1645
1639** The meta key does not work on xterm. 1646** The meta key does not work on xterm.
1640 1647
1641Typing M-x rings the terminal bell, and inserts a string like ";120~". 1648Typing M-x rings the terminal bell, and inserts a string like ";120~".
diff --git a/lisp/custom.el b/lisp/custom.el
index d4f617d1703..9252e80411f 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -508,7 +508,11 @@ The remaining arguments should have the form
508 [KEYWORD VALUE]... 508 [KEYWORD VALUE]...
509 509
510For a list of valid keywords, see the common keywords listed in 510For a list of valid keywords, see the common keywords listed in
511`defcustom'. 511`defcustom'. The keyword :prefix can only be used for
512customization groups, and means that the given string should be
513removed from variable names before creating unlispified names,
514when the user option `custom-unlispify-remove-prefixes' is
515non-nil.
512 516
513See Info node `(elisp) Customization' in the Emacs Lisp manual 517See Info node `(elisp) Customization' in the Emacs Lisp manual
514for more information." 518for more information."
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index e5095455c26..233127b0112 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -2484,6 +2484,7 @@ Other commands:
2484 `\\[ibuffer-update]' - Regenerate the list of all buffers. 2484 `\\[ibuffer-update]' - Regenerate the list of all buffers.
2485 Prefix arg means to toggle whether buffers that match 2485 Prefix arg means to toggle whether buffers that match
2486 `ibuffer-maybe-show-predicates' should be displayed. 2486 `ibuffer-maybe-show-predicates' should be displayed.
2487 `\\[ibuffer-auto-mode]' - Toggle automatic updates.
2487 2488
2488 `\\[ibuffer-switch-format]' - Change the current display format. 2489 `\\[ibuffer-switch-format]' - Change the current display format.
2489 `\\[forward-line]' - Move point to the next line. 2490 `\\[forward-line]' - Move point to the next line.