Commit graph

174706 commits

Author SHA1 Message Date
Eli Zaretskii
04c475a39f ; Fix documentation about faces of tool-tip text
* lisp/tooltip.el (tooltip):
* src/frame.c (syms_of_frame) <use-system-tooltips>: Doc fixes.
2025-01-18 15:07:52 +02:00
Eli Zaretskii
853719c4c2 ; * lisp/net/eww.el (eww-download): Doc fix (bug#75585) 2025-01-18 12:56:48 +02:00
Stefan Kangas
45ec5865aa ; * etc/NEWS: Tweak wording of NSM items. 2025-01-17 17:28:24 +01:00
Harald Jörg
b981889e9e ; cperl-mode-tests.el: Don't run the newest test in perl-mode
* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-74245): Skip
if not in cperl-mode
2025-01-14 12:17:47 +01:00
Robert Pluim
6a864ef8f3 Add smtpmail cross-reference to 'auth-sources'.
* doc/misc/smtpmail.texi (Authentication): Add cross-reference
to 'auth-sources'.
2025-01-14 10:25:18 +01:00
Peter Oliver
1fd7957bc7 ; cperl-mode.el: Add a test for Bug#74245
* test/lisp/progmodes/cperl-mode-resources/cperl-bug-74245.pl: New test data.

* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-74245): Verify
that a bare \"$\" can appear at the end of a subroutine signature.
2025-01-13 17:07:51 +01:00
Eli Zaretskii
8d289670d6 Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30 2025-01-13 14:00:10 +02:00
Harald Jörg
b74ac4af94 ; cperl-mode.el: Allow bare $ in a signature (Bug#74245)
* lisp/progmodes/cperl-mode.el (cperl--signature-rx): Allow bare
sigils for unused parameters in signatures.
(cperl-find-pods-heres): Avoid $) at the end of a signature being
treated as the punctuation variable $) by treating this dollar as
punctuation

