aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2023-06-10 06:42:43 -0400
committerEli Zaretskii2023-06-10 06:42:43 -0400
commitacfd261a61a5bdc00f714aeec74635ac9ef87457 (patch)
treecf1b824856df65c05fc2f22079e3b538814c3b84 /etc
parentc777779bf24507e4bf55cfff77e2cc31d8d25ef3 (diff)
parent0d8b69e0ad37fe2d801e16a0ccafd8759dd33d02 (diff)
downloademacs-acfd261a61a5bdc00f714aeec74635ac9ef87457.tar.gz
emacs-acfd261a61a5bdc00f714aeec74635ac9ef87457.zip
Merge from origin/emacs-29
0d8b69e0ad3 Don't ding when completion succeeded f11e2d36999 ; * admin/git-bisect-start: Update failing commits 9855a3ea744 ; * src/xdisp.c (redisplay_tool_bar): Fix a typo in a com... f4ee696b887 Improve documentation of color-related functions 90eadc3e234 Revert "* package.el (package--get-activatable-pkg): Pref... 65f355ea0a3 ; Update my mail address a3a69ec2342 Fix connection-local user options handling (bug#63300) 240803cc3e1 Document 'startup-redirect-eln-cache' 026afb22984 ; * etc/PROBLEMS: Entry about crashes due to anti-virus (... bcc222251e1 Fix `emacs-lisp-native-compile-and-load' for C-h f (bug#5... 07c8211ca30 Add 'infer' as a keyword to typescript-ts-mode (bug#63880) dd2d8ff2f5c ; * etc/NEWS: Mention the issue with PGTK on WSL (bug#633... fa8135f8916 Revert changes to the order in which package descs are lo... 27fcfa2c0a7 ; * etc/NEWS: Improve instructions for grammar libraries. 2a84ab905c8 Handle point in last file-name component in minibuffer co... 05f25238b7b Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/... 4bc043ff45d Avoid asking redundant question in emacsbug.el 2eadf328d05 * test/infra/Dockerfile.emba (emacs-base): Don't install ... 583ba1db7ee typescript-ts-mode: Add a rule for function_signature # Conflicts: # etc/NEWS # lisp/minibuffer.el
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS.2922
-rw-r--r--etc/PROBLEMS38
2 files changed, 52 insertions, 8 deletions
diff --git a/etc/NEWS.29 b/etc/NEWS.29
index 60aa64b5ede..ca0d602e9ad 100644
--- a/etc/NEWS.29
+++ b/etc/NEWS.29
@@ -65,12 +65,13 @@ cloning its Git repository, compile the files "scanner.c" and
65"parser.c" (sometimes named "scanner.cc" and "parser.cc") in the "src" 65"parser.c" (sometimes named "scanner.cc" and "parser.cc") in the "src"
66subdirectory of the library's source tree using the C or C++ compiler, 66subdirectory of the library's source tree using the C or C++ compiler,
67then link these two files into a shared library named 67then link these two files into a shared library named
68"libtree-sitter-LANG.so", where LANG is the name of the language 68"libtree-sitter-LANG.so" ("libtree-sitter-LANG.dll" on MS-Windows,
69supported by the grammar as it is expected by the Emacs major mode 69"libtree-sitter-LANG.dylib" on macOS), where LANG is the name of the
70(for example, "c" for 'c-ts-mode', "cpp" for 'c++-ts-mode', "python" 70language supported by the grammar as it is expected by the Emacs major
71for 'python-ts-mode', etc.). Then place the shared library you've 71mode (for example, "c" for 'c-ts-mode', "cpp" for 'c++-ts-mode',
72built in the same directory where you keep the other shared libraries 72"python" for 'python-ts-mode', etc.). Then place the shared library
73used by Emacs, or in the "tree-sitter" subdirectory of your 73you've built in the same directory where you keep the other shared
74libraries used by Emacs, or in the "tree-sitter" subdirectory of your
74'user-emacs-directory', or in a directory mentioned in the variable 75'user-emacs-directory', or in a directory mentioned in the variable
75'treesit-extra-load-path'. 76'treesit-extra-load-path'.
76 77
@@ -79,6 +80,11 @@ Emacs modes you will use, as Emacs loads these libraries only when the
79corresponding mode is turned on in some buffer for the first time in 80corresponding mode is turned on in some buffer for the first time in
80an Emacs session. 81an Emacs session.
81 82
83We generally recommend to use the latest versions of grammar libraries
84available from their sites, as these libraries are in constant
85development and occasionally add features and fix important bugs to
86follow the advances in the programming languages they support.
87
82+++ 88+++
83** Emacs can be built with built-in support for accessing SQLite databases. 89** Emacs can be built with built-in support for accessing SQLite databases.
84This uses the popular sqlite3 library, and can be disabled by using 90This uses the popular sqlite3 library, and can be disabled by using
@@ -129,7 +135,7 @@ use this configuration only if you are running a window system other
129than X that's supported by GDK. Running this configuration on X is 135than X that's supported by GDK. Running this configuration on X is
130known to have problems, such as undesirable frame positioning and 136known to have problems, such as undesirable frame positioning and
131various issues with keyboard input of sequences such as 'C-;' and 137various issues with keyboard input of sequences such as 'C-;' and
132'C-S-u'. 138'C-S-u'. Running this on WSL is also known to have problems.
133 139
134Note that, unlike the X build of Emacs, the PGTK build cannot 140Note that, unlike the X build of Emacs, the PGTK build cannot
135automatically switch to text-mode interface (thus emulating '-nw') if 141automatically switch to text-mode interface (thus emulating '-nw') if
@@ -220,7 +226,7 @@ ones for the current Emacs version). Note that subdirectories of the
220system directory where the "*.eln" files are installed (usually, the 226system directory where the "*.eln" files are installed (usually, the
221last entry in 'native-comp-eln-load-path') are not deleted. 227last entry in 'native-comp-eln-load-path') are not deleted.
222 228
223--- 229+++
224*** New function 'startup-redirect-eln-cache'. 230*** New function 'startup-redirect-eln-cache'.
225This function can be called in your init files to change the 231This function can be called in your init files to change the
226user-specific directory where Emacs stores the "*.eln" files produced 232user-specific directory where Emacs stores the "*.eln" files produced
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 5b2a4cce955..773507db3be 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -2750,6 +2750,44 @@ C-r C-t, to toggle whether C-x gets through to Emacs.
2750 2750
2751* Runtime problems specific to MS-Windows 2751* Runtime problems specific to MS-Windows
2752 2752
2753** Emacs with native compilation crashes/signals errors accessing *.eln files
2754
2755This is known to be caused by some flavors of Windows anti-virus
2756software. The problem could manifest itself in several ways:
2757
2758 . Emacs crashes when it tries to load certain *.eln files
2759 . Emacs signals an error when it tries to load some *.eln files,
2760 claiming they are "not GPL compatible"
2761 . Emacs crashes during GC when it calls unload_comp_unit
2762
2763This was specifically reported to happen with *.eln files in
2764directories under the C:\Users directory, which is where Emacs on
2765Windows places the emulated HOME directory, and thus also the
2766~/.emacs.d/eln-cache directory holding the *.eln files compiled during
2767Emacs sessions (as opposed to those that came precompiled and were
2768installed with the rest of Emacs distribution).
2769
2770If you cannot disable such anti-virus software or switch to another
2771one, you could use the following workarounds:
2772
2773 . Define the HOME environment variable to point to a directory
2774 outside of the C:\Users tree, then copy/move your ~/.emacs.d
2775 directory to that new home directory.
2776 . Move all the *.eln files from ~/.emacs.d/eln-cache to a directory
2777 out of the C:\Users tree, and customize Emacs to use that
2778 directory for *.eln files. This requires to call the function
2779 startup-redirect-eln-cache in your init file, to force Emacs to
2780 write *.eln files compiled at run time to that directory.
2781 . Delete all *.eln files in your ~/.emacs.d/eln-cache directory, and
2782 then disable run-time native compilation. To disable native
2783 compilation, set the variables native-comp-jit-compilation and
2784 native-comp-enable-subr-trampolines to nil.
2785 . Install Emacs built without native compilation.
2786
2787With any of the above methods, you'd need to restart Emacs (and
2788preferably also your Windows system) after making the changes, to have
2789them take effect.
2790
2753** Emacs on Windows 9X requires UNICOWS.DLL 2791** Emacs on Windows 9X requires UNICOWS.DLL
2754 2792
2755If that DLL is not available, Emacs will display an error dialog 2793If that DLL is not available, Emacs will display an error dialog