Commit Graph

174633 Commits

Author SHA1 Message Date
Eli Zaretskii
5d021a711a ; Improve documentation of '.dir-locals.el'
* doc/lispref/variables.texi (Directory Local Variables):
* doc/emacs/custom.texi (Directory Variables): Document that
'.dir-locals-2.el' must be in the same directory as
'.dir-locals.el'.  (Bug#75890)
2025-01-27 15:19:06 +02:00
Eshel Yaron
84595cbcc7 ; (let-alist): Document double-dot escape syntax. (Bug#75852) 2025-01-27 08:26:19 +01:00
Stefan Kangas
5617b07a45 ; Prefer HTTPS to HTTP in docs
* doc/emacs/android.texi (Android Software):
* doc/lispref/frames.texi (X Selections):
* doc/misc/cc-mode.texi (Custom Filling and Breaking):
* doc/misc/efaq.texi (Basic editing):
* doc/misc/gnus.texi (Propagating marks, Spam Statistics Package):
* doc/misc/org.org (External Links, Images in HTML export)
(LaTeX Export, LaTeX math snippets): Prefer HTTPS to HTTP.  Fix or
mark some broken links while we're at it.
2025-01-26 22:45:13 +01:00
Stefan Kangas
fdd23023c8 ; * admin/MAINTAINERS: Sort external packages alphabetically. 2025-01-26 22:45:13 +01:00
Stefan Kangas
74dcfe155a ; * etc/NEWS: Remove temporary documentation markers. 2025-01-26 22:45:13 +01:00
Stefan Kangas
a87c382cab ; * etc/NEWS: Add missing temporary documentation tags. 2025-01-26 22:45:13 +01:00
Stefan Kangas
3c820cd265 Document insert-directory-program as a user option
* doc/lispref/files.texi (Contents of Directories): Document
'insert-directory-program' as a user option.
2025-01-26 22:45:13 +01:00
Stefan Monnier
2c1edf5f62 doc/lispref/modes.texi (Syntactic Font Lock): Update for commit 644c6b414f
Remove outdated `nil` element, as discussed in
https://lists.gnu.org/archive/html/help-gnu-emacs/2025-01/msg00244.html
2025-01-25 10:48:38 -05:00
Zhengyi Fu
67903f5909 Restore the old behavior of `bookmark-write-file'
* lisp/bookmark.el (bookmark-write-file): Use 'pp-28' to avoid
filling the bookmarks.  (Bug#75775)

Copyright-paperwork-exempt: yes
2025-01-25 15:57:09 +02:00
Eli Zaretskii
062da7003f ; Improve prompts and error messages in 'info-look'
* lisp/info-look.el (info-lookup-change-mode): Improve text of
prompt and error messages.  (Bug#75634)
2025-01-25 12:10:32 +02:00
Eli Zaretskii
52dc01f1c8 ; * admin/admin.el (set-version): Note about Android. 2025-01-25 10:38:29 +02:00
Stefan Kangas
fb282da2a0 Avoid double spaces around abbrevations in Texinfo
* doc/emacs/custom.texi (Init Rebinding):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/emacs.texi (Top):
* doc/emacs/emerge-xtra.texi (Emerge):
* doc/emacs/files.texi (Files):
* doc/emacs/frames.texi (Drag and Drop):
* doc/emacs/misc.texi (Hyperlinking):
* doc/emacs/modes.texi (Modes):
* doc/emacs/mule.texi (Input Methods):
* doc/emacs/windows.texi (Window Tool Bar):
* doc/lispintro/emacs-lisp-intro.texi
(Lexical & Dynamic Binding Differences):
* doc/lispref/elisp.texi (Top):
* doc/lispref/functions.texi (Functions, Generic Functions):
* doc/lispref/hash.texi (Defining Hash):
* doc/lispref/keymaps.texi (Creating Keymaps):
* doc/lispref/lists.texi (Property Lists):
* doc/lispref/modes.texi (%-Constructs):
* doc/lispref/nonascii.texi (Character Properties):
* doc/lispref/processes.texi (Misc Network):
* doc/lispref/searching.texi (Regexp Functions):
* doc/lispref/syntax.texi (Syntax Table Internals):
* doc/lispref/text.texi (Filling, Checksum/Hash)
(JSONRPC deferred requests):
* doc/misc/calc.texi (What is Calc, Modes Tutorial):
* doc/misc/cc-mode.texi (List Line-Up, Operator Line-Up)
(Custom Macros, Indenting Directives):
* doc/misc/efaq.texi (Colors on a TTY, Security risks with Emacs):
* doc/misc/eglot.texi (Eglot Variables):
* doc/misc/erc.texi (Connecting):
* doc/misc/eshell.texi (Aliases, Completion):
* doc/misc/flymake.texi (Backend functions):
* doc/misc/gnus-faq.texi (FAQ 5 - Composing messages):
* doc/misc/gnus.texi (Gnus Unplugged, Window Layout)
(Filtering Incoming Mail, History):
* doc/misc/idlwave.texi (Online Help, Catalogs):
* doc/misc/wisent.texi (Wisent Overview): Be more consistent with
abbreviations.  Use @: or comma or rewrite to avoid double spaces.
Ref: https://lists.gnu.org/r/emacs-devel/2025-01/msg00909.html
2025-01-24 23:10:23 +01:00
Robert Pluim
bc1ab8ac3d ; * doc/emacs/custom.texi (Init Rebinding): Fix spacing. 2025-01-24 16:55:15 +01:00
Robert Pluim
b41ef43af1 ; Fix previous change
* doc/emacs/fixit.texi (Spelling): Use "personal" instead of
"private" dictionary.
2025-01-24 15:58:47 +01:00
Rudolf Adamkovič
5638b1d6bd Ispell: Use "personal dictionary" terminology consistently
* lisp/textmodes/ispell.el (ispell-command-loop, ispell-help): Use
consistent terminology when referring to "personal dictionary".
(Bug#75802)
2025-01-24 13:58:27 +02:00
Stefan Kangas
cc791e7499 ; Check man pages for mistakes less frequently
* admin/make-tarball.txt: Move checking man pages from here...
* admin/release-process: ...to here.
2025-01-24 01:56:15 +01:00
Stefan Kangas
4ed4792e3b ; * admin/release-process: Minor copy-edits. 2025-01-24 01:40:55 +01:00
Stefan Kangas
4a867c823b Add language server "ruff server" for Python
* lisp/progmodes/eglot.el (eglot-server-programs): Add "ruff
server" for Python.
2025-01-23 18:32:29 +01:00
Randy Taylor
9e687c2871 Fix go-ts-mode type declaration indentation (Bug#75785)
* lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules):
Add rule for type_declaration.
2025-01-23 18:40:26 +02:00
Eli Zaretskii
f751b3afa4 ; Minor improvements for doc strings in map.el
* lisp/emacs-lisp/map.el (map-let, map-put, map-apply)
(map-values-apply, map-some, map-every-p, map--merge)
(map-merge-with, map-put!): Doc fixes.
2025-01-23 12:29:04 +02:00
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