]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 months agoFix treesit-simple-indent-presets docstring (bug#67007)
Yuan Fu [Thu, 9 Nov 2023 07:46:32 +0000 (23:46 -0800)]
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.

12 months agoPrevent an infinite loop in todo-mode (bug#66994)
Stephen Berman [Wed, 8 Nov 2023 23:13:06 +0000 (00:13 +0100)]
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.

12 months agoFix cmake-ts-mode indentation (Bug#66845) emacs-29
Randy Taylor [Wed, 1 Nov 2023 02:08:25 +0000 (22:08 -0400)]
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.

12 months agoUpdate to Org 9.6.11
Kyle Meyer [Mon, 6 Nov 2023 02:46:42 +0000 (21:46 -0500)]
Update to Org 9.6.11

12 months ago; * lisp/bindings.el (right-word, left-word): Doc fix.
Eli Zaretskii [Sat, 4 Nov 2023 15:46:27 +0000 (17:46 +0200)]
; * lisp/bindings.el (right-word, left-word): Doc fix.

12 months ago; Document core input events problems with XInput2
Po Lu [Sat, 4 Nov 2023 11:03:27 +0000 (13:03 +0200)]
; Document core input events problems with XInput2

* etc/PROBLEMS: Document problems with XInput2 and core input
events.  (Bug#66765)

12 months agoSuggest alternative reason for ERT test duplication error
Mattias Engdegård [Fri, 3 Nov 2023 17:06:04 +0000 (18:06 +0100)]
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 425d23fbeaede81ab4f50b4073949cc1c8a3fbd0)

12 months agoFix description of 'Package-Requires' library header
Eli Zaretskii [Sat, 4 Nov 2023 07:59:45 +0000 (09:59 +0200)]
Fix description of 'Package-Requires' library header

* doc/lispref/tips.texi (Library Headers): Update the description
of the 'Package-Requires' header.  (Bug#66677)

12 months ago; * doc/misc/tramp.texi (FUSE setup): Fix typo.
Michael Albinus [Tue, 31 Oct 2023 16:32:23 +0000 (17:32 +0100)]
; * doc/misc/tramp.texi (FUSE setup): Fix typo.

12 months ago* lisp/emacs-lisp/cl-lib.el (cl--defalias): Improve&fix docstring
Stefan Monnier [Mon, 30 Oct 2023 22:50:47 +0000 (18:50 -0400)]
* lisp/emacs-lisp/cl-lib.el (cl--defalias): Improve&fix docstring

12 months agoAdd two docstrings in cl-lib.el
Jeremy Bryant [Sun, 29 Oct 2023 21:56:54 +0000 (21:56 +0000)]
Add two docstrings in cl-lib.el

* lisp/emacs-lisp/cl-lib.el (cl--set-buffer-substring)
(cl--defalias): Add docstrings.  (Bug#66828)

12 months agoFix Tramp (don't merge)
Michael Albinus [Fri, 27 Oct 2023 13:09:41 +0000 (15:09 +0200)]
Fix Tramp (don't merge)

* lisp/net/tramp.el (tramp-read-id-output): Identifiers can contain "-".

12 months ago; Fix typo
Michael Albinus [Thu, 26 Oct 2023 14:12:16 +0000 (16:12 +0200)]
; Fix typo

12 months ago* doc/misc/tramp.texi (Traces and Profiles): Fix indentation. (don't merge)
Michael Albinus [Thu, 26 Oct 2023 13:59:24 +0000 (15:59 +0200)]
* doc/misc/tramp.texi (Traces and Profiles): Fix indentation.  (don't merge)

12 months ago* doc/misc/tramp.texi (Traces and Profiles): Fix indentation. (Don't merge)
Michael Albinus [Wed, 25 Oct 2023 17:21:05 +0000 (19:21 +0200)]
* doc/misc/tramp.texi (Traces and Profiles): Fix indentation.  (Don't merge)

12 months agoFix guessing commands for zstandard archives in Dired
Eli Zaretskii [Wed, 25 Oct 2023 13:32:01 +0000 (16:32 +0300)]
Fix guessing commands for zstandard archives in Dired

* lisp/dired-aux.el (dired-guess-shell-alist-default): Fix
zstdandard commands.  (Bug#66532)

12 months agoFix eglot.texi (JSONRPC objects in Elisp) example
Matthew Woodcraft [Sun, 15 Oct 2023 18:50:26 +0000 (19:50 +0100)]
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

12 months ago; Fix one author's name.
Eli Zaretskii [Wed, 25 Oct 2023 13:14:39 +0000 (16:14 +0300)]
; Fix one author's name.

12 months ago* doc/man/emacsclient.1: Fix --tramp option.
Michael Albinus [Wed, 25 Oct 2023 10:24:34 +0000 (12:24 +0200)]
* doc/man/emacsclient.1: Fix --tramp option.

12 months agoImprove `nsm-protocol-check--3des-cipher` docstring
Stefan Kangas [Tue, 24 Oct 2023 23:06:27 +0000 (01:06 +0200)]
Improve `nsm-protocol-check--3des-cipher` docstring

* lisp/net/nsm.el (nsm-protocol-check--3des-cipher): Update
docstring to reflect current NIST policy.

12 months agoRecognize backslash in `dns-mode` quoted values
Lassi Kortela [Sat, 21 Oct 2023 10:10:50 +0000 (13:10 +0300)]
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 e6f05e189db73a0f0b29f987381ffef61a409232)

12 months agoMake `dns-mode` fontify quoted values correctly
Stefan Kangas [Tue, 5 Sep 2023 21:06:21 +0000 (23:06 +0200)]
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 c586d984f279aa61de4f5dfc4f6df660188dd0f6)

12 months ago; Fix broken links to gmane.org
Stefan Kangas [Tue, 24 Oct 2023 07:37:21 +0000 (09:37 +0200)]
; Fix broken links to gmane.org

12 months agoChange news.gmane.org to news.gmane.io
Stefan Kangas [Mon, 23 Oct 2023 22:37:23 +0000 (00:37 +0200)]
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/

12 months agoFix minor defcustom issues in Gnus (Bug#66715)
Mauro Aranda [Mon, 23 Oct 2023 21:04:25 +0000 (18:04 -0300)]
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.

12 months ago; * doc/misc/gnus.texi: Fix unmatched quote in gnus doc. (Bug#66710)
Lin Sun [Mon, 23 Oct 2023 05:00:01 +0000 (05:00 +0000)]
; * doc/misc/gnus.texi: Fix unmatched quote in gnus doc.  (Bug#66710)

12 months agoMinor connection-local variables fixes
Michael Albinus [Mon, 23 Oct 2023 15:07:17 +0000 (17:07 +0200)]
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.

12 months agoMake Dired honor `insert-directory-program´ with globs
Stefan Kangas [Mon, 23 Oct 2023 11:57:28 +0000 (13:57 +0200)]
Make Dired honor `insert-directory-program´ with globs

Starting with commit 6f6639d6ed6c6314b2643f6c22498fc2e23d34c7
(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.

12 months agoFix typo in url-privacy-level :type
Morgan J. Smith [Sun, 22 Oct 2023 19:43:46 +0000 (21:43 +0200)]
Fix typo in url-privacy-level :type

* lisp/url/url-vars.el (url-privacy-level): Fix typo in
:type.  (Bug#66613)

12 months ago* lisp/vc/log-view.el (log-view-mode-menu): Quote derived modes (bug#66686).
Juri Linkov [Sun, 22 Oct 2023 17:59:52 +0000 (20:59 +0300)]
* lisp/vc/log-view.el (log-view-mode-menu): Quote derived modes (bug#66686).

12 months ago* lisp/tab-bar.el: Fix the close button with auto-width (bug#66678).
Petteri Hintsanen [Sun, 22 Oct 2023 17:39:16 +0000 (20:39 +0300)]
* lisp/tab-bar.el: Fix the close button with auto-width (bug#66678).

(tab-bar-auto-width): Take into account the length of tab-bar-close-button
more than one character: " x".
Don't merge to master.

12 months agoFix State button for customize-icon (Bug#66635)
Mauro Aranda [Thu, 19 Oct 2023 11:46:35 +0000 (08:46 -0300)]
Fix State button for customize-icon (Bug#66635)

* lisp/cus-edit.el (custom-icon-action): New function.
(custom-icon): Use it as the :action.  Otherwise, clicking the State
button is a noop.  Remove irrelevant stuff from the docstring and
comment out some copy-pasta.
(custom-icon-extended-menu): New variable, the menu to show upon
:action.
(custom-icon-set): Really redraw the widget with the new settings.
Comment out strange call to custom-variable-backup-value.
(custom-icon-save): New function.

* lisp/emacs-lisp/icons.el (icons--merge-spec): Fix call to plist-get
and avoid infloop.

12 months ago; Another Texinfo fix
Eli Zaretskii [Sun, 22 Oct 2023 11:05:53 +0000 (14:05 +0300)]
; Another Texinfo fix

* doc/lispintro/emacs-lisp-intro.texi (Counting function
definitions):  Fix Texinfo 7.1 warning.

12 months ago; Fix Texinfo warnings
Eli Zaretskii [Sun, 22 Oct 2023 09:21:08 +0000 (12:21 +0300)]
; Fix Texinfo warnings

* doc/misc/wisent.texi (Grammar format):
* doc/misc/efaq.texi (Not writing files to the current directory):
* doc/misc/ede.texi:
* doc/lispref/errors.texi (Standard Errors): Fix warnings emitted
by makeinfo 7.1.

12 months agoFix the use of adaptive-fill-regexp in treesit indent preset
Yuan Fu [Sun, 22 Oct 2023 04:08:44 +0000 (21:08 -0700)]
Fix the use of adaptive-fill-regexp in treesit indent preset

* lisp/treesit.el (treesit-simple-indent-presets):
adaptive-fill-regexp don't have a capture group (the group in the
default value is supposed to be a non-capture group), so don't use the
group. Also, in the second diff hunk, replace looking-at with
looking-at-p so it doesn't override match data that we use later.

12 months agoFix treesit-install-language-grammar (bug#66673)
nverno [Sun, 22 Oct 2023 02:54:10 +0000 (19:54 -0700)]
Fix treesit-install-language-grammar (bug#66673)

* lisp/treesit.el (treesit-install-language-grammar): Take out the
language symbol when storing the recipe.

12 months agoFix treesit-explore-mode (bug#66431)
Yuan Fu [Sun, 22 Oct 2023 03:34:07 +0000 (20:34 -0700)]
Fix treesit-explore-mode (bug#66431)

* lisp/treesit.el (treesit-explore-mode): Reset
treesit--explorer-last-node before calling treesit--explorer-refresh,
so that in the rare case described in the bug report, the explorer
buffer don't show the outdated node.

12 months agotsx-ts-mode--font-lock-compatibility-bb1f97b: Re-fix the previous fix
Dmitry Gutov [Sat, 21 Oct 2023 12:05:45 +0000 (15:05 +0300)]
tsx-ts-mode--font-lock-compatibility-bb1f97b: Re-fix the previous fix

* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--font-lock-compatibility-bb1f97b): Make sure the
tested query is actually valid in the new grammar (bug#66646).

12 months ago; Fix argument name for function `copy-file'
Jens Schmidt [Wed, 18 Oct 2023 20:43:37 +0000 (22:43 +0200)]
; Fix argument name for function `copy-file'

* doc/lispref/files.texi (Changing Files): Change name of last
argument of function `copy-file' from `preserve-extended-attributes'
to `preserve-permissions', as used in the function's description, its
doc string and the description below in the manual.

12 months agoUpdate Tramp version (don't merge with master)
Michael Albinus [Thu, 19 Oct 2023 14:28:26 +0000 (16:28 +0200)]
Update Tramp version (don't merge with master)

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.6.2.29.2".
(customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 29.2.

12 months ago; * lisp/ldefs-boot.el: Regenerated for Emacs 29.1.90. emacs-29.1.90
Eli Zaretskii [Thu, 19 Oct 2023 09:38:30 +0000 (05:38 -0400)]
; * lisp/ldefs-boot.el: Regenerated for Emacs 29.1.90.

12 months agoBump Emacs version
Eli Zaretskii [Thu, 19 Oct 2023 09:12:20 +0000 (05:12 -0400)]
Bump Emacs version

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 29.1.90.

12 months ago; Update ChangeLog.4 and etc/AUTHORS.
Eli Zaretskii [Thu, 19 Oct 2023 08:53:08 +0000 (04:53 -0400)]
; Update ChangeLog.4 and etc/AUTHORS.

13 months agoCorrectly register focus events concomitant with alpha changes
Po Lu [Tue, 17 Oct 2023 00:33:25 +0000 (08:33 +0800)]
Correctly register focus events concomitant with alpha changes

* src/xterm.c (x_frame_highlight, x_frame_unhighlight): Skip
changing the frame alpha when the frame is not eligible for
focus state-specific alpha values; otherwise, the alpha might be
reset by the time a alpha change wrought by a focus change
arrives, impeding handle_one_xevent from subsequently restoring
the initial value.  (bug#66398)

13 months ago* doc/man/emacsclient.1: Add missing options.
Michael Albinus [Mon, 16 Oct 2023 10:41:32 +0000 (12:41 +0200)]
* doc/man/emacsclient.1: Add missing options.

13 months agoFix test in files-tests
Michael Albinus [Sun, 15 Oct 2023 10:26:43 +0000 (12:26 +0200)]
Fix test in files-tests

* test/lisp/files-tests.el
(files-tests-file-name-non-special-expand-file-name-tilde): Fix test.

13 months ago; * doc/emacs/search.texi (Regexp Backslash): Improve indexing.
Eli Zaretskii [Sun, 15 Oct 2023 09:37:25 +0000 (12:37 +0300)]
; * doc/emacs/search.texi (Regexp Backslash): Improve indexing.

13 months agoAdd missing :version to two defcustoms
Stefan Kangas [Sat, 14 Oct 2023 19:00:00 +0000 (21:00 +0200)]
Add missing :version to two defcustoms

* lisp/emacs-lisp/eldoc.el (eldoc-print-after-edit)
(eldoc-echo-area-prefer-doc-buffer): Add missing custom :version.

13 months agoFix a defcustom :type in eldoc.el
Mauro Aranda [Sat, 14 Oct 2023 13:34:54 +0000 (10:34 -0300)]
Fix a defcustom :type in eldoc.el

* lisp/emacs-lisp/eldoc.el (eldoc-echo-area-prefer-doc-buffer): Make
:type a choice, to allow for the value 'maybe'.  (Bug##66539)

13 months agoDocument 'M-x align' in the Emacs manual
Eshel Yaron [Mon, 2 Oct 2023 08:02:46 +0000 (10:02 +0200)]
Document 'M-x align' in the Emacs manual

* doc/emacs/indent.texi (Alignment): New section.
* doc/emacs/emacs.texi: Update menu. (Bug#66303)

13 months ago; * lisp/calendar/time-date.el (days-to-time): Doc fix.
Eli Zaretskii [Sat, 14 Oct 2023 09:00:51 +0000 (12:00 +0300)]
; * lisp/calendar/time-date.el (days-to-time): Doc fix.

13 months agoDocument that time-to-days and days-to-time use different epochs
Bob Rogers [Thu, 12 Oct 2023 17:23:35 +0000 (10:23 -0700)]
Document that time-to-days and days-to-time use different epochs

* doc/lispref/os.texi (Time Calculations):
* lisp/calendar/time-date.el (days-to-time, time-to-days): Doc fixes.
(Bug#66502)

13 months ago* lisp/files.el (file-name-non-special): Handle quoted tilde.
Michael Albinus [Sat, 14 Oct 2023 07:34:40 +0000 (09:34 +0200)]
* lisp/files.el (file-name-non-special): Handle quoted tilde.

(Bug#65685)

* test/lisp/files-tests.el
(files-tests-file-name-non-special-expand-file-name-tilde):
New test.

13 months agoHandle quoted tilde in Tramp
Michael Albinus [Fri, 13 Oct 2023 14:09:51 +0000 (16:09 +0200)]
Handle quoted tilde in Tramp

* lisp/net/tramp.el (tramp-handle-expand-file-name):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
* lisp/net/tramp-smb.el (tramp-smb-handle-expand-file-name):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-expand-file-name):
Handle quoted tilde.  (Bug#65685)

* test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name-tilde):
New test.

13 months ago; Set maintainer for elint.el to emacs-devel
Stefan Kangas [Thu, 12 Oct 2023 11:23:38 +0000 (13:23 +0200)]
; Set maintainer for elint.el to emacs-devel

* lisp/emacs-lisp/elint.el: Set maintainer to emacs-devel.

13 months agoUpdate to Org 9.6.10
Kyle Meyer [Tue, 10 Oct 2023 03:47:52 +0000 (23:47 -0400)]
Update to Org 9.6.10

13 months agoDon't call font-lock-mode in treesit-major-mode-setup (bug#66223)
Yuan Fu [Wed, 27 Sep 2023 07:21:40 +0000 (00:21 -0700)]
Don't call font-lock-mode in treesit-major-mode-setup (bug#66223)

* lisp/treesit.el (treesit-major-mode-setup): Remove.

(cherry picked from commit a3a840c80a217db7d4d125c667ff7d4946507fbb)

13 months agoFix treesit-query-validate for string input (bug#66400)
nverno [Sun, 8 Oct 2023 02:36:44 +0000 (19:36 -0700)]
Fix treesit-query-validate for string input (bug#66400)

* lisp/treesit.el (treesit-query-validate): Don't expand if QUERY is
string.

13 months ago; Improve documentation of VC commands
Eli Zaretskii [Sun, 8 Oct 2023 08:29:29 +0000 (11:29 +0300)]
; Improve documentation of VC commands

* doc/emacs/maintaining.texi (Basic VC Editing)
(VC With A Merging VCS, VC With A Locking VCS, Advanced C-x v v)
(Registering, Pulling / Pushing, Merging): Improve wording,
accuracy, and indexing.

* lisp/vc/vc.el (vc-next-action): Doc fix.

13 months agoRecommend `M-x man` in woman.el docs
Stefan Kangas [Sat, 7 Oct 2023 16:29:07 +0000 (18:29 +0200)]
Recommend `M-x man` in woman.el docs

* lisp/woman.el (Commentary, woman): Recommend using 'M-x man' where
available.  The added sentence is copied from the emacs manual.
Ref: https://lists.gnu.org/r/emacs-devel/2023-10/msg00090.html

13 months ago; * doc/lispref/processes.texi (Process Buffers): More accurate wording.
Eli Zaretskii [Sat, 7 Oct 2023 16:09:58 +0000 (19:09 +0300)]
; * doc/lispref/processes.texi (Process Buffers): More accurate wording.

13 months agoFix updating process-mark position in 'set-process-buffer'
Eli Zaretskii [Sat, 7 Oct 2023 14:58:54 +0000 (17:58 +0300)]
Fix updating process-mark position in 'set-process-buffer'

* src/process.c (update_process_mark): Update marker position only
if P's process-mark is not already associated with P's buffer.
(Bug#66313)

13 months ago; * lisp/treesit.el (treesit-language-at-point-function): Fix doc.
Yuan Fu [Wed, 27 Sep 2023 06:15:14 +0000 (23:15 -0700)]
; * lisp/treesit.el (treesit-language-at-point-function): Fix doc.

(cherry picked from commit 07ede5e92a58ac3739a0e5b0c9025bee2f75c5ba)
(Bug#66183)

13 months agoFix a defcustom :type
Mauro Aranda [Fri, 6 Oct 2023 20:02:37 +0000 (17:02 -0300)]
Fix a defcustom :type

* lisp/cedet/srecode/map.el (srecode-map-save-file): Expand :type to
allow nil.  (Bug#66377)

13 months agoFix 'ido--ffap-find-file'
Eli Zaretskii [Sat, 7 Oct 2023 06:46:04 +0000 (09:46 +0300)]
Fix 'ido--ffap-find-file'

* lisp/ido.el (ido--ffap-find-file): Make the signature consistent
with that of 'find-file', and pass the optional second argument to
'find-file'.  (Bug#66382)

13 months agoFix setting the pipe capacity for subprocesses
Eli Zaretskii [Fri, 6 Oct 2023 05:31:59 +0000 (08:31 +0300)]
Fix setting the pipe capacity for subprocesses

* src/process.c (create_process) [F_SETPIPE_SZ]: Set the pipe
capacity only if the required read-process-max is larger than the
default capacity of the pipe.  (Bug#66288)

13 months agoHandle LANG on macOS differently (bug#65908)
Gerd Möllmann [Thu, 5 Oct 2023 18:41:54 +0000 (20:41 +0200)]
Handle LANG on macOS differently (bug#65908)

* src/nsterm.m (ns_init_locale): If LANG is set, try to use that,
otherwise try to deduce what LANG should be.  Check is the result is
valid, and use LANG="en_US.UTF-8" if not.

13 months agoSilence macro expansion during completion at point
Jens Schmidt [Tue, 26 Sep 2023 20:26:15 +0000 (22:26 +0200)]
Silence macro expansion during completion at point

To keep risk in the current release branch low, do not avoid compiler
macros as suggested by Stefan in the bug, but rather suppress all errors.

* lisp/progmodes/elisp-mode.el (elisp--local-variables): Silence
messages.  Suppress all errors during macro expansion.  (Bug#58148)

Do not merge to master.

13 months agoFix a defcustom :type
Mauro Aranda [Thu, 5 Oct 2023 13:25:52 +0000 (10:25 -0300)]
Fix a defcustom :type

* lisp/cedet/ede/base.el (ede-project-placeholder-cache-file): Expand
:type to allow nil.  (Bug#66361)

13 months agoFix pulse-flag :type
Mauro Aranda [Wed, 4 Oct 2023 13:47:51 +0000 (10:47 -0300)]
Fix pulse-flag :type

* lisp/cedet/pulse.el (pulse-flag): Expand :type to allow 'never as
value.  (Bug#66341)

13 months agoFix defcustoms in timeclock.el
Mauro Aranda [Tue, 3 Oct 2023 11:03:47 +0000 (08:03 -0300)]
Fix defcustoms in timeclock.el

* lisp/calendar/timeclock.el (timeclock-get-project-function)
(timeclock-get-reason-function): Fix :type to allow nil.  (Bug#66320)

13 months ago; * lisp/image-mode.el (image-mode-to-text, image-mode-as-hex): Doc fixes.
Eli Zaretskii [Mon, 2 Oct 2023 07:18:10 +0000 (10:18 +0300)]
; * lisp/image-mode.el (image-mode-to-text, image-mode-as-hex): Doc fixes.

13 months ago; * lisp/image-mode.el: Fix typos in doc strings (bug#66302).
Ikumi Keita [Mon, 2 Oct 2023 06:54:51 +0000 (15:54 +0900)]
; * lisp/image-mode.el: Fix typos in doc strings (bug#66302).

13 months ago; Improve wording of last change
Stefan Kangas [Sun, 1 Oct 2023 16:27:11 +0000 (18:27 +0200)]
; Improve wording of last change

* doc/emacs/macos.texi (Mac / GNUstep Customization):
* src/nsfns.m (syms_of_nsfns): Improve wording.
Reported by Gerd Möllmann <gerd.moellmann@gmail.com>.

13 months agoImprove documentation of `ns-use-proxy-icon`
Stefan Kangas [Sun, 1 Oct 2023 13:37:06 +0000 (15:37 +0200)]
Improve documentation of `ns-use-proxy-icon`

* doc/emacs/macos.texi (Mac / GNUstep Customization):
* src/nsfns.m (syms_of_nsfns): Fix documentation of
'ns-use-proxy-icon'; explain what it does and how it's
used.  (Bug#66190)

13 months agoDocument assigning libraries to packages in make-tarball.txt
Stefan Kangas [Sun, 1 Oct 2023 13:09:38 +0000 (15:09 +0200)]
Document assigning libraries to packages in make-tarball.txt

* admin/make-tarball.txt: Add new step to ensure that new libraries
are assigned to packages.

13 months agoDoc fix; more consistently refer to "text terminals"
Stefan Kangas [Sun, 1 Oct 2023 11:21:39 +0000 (13:21 +0200)]
Doc fix; more consistently refer to "text terminals"

In the Emacs Lisp manual, we refer to "text terminals" and "graphical
terminals" (see Info node `(elisp) Frames').  But in some places,
including the user manual, the alternative terminology "non-window
terminals" is used instead.

In other places, we use the terminology "non-windowing display"
instead of the more canonical "non-graphical display".

This is less clear than it could be.  Let's consolidate our
terminology to prefer the wording from the Emacs Lisp manual; in other
words, prefer "text" and "non-graphical" to "non-window".

* doc/emacs/frames.texi (Non-Window Terminals): Rename node from this...
(Text Terminals): ...to this.  (Bug#66282)
* doc/emacs/display.texi (Standard Faces):
* doc/emacs/emacs.texi (Top):
* doc/emacs/misc.texi (emacsclient Options):
* doc/misc/viper.texi (Rudimentary Changes)
(Packages that Change Keymaps):
* doc/emacs/frames.texi (Frames, Frame Commands, Mouse Avoidance):
Replace instances of "non-window terminals" with "text terminals".
* doc/misc/ediff.texi (Quick Help Customization):
(Window and Frame Configuration):
* lisp/vc/ediff.el (ediff-windows-wordwise)
(ediff-windows-linewise): Prefer saying 'non-graphical display' to
'non-windowing display'.
* lisp/net/tramp.el (tramp-default-method):
* lisp/printing.el (pr-find-command): Capitalize 'Windows' where it
clearly refers to the non-free operating system with that name.

13 months ago; Fix doc strings of overlay-arrow variables
Eli Zaretskii [Sun, 1 Oct 2023 05:08:03 +0000 (08:08 +0300)]
; Fix doc strings of overlay-arrow variables

* src/xdisp.c (syms_of_xdisp) <overlay-arrow-string>
<overlay-arrow-variable-list>: Doc fixes.  (Bug#66282)

13 months agoFix defcustoms in type-break.el (Bug#66210)
Mauro Aranda [Tue, 26 Sep 2023 12:17:14 +0000 (09:17 -0300)]
Fix defcustoms in type-break.el (Bug#66210)

* lisp/type-break.el (type-break-good-rest-interval)
(type-break-file-name): Allow nil.

13 months agoFix term-scroll-to-bottom-on-output :type
Mauro Aranda [Mon, 18 Sep 2023 12:19:04 +0000 (09:19 -0300)]
Fix term-scroll-to-bottom-on-output :type

* lisp/term.el (term-scroll-to-bottom-on-output): Add missing choices.
Don't advertise the value 'all' in docstring.  (Bug#66071)

13 months ago; Normalize GNU ELPA :core package statements
Stefan Kangas [Fri, 29 Sep 2023 12:33:54 +0000 (14:33 +0200)]
; Normalize GNU ELPA :core package statements

* lisp/emacs-lisp/let-alist.el:
* lisp/progmodes/project.el: Normalize GNU ELPA :core package
statement.

13 months ago; * doc/emacs/custom.texi (Early Init File): Improve indexing.
Eli Zaretskii [Sat, 30 Sep 2023 19:25:13 +0000 (22:25 +0300)]
; * doc/emacs/custom.texi (Early Init File): Improve indexing.

13 months ago; Silence macOS 14 warning
Eshel Yaron [Wed, 27 Sep 2023 18:46:26 +0000 (20:46 +0200)]
; Silence macOS 14 warning

* src/nsterm.m: Implement 'applicationSupportsSecureRestorableState'
to silence warning on macOS 14.  (Bug#66245)

13 months ago; * lisp/vc/vc.el (vc-next-action): Improve commentary.
Eli Zaretskii [Fri, 29 Sep 2023 07:08:04 +0000 (10:08 +0300)]
; * lisp/vc/vc.el (vc-next-action): Improve commentary.

13 months ago; * lisp/emacs-lisp/let-alist.el (let-alist): Fix quoting in doc string.
Eli Zaretskii [Fri, 29 Sep 2023 05:41:42 +0000 (08:41 +0300)]
; * lisp/emacs-lisp/let-alist.el (let-alist): Fix quoting in doc string.

13 months agoDoc fix in let-alist for keys with nil value
Stefan Kangas [Tue, 26 Sep 2023 16:13:00 +0000 (18:13 +0200)]
Doc fix in let-alist for keys with nil value

* lisp/emacs-lisp/let-alist.el (let-alist): Clarify that keys with a
nil value will give the same result as if they were missing.

13 months ago; Fix typos
Stefan Kangas [Tue, 26 Sep 2023 11:50:15 +0000 (13:50 +0200)]
; Fix typos

13 months agoFix tramp-test.el (don't merge with master)
Michael Albinus [Thu, 28 Sep 2023 07:56:13 +0000 (09:56 +0200)]
Fix tramp-test.el (don't merge with master)

* test/lisp/net/tramp-tests.el (tramp--test-check-files):
Don't err out when "printenv" doesn't exist on remote side.

13 months agoImprove Emacs 30 compatibility in tramp-tests.el (don't merge)
Michael Albinus [Mon, 25 Sep 2023 10:59:52 +0000 (12:59 +0200)]
Improve Emacs 30 compatibility in tramp-tests.el (don't merge)

* test/lisp/net/tramp-tests.el (tramp--test-deftest-direct-async-process)
(tramp-test30-make-process): Improve Emacs 30 compatibility.

13 months agoAdd new Tramp test
Michael Albinus [Mon, 25 Sep 2023 10:48:32 +0000 (12:48 +0200)]
Add new Tramp test

* test/lisp/net/tramp-tests.el (tramp-test46-read-password):
Use `copy-tree' but `copy-sequence'.
(tramp-test46-read-otp-password): New test.

13 months agoFix tmm-mid-prompt :type (Bug#66179)
Mauro Aranda [Sun, 24 Sep 2023 12:31:01 +0000 (09:31 -0300)]
Fix tmm-mid-prompt :type (Bug#66179)

* lisp/tmm.el (tmm-mid-prompt): Allow nil.

13 months agoFix tree-sitter indentation conflict with multiple languages
Augustin Chéneau [Wed, 20 Sep 2023 10:23:22 +0000 (12:23 +0200)]
Fix tree-sitter indentation conflict with multiple languages

* lisp/treesit.el (treesit--indent-1): Use bol instead of point.

Copyright-paperwork-exempt: yes

13 months agoFix bug#66093 in Tramp
Michael Albinus [Sun, 24 Sep 2023 15:15:05 +0000 (17:15 +0200)]
Fix bug#66093 in Tramp

* lisp/net/tramp-sshfs.el (tramp-methods): Use "%a".
(tramp-sshfs-handle-process-file): Replace ?a by "-t".

* lisp/net/tramp.el (tramp-methods): Adapt docstring.  (Bug#66093)
(tramp-handle-make-process): Replace ?a by "-t" if indicated.

13 months agoSupport regeneration of ja-dic.el under '--with-small-ja-dic'
Eli Zaretskii [Sun, 24 Sep 2023 12:30:01 +0000 (15:30 +0300)]
Support regeneration of ja-dic.el under '--with-small-ja-dic'

* lisp/international/ja-dic-cnv.el (skkdic-convert): Record the
value of SMALL_JA_DIC option used to produce ja-dic.el.
* leim/Makefile.in (small-ja-dic-option): New target, triggers
regeneration of ja-dic.el when the value of SMALL_JA_DIC option
changes by the configure script.  Suggested by Ulrich Mueller
<ulm@gentoo.org>.
(${leimdir}/ja-dic/ja-dic.el): Depend on 'small-ja-dic-option'.
(Bug#66125)

* make-dist (possibly_non_vc_files):
* .gitignore: Add 'leim/small-ja-dic-option'.

13 months ago; Handle authentication properly when reconnecting to IRC
Manphiz [Fri, 15 Sep 2023 07:51:57 +0000 (09:51 +0200)]
; Handle authentication properly when reconnecting to IRC

* lisp/net/rcirc.el (rcirc-reconnect): Set 'rcirc-user-authenticated'
to nil before reconnecting.  (Bug#65882)

13 months ago; * lisp/simple.el (shell-command-to-string): Fix quotation.
Eli Zaretskii [Sat, 23 Sep 2023 06:09:03 +0000 (09:09 +0300)]
; * lisp/simple.el (shell-command-to-string): Fix quotation.

13 months agoImprove remote-file-name-inhibit-cache :type
Basil L. Contovounesios [Fri, 22 Sep 2023 09:27:29 +0000 (11:27 +0200)]
Improve remote-file-name-inhibit-cache :type

* lisp/files.el (remote-file-name-inhibit-cache)
(shell-highlight-undef-remote-file-name-inhibit-cache): Avoid
duplicated :tag string.  Try to clarify wording and
formatting (bug#66150).
* lisp/shell.el (shell--highlight-undef-exec-cache): Reference
correct user option in docstring.

13 months agoEnsure bind-key is its own package
Stefan Kangas [Fri, 22 Sep 2023 09:19:07 +0000 (11:19 +0200)]
Ensure bind-key is its own package

* lisp/finder.el (finder--builtins-alist): Remove "use-package"
directory.
* lisp/use-package/bind-key.el: Declare library as part of the
'bind-key' package.
* lisp/use-package/use-package-bind-key.el:
* lisp/use-package/use-package-core.el:
* lisp/use-package/use-package-delight.el:
* lisp/use-package/use-package-diminish.el:
* lisp/use-package/use-package-ensure-system-package.el:
* lisp/use-package/use-package-ensure.el:
* lisp/use-package/use-package-jump.el:
* lisp/use-package/use-package-lint.el: Declare library as part of the
'use-package' package.  (Bug#62751)

Do not merge to master.

13 months ago* lisp/net/tramp.el (tramp-skeleton-write-region): Fix missing comma.
Michael Albinus [Thu, 21 Sep 2023 07:21:20 +0000 (09:21 +0200)]
* lisp/net/tramp.el (tramp-skeleton-write-region): Fix missing comma.

(Bug#66123)

13 months agoMerge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29
Eli Zaretskii [Tue, 19 Sep 2023 12:10:58 +0000 (15:10 +0300)]
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29