Stefan Kangas
cda78edc7d
; Fix typos
2025-01-23 03:14:37 +01:00
Eli Zaretskii
ce50a1d3c1
; * src/w32.c (w32_memory_info): Fix coding style of last change.
2025-01-21 21:25:15 +02:00
Arthur Miller
58d3d4820a
Fix bug in w32_memory_info
...
* src/w32.c (w32_memory_info): Initialize struct size.
2025-01-21 21:22:58 +02:00
Eli Zaretskii
7738641205
Avoid crashes in redisplay due to problematic font setups
...
* src/xdisp.c (handle_single_display_spec)
(produce_stretch_glyph): Avoid crashes if a face's font is NULL.
(Bug#75725)
2025-01-21 14:24:57 +02:00
Robert Pluim
0e3687e600
Improve 'key-valid-p' docstring
...
* lisp/keymap.el (key-valid-p): Add "RET", "<return>", and "C-m"
examples.
(Bug#75586)
2025-01-20 17:26:11 +01:00
Stefan Kangas
9878092d2b
Minor copyedits in internals.texi
...
* doc/lispref/internals.texi (Writing Emacs Primitives): Minor
copyedits.
2025-01-19 14:30:31 +01:00
Stefan Kangas
4726900fdc
Better document side-effect free and pure C functions
...
* doc/lispref/internals.texi (Writing Emacs Primitives):
Document that side-effect free and pure properties of C functions
are defined in byte-opt.el.
2025-01-19 14:30:31 +01:00
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