* test/lisp/progmodes/cperl-mode-tests.el
(cperl-test-signature-rx): Add ($first,$) as a valid signature,
remove ($) from the list of invalid signatures.
2025-01-13 12:24:40 +01:00
Mauro Aranda
30e84fc653 Emphasize the use of :tag for new customization types
* doc/lispref/customize.texi (Type Keywords): Name important use
cases of the :tag keyword.
(Defining New Types): Emphasize the use of the :tag keyword when
using the lazy widget.  (Bug#74409)

(cherry picked from commit 99b85e116f)
2025-01-12 21:25:06 +02:00
Mauro Aranda
d66b8d4bec Fix checkbox's child creation
* lisp/wid-edit.el (widget-checklist-add-item): Swap function
calls so that child is actually a widget.  (Bug#72156)
2025-01-11 13:54:15 +02:00
Eli Zaretskii
26c5fadf47 Document that 'package-vc' doesn't support built-in packages
* doc/misc/use-package.texi (Install package):
* doc/emacs/package.texi (Fetching Package Sources): Document that
upgrading built-in packages is not yet supported using
'package-vc'.  (Bug#75328)
2025-01-11 12:58:03 +02:00
Eli Zaretskii
ee61b9a050 ; Fix documentation of completion commands
* src/minibuf.c (Fcompleting_read): Move part of doc string of
'read-from-minibuffer' to doc string of this function.  Suggested
by Eshel Yaron <me@eshelyaron.com>.
2025-01-11 12:40:59 +02:00
Stefan Kangas
ce43d13593 ; Simplify admin/run-codespell
* admin/run-codespell (emacs_run_codespell): Simplify.  Use env in
shebang to use more recent bash on macOS.
2025-01-11 07:14:35 +01:00
Stefan Kangas
fa1470d069 ; Remove duplicated word in files.el Commentary 2025-01-11 05:18:51 +01:00
Stefan Kangas
dabaea9746 Improve checkdoc-common-verbs-wrong-voice docstring
* lisp/emacs-lisp/checkdoc.el (checkdoc-common-verbs-wrong-voice):
Improve docstring.
2025-01-11 05:18:14 +01:00
Stefan Kangas
6de2ee5663 Document string-as-{unibyte,multibyte} as obsolete in manual
* doc/lispref/nonascii.texi (Selecting a Representation): Document
string-as-unibyte and string-as-multibyte as obsolete.
2025-01-11 05:18:14 +01:00
Randy Taylor
7f76f872eb
Fix go-ts-mode var spec indentation (Bug#75362)
v0.21.1 and onwards changed how this was indented.

* lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules):
Add rule for var_spec_list.
2025-01-09 19:07:24 -08:00
Kohei Tsuruta
01464fc882 Add "text" as a thing in tsx-ts-mode
* lisp/progmodes/typescript-ts-mode.el (tsx-ts-mode):
Add definition of "text" (bug#75422).

Copyright-paperwork-exempt: yes
2025-01-09 09:50:21 +02:00
Nikolaos Chatzikonstantinou
59c5733792 Improve doc string of 'package-delete'
* lisp/emacs-lisp/package.el (package-delete): Elaborate on the
kind of argument expected by the function.  (Bug#75382)
2025-01-09 09:27:44 +02:00
Stefan Kangas
313a191d04 ; * admin/MAINTAINERS: Remove Kelvin White. 2025-01-09 03:08:29 +01:00
Stefan Kangas
002960ceab Clarify that 'mac' line ending convention is not used on macOS
* doc/emacs/mule.texi (Coding Systems):
* doc/lispref/nonascii.texi (Coding System Basics): Clarify that the
'mac' line ending convention is not used on macOS, and is now rare
outside of legacy software.
2025-01-08 05:07:57 +01:00
Ellis Kenyo
4210e06564 Add language server for Odin
* lisp/progmodes/eglot.el (eglot-server-programs): Add language server
for the Odin programming language.  (Bug#75421)

Copyright-paperwork-exempt: yes
2025-01-07 20:09:12 +01:00
Eli Zaretskii
ee1034422b ; Improve documentation of function-type display
* etc/NEWS: Document 'help-display-function-type'.

* doc/lispref/functions.texi (Declare Form):
* doc/lispref/objects.texi (Type Specifiers):
* doc/emacs/help.texi (Name Help): Better indexing of function
types.  (Bug#65288)
2025-01-07 17:20:22 +02:00
Stefan Kangas
1c49edc408 Modernize "Commentary" section of files.el
* lisp/files.el: Modernize "Commentary" section.  (Bug#75398)
2025-01-07 06:23:24 +01:00
Michael Albinus
505c1123e1 * INSTALL: Add advice how to invoke 'make install'. (Bug#74400) 2025-01-05 09:25:37 +01:00
Hong Xu
82e16cae9c Improve the documentation of 'key-valid-p'
* lisp/keymap.el (key-valid-p): Add an function key and mouse
button example.  Mention '<left>' as a cursor control key
instead of a function key.  Briefly explain what an event may
be.  (Bug#75366)
2025-01-05 08:33:13 +02:00
Ulrich Müller
6468c3f7a7 Update doc string of 'insert'
* src/editfns.c (Finsert): Mention 'decode-coding-string' instead
of the obsolete 'string-as-multibyte' in doc string.  (Bug#75345)
2025-01-04 15:31:24 +02:00
Hong Xu
6d8c3c0cbe Use keymap*-set' over global-set-key'/`define-key' in elisp intro
* doc/lispintro/emacs-lisp-intro.texi (Key Bindings): Since
`global-set-key' and `define-key' are considered legacy, we encourage
`keymap-global-set' and `keymap-set' now.  (Bug#74999)
2025-01-04 14:33:10 +02:00
Eli Zaretskii
4b2bb63b7a Fix documentation and prompt in 'package-isolate'
* lisp/emacs-lisp/package.el (package-isolate): Fix doc string and
the prompt.  (Bug#75163)
2025-01-04 14:18:54 +02:00
Yuan Fu
55f43f5b22
; Fix typo in treesit-explore-mode
* lisp/treesit.el (treesit-explore-mode): We added the hook to
kill-buffer-hook, so make sure to remove it from
kill-buffer-hook, not post-command-hook.
2025-01-03 21:40:42 -08:00
Wilhelm Kirschbaum
921f454f50 Update fontification for attribute values in heex-ts-mode
Attribute values are strings as with html-ts-mode.

* lisp/progmodes/heex-ts-mode.el (heex-ts--font-lock-settings):
Change to attribute value to @font-lock-string-face.  (Bug#75192)
2025-01-03 16:13:37 +01:00
Wilhelm Kirschbaum
ae2589ea7a Add expression handling to heex-ts-mode
On the latest update of the grammar expressions were added and won't be
seen as directives anymore.

* lisp/progmodes/heex-ts-mode.el
(heex-ts--sexp-regexp): Match on expression as well.
(heex-ts--indent-rules): Indent on expression end.  (Bug#75191)
* test/lisp/progmodes/heex-ts-mode-resources/indent.erts: Add expression
indent test.
2025-01-03 09:41:15 +01:00
Eli Zaretskii
0cacf80639 ; * etc/NEWS: Document change of 'make-cursor-line-fully-visible'.
Bug#65214, bug#74430.
2025-01-03 10:27:46 +02:00
Stefan Kangas
f47a29da5c * lisp/man.el (Man-mode): Improve docstring. 2025-01-03 03:36:38 +01:00
Stefan Kangas
cd6e2a0828 Fix copyright years by hand
These are dates that admin/update-copyright did not update.
2025-01-02 18:44:48 +01:00
Stefan Kangas
7fa975adbc Update copyright year to 2025
Run "TZ=UTC0 admin/update-copyright".
2025-01-02 18:39:42 +01:00
Dmitry Gutov
afe776051e [project-vc]: Make project-buffers more consistent with project-files
* lisp/progmodes/project.el (project-buffers):
Catch 'file-missing' error to continue anyway if .git does not
exist (bug#74826).
2025-01-02 18:58:40 +02:00
Stefan Monnier
a720458fdd (elisp-flymake-byte-compile): Improve UX with debug-on-error
* lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): Don't jump
into the debugger just because the content is not trusted.
2025-01-02 10:51:38 -05:00
Kohei Tsuruta
7acfea1935 ; * doc/lispref/modes.texi (Customizing Keywords): Fix typo (bug#75193). 2024-12-30 16:01:02 +02:00
Kohei Tsuruta
d47a7d6f0f ; Add missing parameters in keymap doc
* doc/lispref/keymaps.texi (Controlling Active Maps): Add missing
parameters.  (Bug#75174)

Copyright-paperwork-exempt: yes
2024-12-29 15:40:13 +02:00
Eli Zaretskii
07e9f27c3e ; * doc/misc/calc.texi: Fix makeinfo warnings (bug#75166). 2024-12-28 22:38:17 +02:00
Wilhelm Kirschbaum
43a8f0de5e Always match underscore variables for elixir-ts-mode
The code comment is invalid, as it is common to treat any _variable as a
comment.

* lisp/progmodes/elixir-ts-mode.el (elixir-ts-font-lock-settings):
Add ":override t" to comment identifier match.  (Bug#75156)
2024-12-28 17:37:38 +01:00
Eli Zaretskii
2ba6387d1d ; Fix inaccuracy in ELisp Reference manual
* doc/lispref/objects.texi (Basic Char Syntax): Fix inaccurate
wording.  (Bug#75113)
2024-12-28 14:04:26 +02:00
Eli Zaretskii
8ac6a17880 ; * etc/PROBLEMS: Mention problems with XPM support in GDK (bug#75018). 2024-12-28 13:54:45 +02:00
Wilhelm Kirschbaum
624322d5f6 Add missing fontification matches for elixir-ts-mode
* lisp/progmodes/elixir-ts-mode.el (elixir-ts--font-lock-settings): Add
matches for missing tokens and fix atom type face.  (Bug#75156)
2024-12-28 09:42:09 +01:00
Stefan Kangas
5bafb11b40 ; Fix copyright year 2024-12-28 02:24:07 +01:00
Stefan Kangas
186ea40732 Don't start docstrings with "This function" or similar
* lisp/calculator.el (calculator-add-operators):
* lisp/erc/erc-backend.el (erc-server-ping-handler):
* lisp/erc/erc-log.el (erc-generate-log-file-name-with-date):
(erc-generate-log-file-name-short):
* lisp/erc/erc-track.el (erc-track-shorten-function):
* lisp/eshell/em-smart.el (eshell-where-to-jump):
* lisp/eshell/esh-mode.el (eshell-begin-on-new-line):
* lisp/gnus/gnus-art.el (gnus-prompt-before-saving):
* lisp/mail/supercite.el (sc-cite-region-limit):
* lisp/net/nsm.el (network-security-protocol-checks):
* lisp/org/org-element.el
(org-element--cache-avoid-synchronous-headline-re-parsing):
* lisp/progmodes/hideif.el (hif-merge-ifdef-region):
* lisp/progmodes/modula2.el (m2-indent):
* lisp/progmodes/xscheme.el (xscheme-running-p):
(xscheme-control-g-disabled-p):
* lisp/tab-bar.el (tab-bar--event-to-item):
* lisp/which-key.el (which-key--hide-popup): Don't start docstrings with
"This function" or "This variable".
2024-12-26 21:02:45 +01:00
Stefan Kangas
cb8ce2e68b Enable indent-tabs-mode in obj-c-mode
* .dir-locals.el (obj-c-mode): Enable indent-tabs-mode.
2024-12-26 16:10:25 +01:00
john muhl
54f3513709 Fix comment indent in 'lua-ts-mode' and old grammar
* lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules):
Improve multi-line comment indention for pre-0.0.19 grammars that
used a different structure for comment start/end markers.
(Bug#75107)
2024-12-26 11:01:49 +02:00
Corwin Brust
8b95549e90 * admin/nt/dist-build/build-dep-zips.py: (deps src) handle zst
This patch fixes various problems preventing this script from
working. The job of this script is to collect Emacs' dependanicies and
the (MSYS2/MinGW64) source archives for dependancies (including 2nd
etc. order dependancies) into zip archives.  GPL requires distributing such
archives (along with Emacs' own sources) when distributing GPL binaries.

Most principle of the changes is support for MSYS2 "w64" source archives
in zst format; previously this script assumed all sources were available
as tar.gz files.   Additionaly several DLLs are added to list of
required, including sqllite3 and tree-sitter.

In general this is a maintaince fix to ensure others have access to the
code used to create pretest (and, presumably release) version of Emacs
30.  Additional changes are required to progmatically identify changes
in Emacs' dependancies (e.g. after building a new Emacs binary for
distribution).  There is commented out code to this effect in the
changes I've installed which did work, for a brief period in time; I
suspect some changes in MSYS2 made it more difficult (or impossible?) to
invoke the MSYS2 shell (under which this python script must run) from
the MINGW64 (under which Emacs is built).  I may resort to a powershell
script as a way to orchistrate/invoke both MSYS2 and MING64 but I'm
currently still messing with a Makefile based approach (which would run
under MINGW64), in any event I believe we're all agreed this script
must interigate Emacs to create the "starting list" of dependancies to
include as a way to resolve this issue (missing/incorrect deps are
frequent source of broken binary releases).  (bug#65206)
2024-12-24 23:55:21 -06:00