1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
Commit graph

166187 commits

Author SHA1 Message Date
Stefan Kangas
6a299b3cac Release Emacs 29.4
* ChangeLog.4:
* etc/HISTORY: Update files for Emacs 29.4.
2024-06-22 18:18:06 +02:00
Stefan Kangas
c0bfe42948 List Andrea Corallo as co-maintainer in ack.texi
* doc/emacs/ack.texi (Acknowledgments): List Andrea Corallo as
co-maintainer from 29.3 onwards.
2024-06-22 02:32:35 +02:00
Andrea Corallo
b3d6880512 * admin/MAINTAINERS: Add myself in (co-)maintainers. 2024-06-22 02:32:12 +02:00
Stefan Kangas
7cc939bf27 ; * lisp/ldefs-boot.el: Regenerated for Emacs 29.4 2024-06-22 02:30:53 +02:00
Stefan Kangas
959eacc2a7 Bump Emacs version to 29.4 2024-06-22 01:17:23 +02:00
Stefan Kangas
9a02fce714 Update files for Emacs 29.4
* ChangeLog.4:
* etc/AUTHORS: Update for Emacs 29.4.
2024-06-22 01:16:33 +02:00
Stefan Kangas
d96c54d388 * admin/authors.el: Update for Emacs 29.4 2024-06-22 01:06:05 +02:00
Stefan Kangas
fd207432e5 * etc/NEWS: Update for Emacs 29.4 2024-06-22 00:54:48 +02:00
Ihor Radchenko
c645e1d820 org-link-expand-abbrev: Do not evaluate arbitrary unsafe Elisp code
* lisp/org/ol.el (org-link-expand-abbrev): Refuse expanding %(...)
link abbrevs that specify unsafe function.  Instead, display a
warning, and do not expand the abbrev.  Clear all the text properties
from the returned link, to avoid any potential vulnerabilities caused
by properties that may contain arbitrary Elisp.
2024-06-22 00:54:36 +02:00
Michael Albinus
50a237c468 Update Tramp version (don't merge to master)
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 29.4.
2024-06-21 15:56:58 +02:00
Stefan Kangas
f3e80dd0f7 * admin/emacs-shell-lib: Backport to Bash 4.4 or older. 2024-06-20 23:12:31 +02:00
Michael Albinus
ce85d3811d Fix bug#49289 also for other auth-source backends
* lisp/auth-source.el (auth-info-password): Revert commit 59261e6f4f.
(auth-source-secrets-create, auth-source-plstore-create):
Search also for :user.  (Bug#49289)
2024-06-18 16:43:53 +02:00
Michael Albinus
59261e6f4f Fix auth-info-password
* lisp/auth-source.el (auth-info-password): :secret can be a
cascaded function.
2024-06-12 10:24:34 +02:00
Eli Zaretskii
778f8c793d ; * lisp/mail/rmail.el (rmail-get-new-mail-hook): Doc fix. 2024-06-09 20:56:39 +03:00
Eli Zaretskii
e6044b29e6 ; Minor fixes in ELisp manual
* doc/lispref/searching.texi (Regexp Search): Caveat about using
'search-spaces-regexp'.  (Bug#71429)
* doc/lispref/help.texi (Keys in Documentation): Fix markup.
2024-06-08 21:06:51 +03:00
Eli Zaretskii
53e9caa23e ; * doc/emacs/help.texi (Help, Apropos): Improve text and indexing. 2024-06-08 14:10:10 +03:00
Yuan Fu
00360258ca
Fix treesit-parse-string crash (bug#71012)
Parsing a large file with treesit-parse-string and then printing the
returned node crashes Emacs, because with-temp-buffer kills the temp
buffer when treesit-parse-string returns, and print.c tries to access
the node's position in the killed buffer.

* lisp/treesit.el (treesit-parse-string): Don't use with-temp-buffer.
2024-06-01 10:33:18 -07:00
Yuan Fu
20af58d3a1
Check for buffer liveness when accessing tree-sitter node (bug#71012)
* src/treesit.h (treesit_node_buffer_live_p): Declare function.
* src/print.c (print_vectorlike): Print node without position if
buffer is killed.
* src/treesit.c (treesit_node_buffer_live_p): New function.
(treesit_check_node): Add buffer liveness check.
(syms_of_treesit): New error treesit-node-buffer-killed.
2024-06-01 10:29:55 -07:00
Eli Zaretskii
bf50aa38f9 Improve documentation of case-conversion commands
* doc/emacs/text.texi (Case): Include the commands with negative
arguments.  (Bug#71220)
2024-05-28 15:39:13 +03:00
Stefan Kangas
225b426f25 ; Fix typos 2024-05-27 10:11:15 +02:00
Eli Zaretskii
21b2954c90 ; Fix markup in manuals
* doc/emacs/files.texi (Visiting):
* doc/lispref/processes.texi (Filter Functions, Sentinels): Fix
markup and punctuation.  Reported by Andrés Ramírez
<rrandresf@hotmail.com>.
2024-05-26 09:49:52 +03:00
Eli Zaretskii
4f0121f8db Avoid assertion violations in displaying under 'outline-minor-mode'
* src/xdisp.c (init_from_display_pos): Initialize BYTEPOS
correctly, since 'init_iterator' no longer computes it from
CHARPOS as needed.  This fixes a change made on Mar 13, 2013.
(Bug#71194)
2024-05-25 14:23:43 +03:00
Eli Zaretskii
1bf6583662 Improve documentation of 'no-special-glyphs' frame parameter
* doc/lispref/frames.texi (Layout Parameters): Document
limitations of support for 'no-special-glyphs' frame parameter.
(Bug#71163)
* doc/lispref/display.texi (Truncation): Update for when
'fringe-mode' is off.
2024-05-25 13:22:45 +03:00
kobarity
3647645e94 Fix Python font lock of chained assignment statement
* lisp/progmodes/python.el
(python-font-lock-keywords-maximum-decoration): Allow chaining
of single assignment statements.
* test/lisp/progmodes/python-tests.el
(python-font-lock-assignment-statement-20): New test.
(Bug#71093)
2024-05-24 17:53:34 +03:00
Brad Knotwell
3291dea441 Fix example in Calc manual
* doc/misc/calc.texi (Defining Simple Commands): Fix typo in
command names.  (Bug#71166)

Copyright-paperwork-exempt: yes
2024-05-24 10:43:40 +03:00
Eli Zaretskii
350ae75f5c Avoid crashes on MS-Windows due to invalid UNC file names
* src/w32.c (parse_root): Avoid crashes due to invalid (too short)
UNC names, such as "\\".  (Bug#70914)

* test/src/fileio-tests.el (fileio-tests-invalid-UNC): New test.
2024-05-22 14:10:53 +03:00
Eli Zaretskii
ccf8dba44a ; * lisp/face-remap.el (text-scale-adjust): Doc fix. 2024-05-21 15:40:51 +03:00
Eli Zaretskii
5ab144c77c ; Improve documentation of backing up files
* doc/emacs/files.texi (Backup Copying): Mention that
'backup-by-copying' is safer.  Document 'file-precious-flag'.
(Bug#71074)
2024-05-21 15:34:50 +03:00
Eli Zaretskii
a4828155d8 ; * doc/lispintro/emacs-lisp-intro.texi (nthcdr): Whitespace (bug#71033). 2024-05-18 14:38:29 +03:00
Eli Zaretskii
df1a9e42ba Document :box attribute caveats when used on display strings
* doc/lispref/display.texi (Replacing Specs, Face Attributes):
Mention special considerations when a display string has a
':box' face attribute identical to the surrounding buffer text.
Suggested by JD Smith <jdtsmith@gmail.com>.  (Bug#70637)
2024-05-18 12:15:21 +03:00
Eli Zaretskii
ca17bc8dd0 Improve documentation of 'movemail'
* doc/emacs/rmail.texi (Movemail): Fix the name of the Mailutils
manual in the printed version.  Add index entries.  Move the
description of remote mailboxes to...
(Remote Mailboxes): ...here, to avoid duplication.
2024-05-18 09:12:54 +03:00
Jakub Ječmínek
d47aa33bcd Replace incorrect link in Rmail chapter of Emacs manual
* doc/emacs/rmail.texi (Movemail): Fix cross-reference to a node
in the Mailutils manual.  (Bug#71018)
2024-05-18 08:50:48 +03:00
Eli Zaretskii
35138b90dd ; * doc/lispref/parsing.texi (Parsing Program Source): Improve indexing. 2024-05-17 19:03:39 +03:00
Eli Zaretskii
3dd09516c9 ; Improve documentation of 'set-fontset-font'
* doc/lispref/display.texi (Fontsets):
* src/fontset.c (Fset_fontset_font): Doc fix (bug#70993).
2024-05-17 10:18:35 +03:00
Eli Zaretskii
042b58b5ff ; * doc/emacs/search.texi (Word Search): Add index entry. 2024-05-16 18:42:43 +03:00
Eli Zaretskii
60b1768dc5 ; * src/window.c (Fwindow_scroll_bars): Doc fix. 2024-05-13 08:00:38 +03:00
Eli Zaretskii
0ec9a02a0d ; Fix doc strings of two scroll-bar functions.
* lisp/scroll-bar.el (toggle-horizontal-scroll-bar): Fix typo and
wording.  (Bug#70864).
(toggle-scroll-bar): Fix wording.
2024-05-11 08:29:22 +03:00
Eli Zaretskii
2f8bccf9d8 ; * doc/emacs/frames.texi (Scroll Bars): Improve formatting. 2024-05-10 08:52:33 +03:00
Eli Zaretskii
f9832e80b8 ; * lisp/textmodes/ispell.el (ispell-message): Add commentary. 2024-05-09 20:44:52 +03:00
Eli Zaretskii
a7d247be90 ; * etc/PROBLEMS: Document macOS problems with Emacs.clr (bug#70836). 2024-05-09 09:05:22 +03:00
Illia Ostapyshyn
8560ee7b5c ; * doc/misc/auth.texi (The Unix password store): Fix variable name.
(Bug#70767)

Copyright-paperwork-exempt: yes
2024-05-08 16:16:40 -07:00
Eli Zaretskii
74c6b59af1 ; Advertise scroll bars some more
* doc/emacs/display.texi (Scrolling, Horizontal Scrolling):
Mention the scroll bars as alternative means of scrolling.
2024-05-08 16:44:05 +03:00
Eli Zaretskii
3d65d4306b Avoid errors in 'image-dired-tag-thumbnail'
* lisp/image/image-dired.el (image-dired-tag-thumbnail)
(image-dired-tag-thumbnail-remove): Move here from
image-dired-tags.el.  (Bug#70821)
2024-05-08 16:13:27 +03:00
Eli Zaretskii
b392169e54 ; * doc/lispref/commands.texi (Event Mod): Add motivation (bug#70596). 2024-05-02 12:20:09 +03:00
Eli Zaretskii
e272fd3da9 ; Update description of 'mail-mode'
* doc/emacs/sending.texi (Mail Methods): More accurate description
of mail-mode's deficiencies.
2024-04-30 16:04:26 +03:00
Eli Zaretskii
cf839129ce Fix last change
* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): If need to skip the tree-sitter
test, do so silently.  (Bug#70345)
2024-04-27 22:12:14 +03:00
john muhl
3e68d413c1 ; Skip 'csharp-ts-mode' test if grammar is missing
* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): Skip test instead of
failing.  (Bug#70345)
2024-04-27 22:08:45 +03:00
Brad Howes
f37f01b504 Fix a typo in Introduction to Emacs Lisp (bug#70571).
Copyright-paperwork-exempt: yes
2024-04-27 12:43:58 +03:00
Eli Zaretskii
d8687fd6cd Fix last change
* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): Move the test to here.
* test/lisp/progmodes/csharp-ts-mode-tests.el: Remove file.
* test/lisp/progmodes/csharp-ts-mode-resources/indent.erts: Move
to test/lisp/progmodes/csharp-mode-resources/indent-ts.erts.
2024-04-25 18:59:25 +03:00
Jacob Leeming
494dfd9cf2 Fix indentation of if/else in 'csharp-ts-mode' (bug#70345)
* lisp/progmodes/csharp-mode.el (csharp-ts-mode--indent-rules):
Fix indentation rules for 'if' and 'else'.

* test/lisp/progmodes/csharp-ts-mode-tests.el:
* test/lisp/progmodes/csharp-ts-mode-resources/indent.erts: New
test files.

Copyright-paperwork-exempt: yes
2024-04-25 18:53:06 +03:00