Commit graph

166005 commits

Author SHA1 Message Date
Eli Zaretskii
232a57a3e3 ; * doc/lispref/debugging.texi (Debugging): Add cross-references. 2023-11-17 14:28:13 +02:00
Ihor Radchenko
c65ddf26a3 ; doc/lispref/debugging.texi: Add reference to Profiler docs (bug#67236). 2023-11-17 14:25:01 +02:00
Jeremy Bryant
6f884d3aed Add 5 docstrings to abbrev.el (bug#67153)
* lisp/abbrev.el (prepare-abbrev-list-buffer, add-abbrev)
(inverse-add-abbrev, abbrev--describe)
(abbrev--possibly-save): Add doc strings.
2023-11-17 10:14:51 +02:00
Eli Zaretskii
b4d990bd63 ; Clarify wording about arguments in doc strings
* doc/lispref/tips.texi (Documentation Tips): Clarify "important
arguments".  (Bug#67217)
2023-11-17 09:04:20 +02:00
Eli Zaretskii
c20ae7a30f ; Improve cross-references in description of 'pcase'
* doc/lispref/control.texi (pcase Macro, Backquote Patterns):
Improve cross-references.
2023-11-16 21:55:10 +02:00
Eli Zaretskii
42181b65df ; * src/editfns.c (Fline_beginning_position): Doc fix. 2023-11-16 11:30:48 +02:00
Eli Zaretskii
5f3309f6b0 ; Improve indexing in ELisp manual
* doc/lispref/tips.texi (Documentation Tips, Coding Conventions)
(Key Binding Conventions, Programming Tips, Compilation Tips)
(Warning Tips, Comment Tips, Library Headers): Improve indexing.
2023-11-16 08:24:13 +02:00
Morgan Smith
4e406bb420 Fix CBZ file detection in doc-view-mode
* lisp/doc-view.el (doc-view-set-doc-type): Fix CBZ file
detection.  (Bug#67133)

This fix is almost identical to the previous fix for ODF file
detection in bug#54947 which resulted in commit
b3ff490538
2023-11-15 19:08:06 +02:00
João Távora
c1251ae1f9 * lisp/progmodes/eglot.el (eglot-server-programs): Fix previous commit.
(cherry picked from commit 58d9e735e7)
2023-11-15 04:18:01 -06:00
Eli Zaretskii
5a1808da5f ; * doc/misc/eglot.texi (Eglot Commands): Fix typos (bug#67159).
Reported by Alfie John <alfie@rustjobs.com>.
2023-11-14 21:14:48 +02:00
João Távora
260ba357bb Eglot: Send standard :language-id for typescript-language-server
bug#67150

* lisp/progmodes/eglot.el (eglot-server-programs): Update
language-id for languages handled by typescript-language-server.

(cherry picked from commit 1fe9498880)
2023-11-14 16:26:57 +02:00
Zajcev Evgeny
32a32853ce Typofix in the doc/lispref/modes.texi 2023-11-14 16:23:15 +02:00
Eshel Yaron
f98637b51b ; Fix 'add-face-text-property' shortdoc
* lisp/emacs-lisp/shortdoc.el (text-properties): Add missing
':no-eval' keyword.  (Bug#67138)
2023-11-14 16:10:37 +02:00
Eli Zaretskii
3fff22eb20 Fix spell-checking email message with citations
This became broken 7 years ago, when the 'boundp condition was
removed, and with it an important unrelated part of the code.
* lisp/textmodes/ispell.el (ispell-message): Fix cite-regexp.
2023-11-14 15:14:01 +02:00
Xiaoyue Chen
5bebd292c6 Pass only the local parts of Eshell's $PATH to 'tramp-remote-path'
* lisp/eshell/esh-proc.el (eshell-gather-process-output): Get the
local part of the $PATH (bug#67126).

Do not merge to master.

Copyright-paperwork-exempt: yes
2023-11-12 12:11:42 -08:00
Jeremy Bryant
5612fd21a0 Add two doc strings to cl-extra.el
* lisp/emacs-lisp/cl-extra.el (cl--random-time)
(cl-find-class): Add docstrings.  (Bug#66949)
2023-11-12 21:12:55 +02:00
Eli Zaretskii
ce0ebb91f2 Improve documentation of read syntax and printed representation
* doc/lispref/objects.texi (Syntax for Strings): Describe in more
detail how to specify special characters in string literals.
(Printed Representation, Character Type, Nonprinting Characters):
Improve information and add cross-references about printed
representation and read syntax.  (Bug#67033)
2023-11-11 12:02:24 +02:00
Eli Zaretskii
81f84b00a5 ; * doc/lispref/modes.texi (Other Font Lock Variables): Add link. 2023-11-11 11:05:58 +02:00
Eli Zaretskii
434592b074 ; * lisp/dired.el (dired-use-ls-dired): Doc fix (bug#67053). 2023-11-11 08:47:22 +02:00
Eli Zaretskii
fe000236cf Improve documentation of signaling errors in batch mode
* doc/lispref/control.texi (Signaling Errors)
(Processing of Errors):
* doc/lispref/os.texi (Batch Mode):
* doc/lispref/debugging.texi (Invoking the Debugger):
* lisp/emacs-lisp/debug.el (debug):
* src/eval.c (Fsignal):
* lisp/subr.el (error): Document more prominently that signaling
an unhandled error in batch mode kills Emacs.  Better
documentation of backtrace in batch mode.
2023-11-09 10:33:28 +02:00
Yuan Fu
103ca678ac
Fix treesit-simple-indent-presets docstring (bug#67007)
* lisp/treesit.el (treesit-simple-indent-presets): Fix docstring.
* doc/lispref/modes.texi (Parser-based Indentation): Fix example.
2023-11-08 23:49:15 -08:00
Stephen Berman
b7871cefe7 Prevent an infinite loop in todo-mode (bug#66994)
* lisp/calendar/todo-mode.el (todo-item-start): Moving an item to
a todo file (with `C-u m') that had not yet been read into a
buffer puts point at the beginning of the file, from where it is
impossible to reach todo-item-start by this function, so don't try
in that case.
2023-11-09 00:13:06 +01:00
Randy Taylor
fa8cc4c9ee Fix cmake-ts-mode indentation (Bug#66845)
* lisp/progmodes/cmake-ts-mode.el (cmake-ts-mode--indent-rules):
Support versions v0.3.0 and v0.4.0 of the grammar.
(cmake-ts-mode--font-lock-compatibility-fe9b5e0): Fix docstring.
2023-11-08 14:32:35 +02:00
Kyle Meyer
5bdc61bc0e Update to Org 9.6.11 2023-11-05 21:46:42 -05:00
Eli Zaretskii
18e2de1bec ; * lisp/bindings.el (right-word, left-word): Doc fix. 2023-11-04 17:46:27 +02:00
Po Lu
4f0fc3bfda ; Document core input events problems with XInput2
* etc/PROBLEMS: Document problems with XInput2 and core input
events.  (Bug#66765)
2023-11-04 13:03:27 +02:00
Mattias Engdegård
33fae4b02d Suggest alternative reason for ERT test duplication error
* lisp/emacs-lisp/ert.el (ert-set-test): Amend error message;
maybe the redefinition was caused by a file loaded twice.
(Bug#66782)

Suggested by Xiyue Deng.

(cherry picked from commit 425d23fbea)
2023-11-04 10:50:10 +02:00
Eli Zaretskii
196def4fa6 Fix description of 'Package-Requires' library header
* doc/lispref/tips.texi (Library Headers): Update the description
of the 'Package-Requires' header.  (Bug#66677)
2023-11-04 09:59:45 +02:00
Michael Albinus
c177843279 ; * doc/misc/tramp.texi (FUSE setup): Fix typo. 2023-10-31 17:32:23 +01:00
Stefan Monnier
a64336cbb9 * lisp/emacs-lisp/cl-lib.el (cl--defalias): Improve&fix docstring 2023-10-30 18:50:47 -04:00
Jeremy Bryant
da8b85b577 Add two docstrings in cl-lib.el
* lisp/emacs-lisp/cl-lib.el (cl--set-buffer-substring)
(cl--defalias): Add docstrings.  (Bug#66828)
2023-10-30 13:41:19 +02:00
Michael Albinus
4193912745 Fix Tramp (don't merge)
* lisp/net/tramp.el (tramp-read-id-output): Identifiers can contain "-".
2023-10-27 15:09:41 +02:00
Michael Albinus
c22eeba827 ; Fix typo 2023-10-26 16:12:16 +02:00
Michael Albinus
4f57af7fcc * doc/misc/tramp.texi (Traces and Profiles): Fix indentation. (don't merge) 2023-10-26 15:59:24 +02:00
Michael Albinus
ccaf801baa * doc/misc/tramp.texi (Traces and Profiles): Fix indentation. (Don't merge) 2023-10-25 19:21:05 +02:00
Eli Zaretskii
d5e5ea4e36 Fix guessing commands for zstandard archives in Dired
* lisp/dired-aux.el (dired-guess-shell-alist-default): Fix
zstdandard commands.  (Bug#66532)
2023-10-25 16:32:01 +03:00
Matthew Woodcraft
90db29aff8 Fix eglot.texi (JSONRPC objects in Elisp) example
* doc/misc/eglot.texi (JSONRPC objects in Elisp): Correct the
example.  (Bug#66569)

Copyright-paperwork-exempt: yes
2023-10-25 16:26:16 +03:00
Eli Zaretskii
5ef48ad6a3 ; Fix one author's name. 2023-10-25 16:14:39 +03:00
Michael Albinus
c4e9a6159a * doc/man/emacsclient.1: Fix --tramp option. 2023-10-25 12:24:34 +02:00
Stefan Kangas
6dca3a8eab Improve nsm-protocol-check--3des-cipher docstring
* lisp/net/nsm.el (nsm-protocol-check--3des-cipher): Update
docstring to reflect current NIST policy.
2023-10-25 01:12:07 +02:00
Lassi Kortela
04215e616f Recognize backslash in dns-mode quoted values
* lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Recognize
backslash as an escape character.  (Bug#66660)

(cherry picked from commit e6f05e189d)
2023-10-24 12:59:52 +02:00
Stefan Kangas
6629e861b3 Make dns-mode fontify quoted values correctly
* lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Fontify
quoted values correctly.  (Bug#62214)
Suggested by Trent W. Buck <trentbuck@gmail.com>.

(cherry picked from commit c586d984f2)
2023-10-24 12:59:42 +02:00
Stefan Kangas
aa253c533d ; Fix broken links to gmane.org 2023-10-24 09:44:01 +02:00
Stefan Kangas
cc3e436c82 Change news.gmane.org to news.gmane.io
* admin/notes/emba:
* doc/misc/gnus.texi (Group Parameters)
(Non-ASCII Group Names, Filling In Threads)
(Selection Groups, Spam Package Configuration Examples)
(Terminology):
* lisp/gnus/gnus-group.el (gnus-useful-groups):
* lisp/gnus/gnus-sum.el (gnus-fetch-old-headers):
* lisp/gnus/spam-report.el (spam-report-gmane-use-article-number)
(spam-report-gmane-internal):
* test/lisp/gnus/gnus-group-tests.el (gnus-short-group-name):
Change news.gmane.org to news.gmane.io.
Ref: https://news.gmane.io/
2023-10-24 00:39:47 +02:00
Mauro Aranda
297fe945c5 Fix minor defcustom issues in Gnus (Bug#66715)
* lisp/gnus/gnus-art.el (gnus-button-prefer-mid-or-mail): Allow
function and add :tag to const values.
* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bookmark-inline-details):
Fix docstring.
* lisp/gnus/gnus-sum.el (gnus-simplify-subject-fuzzy-regexp): Allow a
single regexp as value.
* lisp/gnus/message.el (message-indent-citation-function): Allow a
single function as value.
(message-mail-alias-type): Allow for a list of options as value.
(message-dont-reply-to-names): Allow a function as value.
* lisp/gnus/spam-report.el (spam-report-url-ping-function): Fix
default value for the function widget.
2023-10-23 23:16:13 +02:00
Lin Sun
3beb5f5e24 ; * doc/misc/gnus.texi: Fix unmatched quote in gnus doc. (Bug#66710) 2023-10-23 21:52:58 +03:00
Michael Albinus
85d08d5788 Minor connection-local variables fixes
* doc/emacs/custom.texi (Connection Variables): Warn about
specifying the same variable twice.

* lisp/files-x.el (connection-local-get-profiles): Normalize criteria.
2023-10-23 17:07:17 +02:00
Stefan Kangas
79d8328ca4 Make Dired honor `insert-directory-program´ with globs
Starting with commit 6f6639d6ed
(Bug#27631), Dired stopped respecting the value of
'insert-directory-program' when using directory wildcards/globs.

* lisp/dired.el (dired-insert-directory): Honor the value of
'insert-directory-program' when using directory wildcards.
2023-10-23 13:57:28 +02:00
Morgan J. Smith
43127294e1 Fix typo in url-privacy-level :type
* lisp/url/url-vars.el (url-privacy-level): Fix typo in
:type.  (Bug#66613)
2023-10-22 21:45:49 +02:00
Juri Linkov
380f8574ef * lisp/vc/log-view.el (log-view-mode-menu): Quote derived modes (bug#66686). 2023-10-22 20:59:52 +03:00