Commit graph

166097 commits

Author SHA1 Message Date
Eli Zaretskii
ff6cc3d2cf * lisp/ldefs-boot.el: Regenerate. 2024-03-24 09:36:24 -04:00
Eli Zaretskii
0dab0c0d68 Bump Emacs version to 29.3
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 29.3.
2024-03-24 09:05:17 -04:00
Ihor Radchenko
7a5d7be52c org--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers
* lisp/org/org.el (org--confirm-resource-safe): When called from
non-file buffer, do not put stray "f" in the prompt.
2024-03-24 08:41:26 -04:00
Ihor Radchenko
2bc865ace0 org-file-contents: Consider all remote files unsafe
* lisp/org/org.el (org-file-contents): When loading files, consider all
remote files (like TRAMP-fetched files) unsafe, in addition to URLs.
2024-03-24 08:41:10 -04:00
Ihor Radchenko
6f9ea396f4 org-latex-preview: Add protection when `untrusted-content' is non-nil
* lisp/org/org.el (org--latex-preview-when-risky): New variable
controlling how to handle LaTeX previews in Org files from untrusted
origin.
(org-latex-preview): Consult `org--latex-preview-when-risky' before
generating previews.

This patch adds a layer of protection when LaTeX preview is requested
for an email attachment, where `untrusted-content' is set to non-nil.
2024-03-24 08:40:48 -04:00
Ihor Radchenko
937b9042ad * lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted. 2024-03-24 08:40:25 -04:00
Ihor Radchenko
ccc188fcf9 * lisp/files.el (untrusted-content): New variable.
The new variable is to be used when buffer contents comes from untrusted
source.
2024-03-24 08:39:27 -04:00
Ihor Radchenko
befa9fcaae org-macro--set-templates: Prevent code evaluation
* lisp/org/org-macro.el (org-macro--set-templates): Get rid of any
risk to evaluate code when `org-macro--set-templates' is called as a
part of major mode initialization.  This way, no code evaluation is
ever triggered when user merely opens the file or when
`mm-display-org-inline' invokes Org major mode to fontify mime part
preview in email messages.
2024-03-24 08:38:48 -04:00
Eli Zaretskii
3221d8d461 * admin/authors.el (authors-aliases): Add ignored authors. 2024-03-24 08:36:44 -04:00
Eli Zaretskii
8d8253f899 * etc/NEWS: Update for Emacs 29.3 2024-03-24 08:19:29 -04:00
Eli Zaretskii
e95a862226 ; * lisp/keymap.el (key-parse): Fix processing of "[TAB]". (Bug#69893) 2024-03-21 22:12:40 +02:00
Eli Zaretskii
afb7a23e7b ; Improve documentation of 'backup-by-copying'
* doc/emacs/files.texi (Backup Copying): Recommend
'backup-by-copying' for files on file-hosting services.  (Bug#69930)
2024-03-21 21:35:24 +02:00
Andrea Corallo
51848e4731 * Fix missing `comp-files-queue' update (bug#63415).
* lisp/emacs-lisp/comp.el (native--compile-async): Update
`comp-files-queue' for real.
2024-03-21 12:02:33 +01:00
Basil L. Contovounesios
689f04a2dd Clarify description of format-spec truncation
* doc/lispref/strings.texi (Custom Format Strings): Mention that
precision specifier affects both '<' and '>' truncation (bug#69822).
* lisp/format-spec.el (format-spec, format-spec--do-flags): Use same
terminology as 'format', especially when referring to its behavior.
2024-03-21 10:43:17 +01:00
Eli Zaretskii
759dedfab0 More accurate documentation of 'rmail-mail-new-frame'
* doc/emacs/rmail.texi (Rmail Reply): More accurate documentation
of the effects of 'rmail-mail-new-frame'.  (Bug#69738)
2024-03-21 10:55:59 +02:00
Juri Linkov
fa79de7c6b ; * lisp/calendar/calendar.el: Remove extra space. 2024-03-21 09:49:34 +02:00
Eli Zaretskii
7f6e335f4b Fix documentation of M-SPC in user manual
* doc/emacs/killing.texi (Deletion): Fix documentation of
'cycle-spacing'.  (Bug#69905)
2024-03-20 14:45:24 +02:00
Robert Pluim
5bdc2436c6 ; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker. 2024-03-20 09:37:09 +01:00
Michael Albinus
8014dbb2ad * admin/notes/bugtracker: Minor copyedit. 2024-03-17 13:25:35 +01:00
Eli Zaretskii
06a991e7e8 ; * admin/notes/bugtracker: Minor copyedit. 2024-03-17 10:47:41 +02:00
Theodor Thornhill
c890622e1a Tweak regexp for object initializers in csharp-mode (bug#69571)
* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Add
handling to not consider ended statements as object init openers.
* test/lisp/progmodes/csharp-mode-resources/indent.erts: New test
resources.
* test/lisp/progmodes/csharp-mode-tests.el: Add test for this particular
issue.
2024-03-16 20:43:25 +01:00
Konstantin Kharlamov
f48babb112 `term-mode': mention the keymap to add keybindings to
A user typically expects a keymap for mode `foo' to be called
`foo-mode-map'.  term-mode has `term-mode-map' too, but for
user-defined bindings to have effect they have to be put to
`term-raw-map' instead.  So let's mention that.
* lisp/term.el (term-mode) (term-mode-map) (term-raw-map): Mention
the keymaps to add keybindings to for `term-mode'.  (Bug#69786)
2024-03-16 13:25:47 +02:00
Eli Zaretskii
8cf05d9be1 Fix 'shortdoc-copy-function-as-kill'
* lisp/emacs-lisp/shortdoc.el (shortdoc-copy-function-as-kill):
Fix handling of functions with no arguments.  (Bug#69720)
2024-03-16 13:07:52 +02:00
Eli Zaretskii
d5901f3f05 Improve documentation of 'edebug-print-*' variables
* lisp/emacs-lisp/edebug.el (edebug-print-length)
(edebug-print-level): Fix doc strings and customization labels.
Suggested by Matt Trzcinski <matt@excalamus.com>.  (Bug#69745)
2024-03-16 12:42:16 +02:00
Basil L. Contovounesios
3b791ebbe1 ; Fix 'usage:' keyword in Ffile_name_concat doc. 2024-03-16 00:20:41 +01:00
Eli Zaretskii
ed48b0d657 ; * CONTRIBUTE: Ask not to use non-ASCII unless necessary. 2024-03-15 13:29:31 +02:00
Eli Zaretskii
b708e639d6 ; * src/lread.c (maybe_swap_for_eln): Clarify warning message. 2024-03-14 21:08:36 +02:00
Basil L. Contovounesios
db027a0697 ; Fix bibtex-biblatex-field-alist docstring typo. 2024-03-12 22:47:45 +01:00
Arash Esbati
a9be5c7ea9 ; * doc/lispref/control.texi (Conditionals): Add missing paren (bug#69742). 2024-03-12 17:05:14 +02:00
F. Jason Park
db5915f30b Fix 'with-sqlite-transaction'
* lisp/sqlite.el (with-sqlite-transaction): Tuck misplaced body
of else form back into feature-test control structure whence it
escaped.  (Bug#67142)

* test/lisp/sqlite-tests.el: New file to accompany
test/src/sqlite-tests.el.
2024-03-11 15:23:55 +02:00
Eli Zaretskii
fe491173e8 ; * doc/emacs/files.texi (Image Mode): Fix typo (bug#69671). 2024-03-09 11:40:27 +02:00
Eli Zaretskii
b9f7a2274f ; Improve documentation of 'minibuffer-allow-text-properties'
* doc/lispref/minibuf.texi (Text from Minibuffer): Document the
default value of 'minibuffer-allow-text-properties'.
2024-03-08 15:06:37 +02:00
Eli Zaretskii
5ffcca121b ; Improve documentation of image properties
* lisp/image.el (create-image, image-property): Add to do strings
link to description of image properties in ELisp manual.

* doc/lispref/display.texi (Defining Images): Fix example and add
cross-reference to where image properties are described.
(Image Descriptors): Add index entry.
2024-03-07 10:11:44 +02:00
Eli Zaretskii
6e801077ae ; * src/composite.c (composition_compute_stop_pos): Add comment. 2024-03-04 17:09:29 +02:00
Eli Zaretskii
ae80192d97 ; * src/buffer.c (Fmake_indirect_buffer): Doc fix. 2024-03-01 10:32:32 +02:00
Dan Jacobson
2549eabc97 Fix typos in vnvni.el.
* lisp/leim/quail/vnvni.el ("vietnamese-vni"): Fix typos.  (Bug#69485)

Copyright-paperwork-exempt: yes
2024-03-01 09:33:38 +02:00
Eli Zaretskii
647cecc853 ; * lisp/vc/vc.el (vc-clone): Fix wording of doc string. 2024-02-27 15:11:58 +02:00
Eli Zaretskii
383ccf6d51 Avoid assertion violations in bidi.c
* src/bidi.c (bidi_resolve_brackets): Move assertion about
'resolved_level' to where it belongs.  This avoids unnecessary
aborts when the character is not a bracket type and doesn't need
BPA resolution.  (Bug#69421)
2024-02-27 13:12:15 +02:00
Stefan Monnier
b7cef701cb * lisp/files.el (hack-one-local-variable): Use set-auto-mode-0
This fixes bug#69373.
2024-02-25 11:35:44 -05:00
Eli Zaretskii
0530800175 Fix infinite recursion in gdb-mi.el
* lisp/progmodes/gdb-mi.el: (gdb-clear-partial-output)
(gdb-clear-inferior-io):  Set inhibit-read-only, to avoid
signaling errors in process filter.  (Bug#69327)
2024-02-24 15:12:57 +02:00
Eli Zaretskii
01ebc95114 Fix 'help-quick-toggle'
* lisp/help.el (help-quick-sections): Fix "kill-region" command.
Add a doc string.  (Bug#69345)
2024-02-24 11:59:30 +02:00
Eli Zaretskii
afe49c7e2a ; * admin/authors.el (authors-aliases): Fix last change. 2024-02-24 09:32:06 +02:00
Morgan Smith
8b1f10f8cf ; Normalize Morgan Smith's attributions. 2024-02-24 09:30:51 +02:00
Eli Zaretskii
70cf4b694b ; * etc/PROBLEMS: Describe input lags due to GTK IM (bug#69246). 2024-02-22 15:15:53 +02:00
Juri Linkov
f28a557c7d * doc/lispref/modes.texi (Tabulated List Mode): Update.
In the description of 'tabulated-list-format' document
the missing value 'props' that was added long ago.
2024-02-21 19:43:28 +02:00
Michael Albinus
d6131b5902 * lisp/net/tramp.el (tramp-methods): Fix typo in docstring. (Bug#69294) 2024-02-21 09:02:33 +01:00
Eli Zaretskii
2eb85a9de1 ; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Another doc fix. 2024-02-20 19:15:38 +02:00
Eli Zaretskii
4c6653f23a ; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Doc fix. 2024-02-20 15:44:13 +02:00
Dmitry Gutov
5a64d2c759 java-ts-mode: Indentation for opening brace on a separate line
* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules):
Support putting the opening brace on a separate line (bug#67556).

* test/lisp/progmodes/java-ts-mode-resources/indent.erts:
Add a test.
2024-02-17 22:35:16 +02:00
Philip Kaludercic
9e56bd5ed8 Removed decommissioned PGP keyservers
* lisp/epa-ks.el (epa-keyserver): Update the user option type of
`epa-keyserver'.

See https://mail.gnu.org/archive/html/emacs-devel/2023-11/msg00857.html.
2024-02-17 19:47:29 +01:00