aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorYuuki Harano2021-02-20 18:00:36 +0900
committerYuuki Harano2021-02-20 18:00:36 +0900
commitbe2e47362b0f933dbc8e300e3d168296b7e2aac4 (patch)
tree3b14e2e66d33566b81cb1d6e8bb04551d95dd2b9 /etc
parent949d3e50ec4ea7723bf14b93b66ad0b72f96f163 (diff)
parentc85c8e7d42ae2a5fc95fa7b14257389d8383b34d (diff)
downloademacs-be2e47362b0f933dbc8e300e3d168296b7e2aac4.tar.gz
emacs-be2e47362b0f933dbc8e300e3d168296b7e2aac4.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS185
-rw-r--r--etc/ORG-NEWS2
-rw-r--r--etc/facemenu-removal.txt20
-rw-r--r--etc/themes/modus-operandi-theme.el10
-rw-r--r--etc/themes/modus-vivendi-theme.el10
5 files changed, 206 insertions, 21 deletions
diff --git a/etc/NEWS b/etc/NEWS
index fb776884701..ee8a68a259d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -24,6 +24,9 @@ applies, and please also update docstrings as needed.
24 24
25* Installation Changes in Emacs 28.1 25* Installation Changes in Emacs 28.1
26 26
27--
28** Support for building with Motif has been removed.
29
27** Cairo graphics library is now used by default if found. 30** Cairo graphics library is now used by default if found.
28'--with-cairo' is now the default, if the appropriate development files 31'--with-cairo' is now the default, if the appropriate development files
29are found by 'configure'. Note that building with Cairo means using 32are found by 'configure'. Note that building with Cairo means using
@@ -87,6 +90,10 @@ useful on systems such as FreeBSD which ships only with "etc/termcap".
87 90
88** The new NonGNU ELPA archive is enabled by default alongside GNU ELPA. 91** The new NonGNU ELPA archive is enabled by default alongside GNU ELPA.
89 92
93+++
94** New command 'recenter-other-window', bound to 'S-M-C-l'.
95Like 'recenter-top-bottom' acting in the other window.
96
90** Minibuffer scrolling is now conservative by default. 97** Minibuffer scrolling is now conservative by default.
91This is controlled by the new variable 'scroll-minibuffer-conservatively'. 98This is controlled by the new variable 'scroll-minibuffer-conservatively'.
92 99
@@ -234,11 +241,25 @@ still applies for shorter search strings, which avoids flicker in the
234search buffer due to too many matches being highlighted. 241search buffer due to too many matches being highlighted.
235 242
236+++ 243+++
237** 'revert-buffer' is now bound to 'C-x g' globally. 244** A new keymap for buffer actions has been added.
245The 'C-x x' keymap now holds keystrokes for various buffer-oriented
246commands. The new keystrokes are 'C-x x g' ('revert-buffer'),
247'C-x x r' ('rename-buffer'), 'C-x x u' ('rename-uniquely'), 'C-x x n'
248('clone-buffer'), 'C-x x i' ('insert-buffer') and 'C-x x t'
249('toggle-truncate-lines').
238 250
239 251
240* Editing Changes in Emacs 28.1 252* Editing Changes in Emacs 28.1
241 253
254+++
255** New user option 'read-extended-command-predicate'.
256This option controls how 'M-x' performs completion of commands when
257you type TAB. By default, any command that matches what you have
258typed is considered a completion candidate, but you can customize this
259option to exclude commands that are not applicable to the current
260buffer's major and minor modes, and respect the command's completion
261predicate (if any).
262
242--- 263---
243** 'eval-expression' now no longer signals an error on incomplete expressions. 264** 'eval-expression' now no longer signals an error on incomplete expressions.
244Previously, typing 'M-: ( RET' would result in Emacs saying "End of 265Previously, typing 'M-: ( RET' would result in Emacs saying "End of
@@ -324,6 +345,11 @@ trying to be non-destructive.
324This command opens a new buffer called "*Memory Report*" and gives a 345This command opens a new buffer called "*Memory Report*" and gives a
325summary of where Emacs is using memory currently. 346summary of where Emacs is using memory currently.
326 347
348+++
349** The history list for the 'goto-line' command is now a single list
350for all buffers by default. You can configure a separate list for
351each buffer by customizing the user option 'goto-line-history-local'.
352
327** Outline 353** Outline
328 354
329+++ 355+++
@@ -340,6 +366,11 @@ the buffer cycles the whole buffer between "only top-level headings",
340It used to be enabled when Emacs is started in GUI mode but not when started 366It used to be enabled when Emacs is started in GUI mode but not when started
341in text mode. The cursor still only actually blinks in GUI frames. 367in text mode. The cursor still only actually blinks in GUI frames.
342 368
369** Bindat
370+++
371*** New types 'u64' and 'u64r'
372+++
373*** New macro 'bindat-spec' to define specs, with Edebug support
343** pcase 374** pcase
344 375
345+++ 376+++
@@ -446,6 +477,9 @@ It can be used to enable/disable the tab bar individually on each frame
446independently from the value of 'tab-bar-mode' and 'tab-bar-show'. 477independently from the value of 'tab-bar-mode' and 'tab-bar-show'.
447 478
448--- 479---
480*** New command 'tab-duplicate'.
481
482---
449*** New user option 'tab-bar-tab-name-format-function'. 483*** New user option 'tab-bar-tab-name-format-function'.
450 484
451--- 485---
@@ -465,9 +499,14 @@ applied when the option 'tab-line-tab-face-functions' is
465so-configured. That option may also be used to customize tab-line 499so-configured. That option may also be used to customize tab-line
466faces in other ways. 500faces in other ways.
467 501
468** New bindings in occur-mode, 'next-error-no-select' bound to 'n' and 502** Occur mode
503
504*** New bindings in occur-mode, 'next-error-no-select' bound to 'n' and
469'previous-error-no-select' bound to 'p'. 505'previous-error-no-select' bound to 'p'.
470 506
507*** The new command 'recenter-current-error', bound to 'l' in Occur or
508compilation buffers, recenters the current displayed occurrence/error.
509
471** EIEIO 510** EIEIO
472 511
473+++ 512+++
@@ -588,6 +627,13 @@ This is used when expanding commit messages from 'vc-print-root-log'
588and similar commands. 627and similar commands.
589 628
590--- 629---
630*** New faces for 'vc-dir' buffers.
631Those are: 'vc-dir-header', 'vc-dir-header-value', 'vc-dir-directory',
632'vc-dir-file', 'vc-dir-mark-indicator', 'vc-dir-status-warning',
633'vc-dir-status-edited', 'vc-dir-status-up-to-date',
634'vc-dir-status-ignored'.
635
636---
591*** The responsible VC backend is now the most specific one. 637*** The responsible VC backend is now the most specific one.
592'vc-responsible-backend' loops over the backends in 638'vc-responsible-backend' loops over the backends in
593'vc-handled-backends' to determine which backend is responsible for a 639'vc-handled-backends' to determine which backend is responsible for a
@@ -852,6 +898,14 @@ so e.g. like 'C-x 8 [' inserts a left single quotation mark,
852'C-x \ [' does the same. 898'C-x \ [' does the same.
853 899
854--- 900---
901*** New user options 'read-char-by-name-sort' and 'read-char-by-name-group'.
902'read-char-by-name-sort' defines the sorting order of characters for
903completion of 'C-x 8 RET TAB' and can be customized to sort them
904by codepoints instead of character names by default. The 't' value of
905'read-char-by-name-group' groups the characters for completion of
906'C-x 8 RET TAB' by Unicode blocks.
907
908---
855*** Improved language transliteration in Malayalam input methods. 909*** Improved language transliteration in Malayalam input methods.
856Added a new Mozhi scheme. The inapplicable ITRANS scheme is now 910Added a new Mozhi scheme. The inapplicable ITRANS scheme is now
857deprecated. Errors in the Inscript method were corrected. 911deprecated. Errors in the Inscript method were corrected.
@@ -896,21 +950,42 @@ To revert to the previous behavior,
896*** Most customize commands now hide obsolete user options. 950*** Most customize commands now hide obsolete user options.
897Obsolete user options are no longer shown in the listings produced by 951Obsolete user options are no longer shown in the listings produced by
898the commands 'customize', 'customize-group', 'customize-apropos' and 952the commands 'customize', 'customize-group', 'customize-apropos' and
899'customize-changed-options'. 953'customize-changed'.
900 954
901To customize obsolete user options, use 'customize-option' or 955To customize obsolete user options, use 'customize-option' or
902'customize-saved'. 956'customize-saved'.
903 957
904** Edebug 958** Edebug
905 959
960---
961*** Obsoletions
962**** 'get-edebug-spec' is obsolete, replaced by 'edebug-get-spec'.
963
964+++
965**** The spec operator ':name NAME' is obsolete, use '&name' instead.
966+++
967**** The spec element 'function-form' is obsolete, use 'form' instead.
968
969+++
970*** New function 'def-edebug-elem-spec' to define Edebug spec elements.
971These used to be defined with 'def-edebug-spec' thus conflating the
972two name spaces, which lead to name collisions.
973The use of 'def-edebug-spec' to define Edebug spec elements is
974declared obsolete.
975
976*** Edebug specification lists can use some new keywords:
977
906+++ 978+++
907*** Edebug specification lists can use the new keyword '&error', which 979**** '&interpose SPEC FUN ARGS..' lets FUN control parsing after SPEC.
908unconditionally aborts the current edebug instrumentation with the 980More specifically, FUN is called with 'HEAD PF ARGS..' where
909supplied error message. 981PF is a parsing function that expects a single argument (the specs to
982use) and HEAD is the code that matched SPEC.
910 983
911*** Edebug specification lists can use the new keyword ':unique', 984+++
912which appends a unique suffix to the Edebug name of the current 985**** '&error MSG' unconditionally aborts the current edebug instrumentation.
913definition. 986
987+++
988**** '&name SPEC FUN' extracts the current name from the code matching SPEC.
914 989
915** ElDoc 990** ElDoc
916 991
@@ -940,7 +1015,7 @@ separate buffer, or a tooltip.
940*** New user option 'eldoc-documentation-strategy'. 1015*** New user option 'eldoc-documentation-strategy'.
941The built-in choices available for this user option let users compose 1016The built-in choices available for this user option let users compose
942the results of 'eldoc-documentation-functions' in various ways, even 1017the results of 'eldoc-documentation-functions' in various ways, even
943if some of those functions are sychronous and some asynchchronous. 1018if some of those functions are synchronous and some asynchronous.
944The user option replaces 'eldoc-documentation-function', which is now 1019The user option replaces 'eldoc-documentation-function', which is now
945obsolete. 1020obsolete.
946 1021
@@ -1600,6 +1675,13 @@ that makes it a valid button.
1600*** New variable 'thing-at-point-provider-alist'. 1675*** New variable 'thing-at-point-provider-alist'.
1601This allows mode-specific alterations to how 'thing-at-point' works. 1676This allows mode-specific alterations to how 'thing-at-point' works.
1602 1677
1678** Enriched mode
1679
1680---
1681*** 'C-a' is by default no longer bound to 'beginning-of-line-text'.
1682This is so 'C-a' works as in other modes, and in particular holding
1683Shift while typing 'C-a', i.e. 'C-S-a', will now highlight the text.
1684
1603** Miscellaneous 1685** Miscellaneous
1604 1686
1605+++ 1687+++
@@ -1982,6 +2064,26 @@ could have saved enough typing by using an abbrev, a hint will be
1982displayed in the echo area, mentioning the abbrev that could have been 2064displayed in the echo area, mentioning the abbrev that could have been
1983used instead. 2065used instead.
1984 2066
2067** Octave Mode
2068
2069+++
2070*** Line continuations in double-quoted strings now use a backslash.
2071Typing 'C-M-j' (bound to 'octave-indent-new-comment-line') now follows
2072the behavior introduced in Octave 3.8 of using a backslash as a line
2073continuation marker within double-quoted strings, and an ellipsis
2074everywhere else.
2075
2076** Repeat
2077
2078+++
2079*** New transient mode 'repeat-mode' to allow shorter key sequences.
2080You can type 'C-x u u' instead of 'C-x u C-x u' to undo many changes,
2081'C-x o o' instead of 'C-x o C-x o' to switch several windows,
2082'C-x { { } } ^ ^ v v' to resize the selected window interactively,
2083'M-g n n p p' to navigate next-error matches. Any other key exits
2084transient mode and then is executed normally. 'repeat-exit-key'
2085defines an additional key to exit mode like 'isearch-exit' (RET).
2086
1985 2087
1986* New Modes and Packages in Emacs 28.1 2088* New Modes and Packages in Emacs 28.1
1987 2089
@@ -2012,6 +2114,14 @@ first).
2012 2114
2013* Incompatible Editing Changes in Emacs 28.1 2115* Incompatible Editing Changes in Emacs 28.1
2014 2116
2117** The 'M-o' ('facemenu-keymap') global binding has been removed.
2118
2119** The 'M-o M-s' and 'M-o M-S' global bindings have been removed.
2120Use 'M-x center-line' and 'M-x center-paragraph' instead.
2121
2122** The 'M-o M-o' global binding have been removed.
2123Use 'M-x font-lock-fontify-block' instead.
2124
2015** In 'f90-mode', the backslash character ('\') no longer escapes. 2125** In 'f90-mode', the backslash character ('\') no longer escapes.
2016For about a decade, the backslash character has no longer had a 2126For about a decade, the backslash character has no longer had a
2017special escape syntax in Fortran F90. To get the old behaviour back, 2127special escape syntax in Fortran F90. To get the old behaviour back,
@@ -2029,6 +2139,8 @@ directory instead of the default directory.
2029 2139
2030* Incompatible Lisp Changes in Emacs 28.1 2140* Incompatible Lisp Changes in Emacs 28.1
2031 2141
2142** 'pcomplete-ignore-case' is now an obsolete alias of 'completion-ignore-case'.
2143
2032** 'completions-annotations' face is not used when the caller puts own face. 2144** 'completions-annotations' face is not used when the caller puts own face.
2033This affects the suffix specified by completion 'annotation-function'. 2145This affects the suffix specified by completion 'annotation-function'.
2034 2146
@@ -2085,6 +2197,11 @@ parameter.
2085by mistake and were not useful to Lisp code. 2197by mistake and were not useful to Lisp code.
2086 2198
2087--- 2199---
2200** Loading 'generic-x' unconditionally loads all modes.
2201The user option `generic-extras-enable-list' is now obsolete, and
2202setting it has no effect.
2203
2204---
2088** The 'load-dangerous-libraries' variable is now obsolete. 2205** The 'load-dangerous-libraries' variable is now obsolete.
2089It was used to allow loading Lisp libraries compiled by XEmacs, a 2206It was used to allow loading Lisp libraries compiled by XEmacs, a
2090modified version of Emacs which is no longer actively maintained. 2207modified version of Emacs which is no longer actively maintained.
@@ -2188,6 +2305,48 @@ back in Emacs 23.1. The affected functions are: 'make-obsolete',
2188 2305
2189* Lisp Changes in Emacs 28.1 2306* Lisp Changes in Emacs 28.1
2190 2307
2308+++
2309** New forms to declare how completion should happen has been added.
2310'(declare (completion PREDICATE))' can be used as a general predicate
2311to say whether the command should be present when completing with
2312'M-x TAB'. '(declare (modes MODE...))' can be used as a short-hand
2313way of saying that the command should be present when completing from
2314buffers in major modes derived from MODE..., or, if it's a minor mode,
2315whether that minor mode is enabled in the current buffer.
2316
2317+++
2318** The 'interactive' syntax has been extended to allow listing applicable modes.
2319Forms like '(interactive "p" dired-mode)' can be used to annotate the
2320commands as being applicable for modes derived from 'dired-mode',
2321or if the mode is a minor mode, that the current buffer has that
2322minor mode activated. Note that using this form will create byte code
2323that is not compatible with byte code in previous Emacs versions.
2324
2325+++
2326** New buffer-local variable 'local-minor-modes'.
2327This permanently buffer-local variable holds a list of currently
2328enabled non-global minor modes in the current buffer (as a list of
2329symbols).
2330
2331+++
2332** New variable 'global-minor-modes'.
2333This variable holds a list of currently enabled global minor modes (as
2334a list of symbols).
2335
2336+++
2337** 'define-minor-mode' now takes an :interactive argument.
2338This can be used for specifying which modes this minor mode is meant
2339for, or to make the new minor mode non-interactive. The default value
2340is t.
2341
2342+++
2343** 'define-derived-mode' now takes an :interactive argument.
2344This can be used to control whether the defined mode is a command
2345or not, and is useful when defining commands that aren't meant to be
2346used by users directly.
2347
2348** The 'values' variable is now obsolete.
2349
2191--- 2350---
2192** New variable 'indent-line-ignored-functions'. 2351** New variable 'indent-line-ignored-functions'.
2193This allows modes to cycle through a set of indentation functions 2352This allows modes to cycle through a set of indentation functions
@@ -2482,6 +2641,12 @@ locales. They are also available as aliases 'ebcdic-cp-*' (e.g.,
2482'cp278' for 'ibm278'). There are also new charsets 'ibm2xx' to 2641'cp278' for 'ibm278'). There are also new charsets 'ibm2xx' to
2483support these coding-systems. 2642support these coding-systems.
2484 2643
2644** The JSON functions 'json-serialize', 'json-insert',
2645'json-parse-string', and 'json-parse-buffer' now implement some of the
2646semantics of RFC 8259 instead of the earlier RFC 4627. In particular,
2647these functions now accept top-level JSON values that are neither
2648arrays nor objects.
2649
2485 2650
2486* Changes in Emacs 28.1 on Non-Free Operating Systems 2651* Changes in Emacs 28.1 on Non-Free Operating Systems
2487 2652
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 2cae8b92ace..2b9cbf37c45 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -747,7 +747,7 @@ removed.
747For those who hate breaking changes, even though the changes are made 747For those who hate breaking changes, even though the changes are made
748to clean things up; fear not. ATTACH_DIR will still continue to work. 748to clean things up; fear not. ATTACH_DIR will still continue to work.
749It's just not documented any longer. When you get the chance, run the 749It's just not documented any longer. When you get the chance, run the
750code above to clean things up anyways! 750code above to clean things up anyway!
751 751
752**** New hooks 752**** New hooks
753Two hooks are added to org-attach: 753Two hooks are added to org-attach:
diff --git a/etc/facemenu-removal.txt b/etc/facemenu-removal.txt
new file mode 100644
index 00000000000..9a969df0e49
--- /dev/null
+++ b/etc/facemenu-removal.txt
@@ -0,0 +1,20 @@
1`facemenu-keymap' (normally bound to `M-o') has been disabled.
2==============================================================
3
4We've disabled the normal `M-o' keymap for a month (until March the
510th, 2021) in the development version of Emacs to see whether anybody
6uses this feature.
7
8If the removal of this key binding doesn't annoy too many people, the
9plan is to then leave the it unbound, for usage by third-party
10packages and users.
11
12If you wish to restore the binding during the trial period, you can
13put the following in your .emacs file:
14
15(facemenu-keymap-restore)
16
17After the trial period is over, the function will be removed.
18
19If you wish to protest the removal of the `M-o' key binding, please
20send your thoughts to the emacs-devel@gnu.org mailing list.
diff --git a/etc/themes/modus-operandi-theme.el b/etc/themes/modus-operandi-theme.el
index c7a0f72c103..346000a0935 100644
--- a/etc/themes/modus-operandi-theme.el
+++ b/etc/themes/modus-operandi-theme.el
@@ -10,18 +10,18 @@
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
13;; This program is free software; you can redistribute it and/or 13;; GNU Emacs is free software: you can redistribute it and/or modify
14;; it under the terms of the GNU General Public License as published by 14;; it under the terms of the GNU General Public License as published by
15;; the Free Software Foundation, either version 3 of the License, or 15;; the Free Software Foundation, either version 3 of the License, or
16;; (at your option) any later version. 16;; (at your option) any later version.
17;; 17
18;; This program is distributed in the hope that it will be useful, 18;; GNU Emacs is distributed in the hope that it will be useful,
19;; but WITHOUT ANY WARRANTY; without even the implied warranty of 19;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21;; GNU General Public License for more details. 21;; GNU General Public License for more details.
22;; 22
23;; You should have received a copy of the GNU General Public License 23;; You should have received a copy of the GNU General Public License
24;; along with this program. If not, see <https://www.gnu.org/licenses/>. 24;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
25 25
26;;; Commentary: 26;;; Commentary:
27;; 27;;
diff --git a/etc/themes/modus-vivendi-theme.el b/etc/themes/modus-vivendi-theme.el
index 6e71e8d8e3a..73f07d644b7 100644
--- a/etc/themes/modus-vivendi-theme.el
+++ b/etc/themes/modus-vivendi-theme.el
@@ -10,18 +10,18 @@
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
13;; This program is free software; you can redistribute it and/or 13;; GNU Emacs is free software: you can redistribute it and/or modify
14;; it under the terms of the GNU General Public License as published by 14;; it under the terms of the GNU General Public License as published by
15;; the Free Software Foundation, either version 3 of the License, or 15;; the Free Software Foundation, either version 3 of the License, or
16;; (at your option) any later version. 16;; (at your option) any later version.
17;; 17
18;; This program is distributed in the hope that it will be useful, 18;; GNU Emacs is distributed in the hope that it will be useful,
19;; but WITHOUT ANY WARRANTY; without even the implied warranty of 19;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21;; GNU General Public License for more details. 21;; GNU General Public License for more details.
22;; 22
23;; You should have received a copy of the GNU General Public License 23;; You should have received a copy of the GNU General Public License
24;; along with this program. If not, see <https://www.gnu.org/licenses/>. 24;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
25 25
26;;; Commentary: 26;;; Commentary:
27;; 27;;