1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00
Commit graph

174542 commits

Author SHA1 Message Date
john muhl
08b62132dd Add 'lua-ts-mode' to 'interpreter-mode-alist'
* lisp/progmodes/lua-ts-mode.el: Enable 'lua-ts-mode' for Lua
scripts based on their interpreter line.  (Bug#74951)
2024-12-21 12:53:21 +02:00
Richard Lawrence
d8ffcf2fba Document representation of dates in calendar.el
* lisp/calendar/calendar.el: Add a comment in file header
explaining how dates are represented.
2024-12-21 12:43:39 +02:00
Eli Zaretskii
faaa13ec76 Autoload 'shortdoc-help-fns-examples-function'
* lisp/help-fns.el (shortdoc-help-fns-examples-function):
Autoload, to allow adding it to
'help-fns-describe-function-functions' as advertised.  (Bug#74995)
2024-12-20 22:06:06 +02:00
Andrea Corallo
68bcabf58a * Update 'ldefs-boot.el' (don't merge)
* lisp/ldefs-boot.el: Update.
2024-12-19 22:29:25 +01:00
Andrea Corallo
9d93d717d5 * Bump Emacs version to 30.0.93
* nt/README.W32: Update Emacs version.
* msdos/sed2v2.inp: Likewise.
* exec/configure.ac: Likewise.
* configure.ac: Likewise.
* README: Likewise.
2024-12-19 22:27:30 +01:00
Andrea Corallo
8f8da2d785 ; * ChangeLog.4: Update. 2024-12-19 00:43:27 +01:00
Andrea Corallo
49adcf30b0 ; * etc/AUTHORS: Update. 2024-12-19 00:42:28 +01:00
Andrea Corallo
1381c6f959 * Update authors.el
* admin/authors.el (authors-aliases, authors-valid-file-names)
(authors-renamed-files-alist): Add entry.
2024-12-19 00:22:47 +01:00
Eli Zaretskii
5c0f3f5826 ; * etc/NEWS: Mark unmarked entries. 2024-12-18 20:37:37 +02:00
Eli Zaretskii
8a0c9c234f Document 'trusted-content
* doc/emacs/misc.texi (Host Security): Document 'trusted-content'.

* lisp/files.el (trusted-content): Doc fix.

* etc/NEWS: Mark its entry as "documented".
2024-12-18 19:57:13 +02:00
Robert Pluim
c6ce11b2a4 Mention network-interface-list in network-interface-info docstring
* src/process.c (Fnetwork_interface_info): Reference
'network-interface-list'.
2024-12-18 16:00:55 +01:00
Eli Zaretskii
a7905145f7 ; * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Fix typo. 2024-12-18 16:22:21 +02:00
Stefan Kangas
cde22c0201 Move NEWS items from unreleased 28.3 to released 29.1
* etc/NEWS.28: Remove empty sections for 28.3.
Move single pertinent item from here...
* etc/NEWS.29: ...to here.
2024-12-17 04:46:36 +01:00
Stefan Kangas
5686bb5b42 Improve browse-url-android-share docstring
* lisp/net/browse-url.el (browse-url-android-share): Clarify that
the option only applies to Android systems.
2024-12-17 04:38:18 +01:00
Stefan Kangas
92041e15f4 Minor doc fix for url-handler-regexp
* lisp/url/url-handlers.el (url-handler-regexp): Remove mention of
obsolete internal protocol "about" (i.e. url-about.el).  Reflow.
2024-12-17 03:13:10 +01:00
Stefan Kangas
9fd96e2ab9 Improve reb-change-syntax docstring
* lisp/emacs-lisp/re-builder.el (reb-change-syntax): Improve docstring.
2024-12-16 22:17:36 +01:00
Stefan Monnier
b9dc337ea7 * lisp/files.el (trusted-content-p): Make :all work in non-file buffers 2024-12-16 09:27:01 -05:00
Robert Pluim
4b685bc4fc ; * src/process.c (Fnetwork_interface_list): Fix typo. 2024-12-16 13:35:51 +01:00
Robert Pluim
c14c489571 ; * lisp/net/nsm.el (nsm-trust-local-network): Fix typo. 2024-12-16 13:34:19 +01:00
Yuan Fu
10f976300d
; Add some tree-sitter thing content to the manual
* doc/lispref/parsing.texi (User-defined Things): List "builtin"
things.
2024-12-15 21:40:49 -08:00
Stefan Monnier
55303a6bc0 * lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info format (bug#74844) 2024-12-15 17:08:25 -05:00
Stefan Monnier
8b6c6cffd1 trusted-content: Adjust the last patch based on preliminary feedback
* lisp/files.el (trusted-content): Rename from `trusted-files`.
Update all references.

* lisp/progmodes/elisp-mode.el (lisp-interaction-mode):
* lisp/ielm.el (inferior-emacs-lisp-mode):
* lisp/simple.el (read--expression): Set `trusted-content` since
these buffers contain code that the user presumably intends to run anyway.
(elisp--safe-macroexpand-all): Make the warning more discreet.
2024-12-15 17:05:55 -05:00
Michael Albinus
69b16e5c63 ; * etc/NEWS: Fix typos. 2024-12-15 09:24:40 +01:00
Eli Zaretskii
5c6dbc65f3 ; * doc/lispref/frames.texi (Multiple Terminals): Add indexing. 2024-12-15 09:45:58 +02:00
Paul Eggert
856a58e282 Update documentation of 'etags' regexps some more
* doc/emacs/maintaining.texi (Etags Regexps):
* doc/man/etags.1: Give more details about what's not supported.
2024-12-15 00:16:10 -07:00
Eli Zaretskii
4c68846223 Update documentation of 'etags' regexps
* doc/emacs/maintaining.texi (Etags Regexps):
* doc/man/etags.1: Say that shy groups are not supported (bug#74861).
2024-12-15 07:52:40 +02:00
Stefan Monnier
b5158bd191 elisp-mode.el: Disable Flymake byte-compile backend in untrusted files
To address serious security issues (CVE-2024-53920), disable
`elisp-flymake-byte-compile` except in those files explicitly
specified as "trusted".

For that introduce a new custom var `trusted-files` and new
function `trusted-content-p`.

While at it, similarly skip the implicit macroexpansion done during
completion if the current file is not trusted.

* lisp/files.el (trusted-files): New variable.
(trusted-content-p): New function.

* lisp/progmodes/elisp-mode.el (elisp--safe-macroexpand-all):
New function, extracted from `elisp--local-variables`.
Use `trusted-content-p`.
(elisp--local-variables): Use it.
(elisp-flymake-byte-compile): Disable according to `trusted-content-p`.
2024-12-14 09:48:36 -05:00
Eli Zaretskii
6942599dbb ; * etc/PROBLEMS: Document problem with menu-bar background (bug#74028). 2024-12-14 11:57:04 +02:00
Stephen Gildea
488801baf7 * lisp/time-stamp.el: Limit field width to two digits. 2024-12-13 08:56:41 -08:00
Eli Zaretskii
34bedcd58d ; * lisp/progmodes/executable.el: Remove stale comment (bug#74846). 2024-12-13 14:11:13 +02:00
Eli Zaretskii
327d3e56f6 ; * etc/TODO: Add an item for improving defgroups. 2024-12-12 18:03:19 +02:00
Scott Bell
7ae9ccae0c ; * lisp/net/rcirc.el (rcirc-next-active-buffer): Doc fix (bug#74773). 2024-12-12 13:04:28 +02:00
Stefan Kangas
3e51be94ae ; Fix :version tag in browse-url
* lisp/net/browse-url.el (browse-url-button-regexp): Fix :version tag.
2024-12-11 22:41:10 +01:00
Philip Kaludercic
dffd4a50c6
Revert "Attempt to install package first when upgrading"
This reverts commit 3d8e49c41a.
2024-12-10 22:12:43 +01:00
Robert Pluim
fbcb357b9d Fix 'gnus-select-method' custom type
* lisp/gnus/gnus.el (gnus-redefine-select-method-widget): Cater
for the 'gnus-search-engine' configuration variable, which takes
2 args instead of 1.   (Bug#74759)
2024-12-10 15:53:47 +01:00
Chu
6fd5e02cb9 Fix typo in maps.texi
* doc/lispref/maps.texi (Standard Keymaps): Fix typo.  (Bug#74761)

Copyright-paperwork-exempt: yes
2024-12-10 11:51:12 +01:00
Eli Zaretskii
872a7336dc ; * etc/DEBUG: Mention "handle SIGINT" on MS-Windows. 2024-12-09 20:23:40 +02:00
Michael Albinus
b4bcbabf95 * doc/misc/tramp.texi (FUSE-based methods): Fix sshfs reference. 2024-12-09 15:50:59 +01:00
Stefan Kangas
f8da72b41c Improve gnus.texi indexing
* doc/misc/gnus.texi (Common Variables): Improve indexing.
2024-12-08 14:52:25 +01:00
Eli Zaretskii
4a090bd7ea ; * lisp/net/eww.el (eww-browse-with-external-browser): Fix typo. 2024-12-08 07:58:41 +02:00
Eli Zaretskii
59fa0b1dd6 ; Improve doc strings in compile.el
* lisp/progmodes/compile.el (compilation-transform-file-match-alist)
(compilation-error-regexp-alist): Doc fixes.
2024-12-08 07:47:07 +02:00
Philip Kaludercic
3d8e49c41a
Attempt to install package first when upgrading
* lisp/emacs-lisp/package.el (package-upgrade): Swap the
'package-install' and the 'package-delete' invocations.
(Bug#74556)
2024-12-07 20:02:58 +01:00
john muhl
4f2a21cc2a Don't restrict 'lua-ts-send-file' to 'lua-ts-mode'
* lisp/progmodes/lua-ts-mode.el (lua-ts-send-file): Remove
restriction on interactive use.  Unlike related send-* commands
it can be useful to send a file to the Lua interpreter outside of
a 'lua-ts-mode' buffer.  (Bug#74705)
2024-12-07 15:28:14 +02:00
Vincenzo Pupillo
84fc77f34f Remove unnecessary function call from 'php-ts-mode'
* lisp/progmodes/php-ts-mode.el (php-ts-mode): Remove
unnecessary function call 'treesit-font-lock-recompute-features'.
(Bug#74688)

(cherry picked from commit c87c5b95e1)
2024-12-07 15:17:35 +02:00
Robert Pluim
3cf177442c ; * lisp/help-at-pt.el (display-local-help): Fix last change. 2024-12-05 11:21:51 +01:00
Eli Zaretskii
02c53b9aab ; * lisp/help-at-pt.el (display-local-help): Doc fix. 2024-12-04 19:51:31 +02:00
Eli Zaretskii
130c2a13dc ; * doc/emacs/building.texi (Compilation Mode): Fix last change. 2024-12-04 18:21:19 +02:00
Robert Pluim
df7f02a795 Add tags to 'compilation-transform-file-match-alist' custom type
* lisp/progmodes/compile.el (compilation-filter-start): Add some
more meaningful tags, and switch to using 'radio' instead of
'choice'.
2024-12-04 17:00:16 +01:00
Robert Pluim
7c50e4cc8c Improve 'compilation-transform-file-match-alist' documentation
* doc/emacs/building.texi (Compilation Mode): Document
'compilation-transform-file-match-alist'.
* lisp/progmodes/compile.el
(compilation-transform-file-match-alist):
Expand docstring and add some examples.
2024-12-04 14:55:27 +01:00
Robert Pluim
a73d08bb67 Improve 'compilation-hidden-output' docstring
* lisp/progmodes/compile.el (compilation-hidden-output): Escape
the newline so the example value is more suitable for copying.
2024-12-04 14:50:41 +01:00