emacs.git
20 months agoClarify description of format-spec truncation
Basil L. Contovounesios [Sun, 17 Mar 2024 12:04:32 +0000 (13:04 +0100)]
Clarify description of format-spec truncation

* doc/lispref/strings.texi (Custom Format Strings): Mention that
precision specifier affects both '<' and '>' truncation (bug#69822).
* lisp/format-spec.el (format-spec, format-spec--do-flags): Use same
terminology as 'format', especially when referring to its behavior.

20 months agoMore accurate documentation of 'rmail-mail-new-frame'
Eli Zaretskii [Thu, 21 Mar 2024 08:55:59 +0000 (10:55 +0200)]
More accurate documentation of 'rmail-mail-new-frame'

* doc/emacs/rmail.texi (Rmail Reply): More accurate documentation
of the effects of 'rmail-mail-new-frame'.  (Bug#69738)

20 months ago; * lisp/calendar/calendar.el: Remove extra space.
Juri Linkov [Thu, 21 Mar 2024 07:49:34 +0000 (09:49 +0200)]
; * lisp/calendar/calendar.el: Remove extra space.

20 months agoFix documentation of M-SPC in user manual
Eli Zaretskii [Wed, 20 Mar 2024 12:45:24 +0000 (14:45 +0200)]
Fix documentation of M-SPC in user manual

* doc/emacs/killing.texi (Deletion): Fix documentation of
'cycle-spacing'.  (Bug#69905)

20 months ago; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker.
Robert Pluim [Wed, 20 Mar 2024 08:33:37 +0000 (09:33 +0100)]
; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker.

21 months ago* admin/notes/bugtracker: Minor copyedit.
Michael Albinus [Sun, 17 Mar 2024 12:25:35 +0000 (13:25 +0100)]
* admin/notes/bugtracker: Minor copyedit.

21 months ago; * admin/notes/bugtracker: Minor copyedit.
Eli Zaretskii [Sun, 17 Mar 2024 08:47:41 +0000 (10:47 +0200)]
; * admin/notes/bugtracker: Minor copyedit.

21 months agoTweak regexp for object initializers in csharp-mode (bug#69571)
Theodor Thornhill [Sat, 16 Mar 2024 19:28:10 +0000 (20:28 +0100)]
Tweak regexp for object initializers in csharp-mode (bug#69571)

* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Add
handling to not consider ended statements as object init openers.
* test/lisp/progmodes/csharp-mode-resources/indent.erts: New test
resources.
* test/lisp/progmodes/csharp-mode-tests.el: Add test for this particular
issue.

21 months ago`term-mode': mention the keymap to add keybindings to
Konstantin Kharlamov [Sat, 16 Mar 2024 10:24:34 +0000 (13:24 +0300)]
`term-mode': mention the keymap to add keybindings to

A user typically expects a keymap for mode `foo' to be called
`foo-mode-map'.  term-mode has `term-mode-map' too, but for
user-defined bindings to have effect they have to be put to
`term-raw-map' instead.  So let's mention that.
* lisp/term.el (term-mode) (term-mode-map) (term-raw-map): Mention
the keymaps to add keybindings to for `term-mode'.  (Bug#69786)

21 months agoFix 'shortdoc-copy-function-as-kill'
Eli Zaretskii [Sat, 16 Mar 2024 11:07:52 +0000 (13:07 +0200)]
Fix 'shortdoc-copy-function-as-kill'

* lisp/emacs-lisp/shortdoc.el (shortdoc-copy-function-as-kill):
Fix handling of functions with no arguments.  (Bug#69720)

21 months agoImprove documentation of 'edebug-print-*' variables
Eli Zaretskii [Sat, 16 Mar 2024 10:42:16 +0000 (12:42 +0200)]
Improve documentation of 'edebug-print-*' variables

* lisp/emacs-lisp/edebug.el (edebug-print-length)
(edebug-print-level): Fix doc strings and customization labels.
Suggested by Matt Trzcinski <matt@excalamus.com>.  (Bug#69745)

21 months ago; Fix 'usage:' keyword in Ffile_name_concat doc.
Basil L. Contovounesios [Fri, 15 Mar 2024 23:19:43 +0000 (00:19 +0100)]
; Fix 'usage:' keyword in Ffile_name_concat doc.

21 months ago; * CONTRIBUTE: Ask not to use non-ASCII unless necessary.
Eli Zaretskii [Fri, 15 Mar 2024 11:29:31 +0000 (13:29 +0200)]
; * CONTRIBUTE: Ask not to use non-ASCII unless necessary.

21 months ago; * src/lread.c (maybe_swap_for_eln): Clarify warning message.
Eli Zaretskii [Thu, 14 Mar 2024 19:08:36 +0000 (21:08 +0200)]
; * src/lread.c (maybe_swap_for_eln): Clarify warning message.

21 months ago; Fix bibtex-biblatex-field-alist docstring typo.
Basil L. Contovounesios [Tue, 12 Mar 2024 21:47:45 +0000 (22:47 +0100)]
; Fix bibtex-biblatex-field-alist docstring typo.

21 months ago; * doc/lispref/control.texi (Conditionals): Add missing paren (bug#69742).
Arash Esbati [Tue, 12 Mar 2024 11:53:32 +0000 (12:53 +0100)]
; * doc/lispref/control.texi (Conditionals): Add missing paren (bug#69742).

21 months agoFix 'with-sqlite-transaction'
F. Jason Park [Mon, 11 Mar 2024 03:13:42 +0000 (20:13 -0700)]
Fix 'with-sqlite-transaction'

* lisp/sqlite.el (with-sqlite-transaction): Tuck misplaced body
of else form back into feature-test control structure whence it
escaped.  (Bug#67142)

* test/lisp/sqlite-tests.el: New file to accompany
test/src/sqlite-tests.el.

21 months ago; * doc/emacs/files.texi (Image Mode): Fix typo (bug#69671).
Eli Zaretskii [Sat, 9 Mar 2024 09:40:27 +0000 (11:40 +0200)]
; * doc/emacs/files.texi (Image Mode): Fix typo (bug#69671).

21 months ago; Improve documentation of 'minibuffer-allow-text-properties'
Eli Zaretskii [Fri, 8 Mar 2024 13:06:37 +0000 (15:06 +0200)]
; Improve documentation of 'minibuffer-allow-text-properties'

* doc/lispref/minibuf.texi (Text from Minibuffer): Document the
default value of 'minibuffer-allow-text-properties'.

21 months ago; Improve documentation of image properties
Eli Zaretskii [Thu, 7 Mar 2024 08:11:44 +0000 (10:11 +0200)]
; Improve documentation of image properties

* lisp/image.el (create-image, image-property): Add to do strings
link to description of image properties in ELisp manual.

* doc/lispref/display.texi (Defining Images): Fix example and add
cross-reference to where image properties are described.
(Image Descriptors): Add index entry.

21 months ago; * src/composite.c (composition_compute_stop_pos): Add comment.
Eli Zaretskii [Mon, 4 Mar 2024 15:09:29 +0000 (17:09 +0200)]
; * src/composite.c (composition_compute_stop_pos): Add comment.

21 months ago; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
Eli Zaretskii [Fri, 1 Mar 2024 08:32:32 +0000 (10:32 +0200)]
; * src/buffer.c (Fmake_indirect_buffer): Doc fix.

21 months agoFix typos in vnvni.el.
Dan Jacobson [Fri, 1 Mar 2024 04:44:44 +0000 (12:44 +0800)]
Fix typos in vnvni.el.

* lisp/leim/quail/vnvni.el ("vietnamese-vni"): Fix typos.  (Bug#69485)

Copyright-paperwork-exempt: yes

21 months ago; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.
Eli Zaretskii [Tue, 27 Feb 2024 13:11:58 +0000 (15:11 +0200)]
; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.

21 months agoAvoid assertion violations in bidi.c
Eli Zaretskii [Tue, 27 Feb 2024 11:12:15 +0000 (13:12 +0200)]
Avoid assertion violations in bidi.c

* src/bidi.c (bidi_resolve_brackets): Move assertion about
'resolved_level' to where it belongs.  This avoids unnecessary
aborts when the character is not a bracket type and doesn't need
BPA resolution.  (Bug#69421)

21 months ago* lisp/files.el (hack-one-local-variable): Use `set-auto-mode-0`
Stefan Monnier [Sun, 25 Feb 2024 16:35:44 +0000 (11:35 -0500)]
* lisp/files.el (hack-one-local-variable): Use `set-auto-mode-0`

This fixes bug#69373.

21 months agoFix infinite recursion in gdb-mi.el
Eli Zaretskii [Sat, 24 Feb 2024 13:12:57 +0000 (15:12 +0200)]
Fix infinite recursion in gdb-mi.el

* lisp/progmodes/gdb-mi.el: (gdb-clear-partial-output)
(gdb-clear-inferior-io):  Set inhibit-read-only, to avoid
signaling errors in process filter.  (Bug#69327)

21 months agoFix 'help-quick-toggle'
Eli Zaretskii [Sat, 24 Feb 2024 09:59:30 +0000 (11:59 +0200)]
Fix 'help-quick-toggle'

* lisp/help.el (help-quick-sections): Fix "kill-region" command.
Add a doc string.  (Bug#69345)

21 months ago; * admin/authors.el (authors-aliases): Fix last change.
Eli Zaretskii [Sat, 24 Feb 2024 07:32:06 +0000 (09:32 +0200)]
; * admin/authors.el (authors-aliases): Fix last change.

21 months ago; Normalize Morgan Smith's attributions.
Morgan Smith [Sat, 24 Feb 2024 00:03:13 +0000 (19:03 -0500)]
; Normalize Morgan Smith's attributions.

21 months ago; * etc/PROBLEMS: Describe input lags due to GTK IM (bug#69246).
Eli Zaretskii [Thu, 22 Feb 2024 13:15:53 +0000 (15:15 +0200)]
; * etc/PROBLEMS: Describe input lags due to GTK IM (bug#69246).

21 months ago* doc/lispref/modes.texi (Tabulated List Mode): Update.
Juri Linkov [Wed, 21 Feb 2024 17:43:28 +0000 (19:43 +0200)]
* doc/lispref/modes.texi (Tabulated List Mode): Update.

In the description of 'tabulated-list-format' document
the missing value 'props' that was added long ago.

21 months ago* lisp/net/tramp.el (tramp-methods): Fix typo in docstring. (Bug#69294)
Michael Albinus [Wed, 21 Feb 2024 08:02:33 +0000 (09:02 +0100)]
* lisp/net/tramp.el (tramp-methods): Fix typo in docstring.  (Bug#69294)

21 months ago; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Another doc fix.
Eli Zaretskii [Tue, 20 Feb 2024 17:15:38 +0000 (19:15 +0200)]
; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Another doc fix.

21 months ago; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Doc fix.
Eli Zaretskii [Tue, 20 Feb 2024 13:44:13 +0000 (15:44 +0200)]
; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Doc fix.

21 months agojava-ts-mode: Indentation for opening brace on a separate line
Dmitry Gutov [Sat, 17 Feb 2024 20:34:55 +0000 (22:34 +0200)]
java-ts-mode: Indentation for opening brace on a separate line

* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules):
Support putting the opening brace on a separate line (bug#67556).

* test/lisp/progmodes/java-ts-mode-resources/indent.erts:
Add a test.

21 months agoRemoved decommissioned PGP keyservers
Philip Kaludercic [Sun, 11 Feb 2024 17:38:13 +0000 (18:38 +0100)]
Removed decommissioned PGP keyservers

* lisp/epa-ks.el (epa-keyserver): Update the user option type of
`epa-keyserver'.

See https://mail.gnu.org/archive/html/emacs-devel/2023-11/msg00857.html.

21 months agoorg: Fix security prompt for downloading remote resource
Ihor Radchenko [Fri, 2 Feb 2024 19:59:41 +0000 (20:59 +0100)]
org: Fix security prompt for downloading remote resource

* lisp/org.el (org--confirm-resource-safe): Do not assume that
resource is safe when user replies "n" (do not download).

Reported-by: Max Nikulin <manikulin@gmail.com>
Link: https://orgmode.org/list/upj6uk$b7o$1@ciao.gmane.io
21 months agoRevert "Update to Org 9.6.19"
Eli Zaretskii [Sat, 17 Feb 2024 16:53:05 +0000 (18:53 +0200)]
Revert "Update to Org 9.6.19"

This reverts commit 07a392f445eb21c5e4681027eee9d981300a4309.
It was installed by mistake.

21 months agoUpdate to Org 9.6.19
Kyle Meyer [Sat, 17 Feb 2024 15:17:41 +0000 (10:17 -0500)]
Update to Org 9.6.19

22 months agoRemove references to phst@google.com.
Philipp Stephani [Mon, 8 Jan 2024 18:38:33 +0000 (19:38 +0100)]
Remove references to phst@google.com.

I don't work for Google any more, so I'll use my private address going
forward.

* .mailmap: Remove references to phst@google.com.

22 months ago* BUGS: Note how to report critical security issues.
Stefan Kangas [Wed, 14 Feb 2024 23:51:05 +0000 (00:51 +0100)]
* BUGS: Note how to report critical security issues.

22 months agoAdd cross-reference to ELisp manual Caveats
Stefan Kangas [Wed, 14 Feb 2024 23:39:00 +0000 (00:39 +0100)]
Add cross-reference to ELisp manual Caveats

* doc/lispref/intro.texi (Caveats): Add cross-reference to Emacs manual.
Talking about "contributing code" makes little sense in a section about
reporting mistakes in the ELisp manual, so skip that part.

22 months agoImprove directory prompt used by package-vc-checkout
Joseph Turner [Tue, 30 Jan 2024 08:52:39 +0000 (00:52 -0800)]
Improve directory prompt used by package-vc-checkout

* lisp/emacs-lisp/package-vc.el (package-vc--read-package-name): Use
read-directory-name instead of read-file-name.  (Bug#66114)

22 months agoMinor Tramp doc adaption
Michael Albinus [Wed, 14 Feb 2024 16:27:43 +0000 (17:27 +0100)]
Minor Tramp doc adaption

* doc/misc/tramp.texi (Frequently Asked Questions): Be more
precise with FIDO2 keys.

* lisp/net/tramp.el: Adapt comments.

22 months agoMerge branch 'emacs-29' of git.sv.gnu.org:/srv/git/emacs into emacs-29
Michael Albinus [Mon, 12 Feb 2024 12:21:53 +0000 (13:21 +0100)]
Merge branch 'emacs-29' of git.sv.gnu.org:/srv/git/emacs into emacs-29

22 months ago;; Fix typo in the Tramp documentation
Daniel Martín [Mon, 12 Feb 2024 12:21:08 +0000 (13:21 +0100)]
;; Fix typo in the Tramp documentation

22 months ago* Improve reproducibility of inferred values by native comp
Andrea Corallo [Sun, 11 Feb 2024 09:43:57 +0000 (10:43 +0100)]
* Improve reproducibility of inferred values by native comp

* lisp/emacs-lisp/comp-cstr.el (comp-normalize-valset): Do not try to
reorder conses using 'sxhash-equal' as its behavior is not reproducible
over different sessions.

22 months agoHandle typescript ts grammar breaking change for function_expression
Loïc Lemaître [Sun, 11 Feb 2024 03:00:38 +0000 (05:00 +0200)]
Handle typescript ts grammar breaking change for function_expression

Starting from version 0.20.4 of the typescript/tsx grammar, "function"
becomes "function_expression". The right expression is used depending
on the grammar version.

* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--font-lock-compatibility-function-expression):
New function (bug#69024).
(typescript-ts-mode--font-lock-settings): Use it.

Copyright-paperwork-exempt: yes

22 months agoDon't quote 't' in doc strings
Eli Zaretskii [Sat, 10 Feb 2024 11:00:51 +0000 (13:00 +0200)]
Don't quote 't' in doc strings

* lisp/outline.el (outline-minor-mode-use-buttons): Doc fix.
Patch by Arash Esbati <arash@gnu.org>.  (Bug#69012)

22 months agoTramp: Handle PIN requests from security keys (don't merge)
Michael Albinus [Fri, 9 Feb 2024 10:05:14 +0000 (11:05 +0100)]
Tramp: Handle PIN requests from security keys (don't merge)

* doc/misc/tramp.texi (Frequently Asked Questions): Clarify FIDO entry.

* lisp/net/tramp-sh.el (tramp-actions-before-shell)
(tramp-actions-copy-out-of-band):
Use `tramp-security-key-pin-regexp'.

* lisp/net/tramp.el (tramp-security-key-pin-regexp): New defcustom.
(tramp-action-otp-password, tramp-read-passwd): Trim password prompt.
(tramp-action-show-and-confirm-message): Expand for PIN requests.

22 months ago; Mention defface's and their :version tags in CONTRIBUTE.
Eli Zaretskii [Fri, 9 Feb 2024 06:49:55 +0000 (08:49 +0200)]
; Mention defface's and their :version tags in CONTRIBUTE.

22 months ago* admin/notes/kind-communication: New file.
Stefan Kangas [Thu, 8 Feb 2024 21:19:40 +0000 (22:19 +0100)]
* admin/notes/kind-communication: New file.

22 months ago; And another fix of CONTRIBUTE.
Eli Zaretskii [Thu, 8 Feb 2024 20:28:08 +0000 (22:28 +0200)]
; And another fix of CONTRIBUTE.

22 months ago; Another clarification in CONTRIBUTE.
Eli Zaretskii [Thu, 8 Feb 2024 19:26:36 +0000 (21:26 +0200)]
; Another clarification in CONTRIBUTE.

22 months ago; Clarify "ChangeLog entries" in CONTRIBUTE.
Eli Zaretskii [Thu, 8 Feb 2024 19:07:10 +0000 (21:07 +0200)]
; Clarify "ChangeLog entries" in CONTRIBUTE.

22 months agoDon't skip links to "." and ".." in Dired when marking files
Eli Zaretskii [Thu, 8 Feb 2024 11:51:55 +0000 (13:51 +0200)]
Don't skip links to "." and ".." in Dired when marking files

* lisp/dired.el (dired-mark): Skip "." and "..", but not symlinks
to those two.  (Bug#38729)  (Bug#68814)

22 months agoPass unquoted filename to user-supplied MUSTMATCH predicate
Joseph Turner [Wed, 31 Jan 2024 06:08:50 +0000 (22:08 -0800)]
Pass unquoted filename to user-supplied MUSTMATCH predicate

* lisp/minibuffer.el (read-file-name-default): Pass REQUIRE-MATCH
argument through substitute-in-file-name.
* lisp/minibuffer.el (read-file-name): Update docstring.

Resolves bug#68815.

22 months ago* doc/lispref/parsing.texi (Retrieving Nodes): Improve documentation.
Juri Linkov [Sun, 4 Feb 2024 17:22:21 +0000 (19:22 +0200)]
* doc/lispref/parsing.texi (Retrieving Nodes): Improve documentation.

Update optional arguments 'predicate' and 'include-node'
of 'treesit-node-top-level'.

22 months ago; * etc/PROBLEMS: Workaround for Windows key "stuck" (bug#68914).
Eli Zaretskii [Sun, 4 Feb 2024 14:11:20 +0000 (16:11 +0200)]
; * etc/PROBLEMS: Workaround for Windows key "stuck" (bug#68914).

22 months ago; Fix last change
Eli Zaretskii [Sat, 3 Feb 2024 09:20:11 +0000 (11:20 +0200)]
; Fix last change

* lisp/progmodes/js.el
(js--treesit-font-lock-compatibility-definition-feature): Fix
comments.

22 months agoFix incompatibility with tree-sitter-javascript >= 0.20.2
Vincenzo Pupillo [Thu, 1 Feb 2024 15:57:39 +0000 (16:57 +0100)]
Fix incompatibility with tree-sitter-javascript >= 0.20.2

Starting from version 0.20.2 the grammar's primary expression
"function" has been renamed to "function_expression".  A new
function checks if the new primary expression is available,
and if so, it returns the correct rules.
* lisp/progmodes/js.el
(js--treesit-font-lock-compatibility-definition-feature): New
function.
(js--treesit-font-lock-settings): Use it.  (Bug#68879)

22 months agoAvoid signaling errors from 'pixel-fill-region'
Eli Zaretskii [Sat, 3 Feb 2024 09:09:36 +0000 (11:09 +0200)]
Avoid signaling errors from 'pixel-fill-region'

* lisp/textmodes/pixel-fill.el (pixel-fill-region): Make sure the
selected window displays the current buffer.  This is important
when this function is called inside 'with-current-buffer' or
similar forms which temporarily change the buffer displayed in the
selected window.  (Bug#67791)

22 months agoeglot: Add nushell language server
nibon7 [Wed, 17 Jan 2024 16:01:48 +0000 (00:01 +0800)]
eglot: Add nushell language server

* lisp/progmodes/eglot.el (eglot-server-programs): Add nushell
language server.  (Bug#68823)

22 months agoeglot: Add php-ts-mode to eglot-server-programs
Piotr Kwiecinski [Thu, 1 Feb 2024 13:02:20 +0000 (14:02 +0100)]
eglot: Add php-ts-mode to eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Add
php-ts-mode.  (Bug#68870)

Copyright-paperwork-exempt: yes

22 months agoSupport kotlin-ts-mode in Eglot
dalu [Thu, 1 Feb 2024 03:45:13 +0000 (11:45 +0800)]
Support kotlin-ts-mode in Eglot

* lisp/progmodes/eglot.el (eglot-server-programs): Support
kotlin-ts-mode.  (Bug#68865)

Copyright-paperwork-exempt: yes

22 months agoFix stale cache in Tramp (do not merge with master)
Michael Albinus [Thu, 1 Feb 2024 16:17:36 +0000 (17:17 +0100)]
Fix stale cache in Tramp  (do not merge with master)

* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Flush file properties when needed.  (Bug#68805)

22 months ago* configure.ac: Include X11/Xlib.h for XOpenDisplay. (Bug#68842)
Ulrich Müller [Wed, 31 Jan 2024 07:49:36 +0000 (08:49 +0100)]
* configure.ac: Include X11/Xlib.h for XOpenDisplay.  (Bug#68842)

Do not merge to master.

22 months agoImprove `desktop-save-mode` docstring
Stefan Kangas [Thu, 1 Feb 2024 08:08:19 +0000 (09:08 +0100)]
Improve `desktop-save-mode` docstring

* lisp/desktop.el (desktop-save-mode): Improve docstring.

22 months ago; Fix doc strings of splash-screen data structures
Eli Zaretskii [Mon, 29 Jan 2024 12:56:40 +0000 (14:56 +0200)]
; Fix doc strings of splash-screen data structures

* lisp/startup.el (fancy-startup-text, fancy-about-text): Doc
fixes.  (Bug#68788)

22 months agoFix completing-read functional REQUIRE-MATCH behavior
Joseph Turner [Sun, 12 Nov 2023 21:21:50 +0000 (13:21 -0800)]
Fix completing-read functional REQUIRE-MATCH behavior

* lisp/minibuffer.el (completion--complete-and-exit): If
minibuffer-completion-confirm is a function which returns nil,
immediately fail to complete.

See bug#66187.

22 months agoFix "emacs -nw" on MS-Windows
Eli Zaretskii [Sun, 28 Jan 2024 08:19:48 +0000 (10:19 +0200)]
Fix "emacs -nw" on MS-Windows

* src/w32term.c (w32_flip_buffers_if_dirty): Do nothing if F is
not a GUI frame.  This avoids rare crashes in "emacs -nw".
* src/w32console.c (initialize_w32_display): Set the
ENABLE_EXTENDED_FLAGS bit in 'prev_console_mode'.

(cherry picked from commit e1970c99f097715fc5bb3b88154799bfe13de90f)

22 months ago; Fix last change in package.texi
Eli Zaretskii [Sun, 28 Jan 2024 05:43:25 +0000 (07:43 +0200)]
; Fix last change in package.texi

* doc/lispref/package.texi (Multi-file Packages): Fix wording and
markup.  (Bug#65027)

(cherry picked from commit 6d76e3991241905b0841effc6f8cd42394d9aa64)

22 months agoHandle wrong login program in Tramp
Michael Albinus [Sun, 28 Jan 2024 09:31:45 +0000 (10:31 +0100)]
Handle wrong login program in Tramp

* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Exit remote
shell when login fails.

22 months ago* doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore".
Jim Porter [Thu, 3 Aug 2023 04:51:18 +0000 (21:51 -0700)]
* doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore".

(cherry picked from commit 744a10a4d722a361bc21561b4162045e4ec97ed6)

22 months agoAvoid signaling errors in emoji.el on empty input
Eshel Yaron [Sat, 27 Jan 2024 13:01:47 +0000 (14:01 +0100)]
Avoid signaling errors in emoji.el on empty input

* lisp/international/emoji.el (emoji--read-emoji):  Signal
user-error on empty input.  (Bug#68671)

Do not merge to master.

22 months agoFix description of when "\xNNN" is considered a unibyte character
Eli Zaretskii [Sat, 27 Jan 2024 08:11:32 +0000 (10:11 +0200)]
Fix description of when "\xNNN" is considered a unibyte character

* doc/lispref/objects.texi (Non-ASCII in Strings): More accurate
description of when a hexadecimal escape sequence yields a unibyte
character.  (Bug#68751)

22 months agoSimplify imenu setup for {cmake,dockerfile}-ts-modes
Randy Taylor [Thu, 25 Jan 2024 02:39:45 +0000 (21:39 -0500)]
Simplify imenu setup for {cmake,dockerfile}-ts-modes

* lisp/progmodes/cmake-ts-mode.el (treesit-induce-sparse-tree,
treesit-node-child, treesit-node-start, cmake-ts-mode--imenu,
cmake-ts-mode--imenu-1): Remove.
(treesit-search-subtree): Declare.
(cmake-ts-mode--function-name): New function.
(cmake-ts-mode): Use it.

* lisp/progmodes/dockerfile-ts-mode.el (treesit-induce-sparse-tree,
treesit-node-start, dockerfile-ts-mode--imenu,
dockerfile-ts-mode--imenu-1): Remove.
(dockerfile-ts-mode--stage-name): New function.
(dockerfile-ts-mode): Use it.

22 months ago; * etc/PROBLEMS: Document that GnuPG 2.4.4 solves the EasyPG hangs.
Eli Zaretskii [Fri, 26 Jan 2024 19:05:43 +0000 (21:05 +0200)]
; * etc/PROBLEMS: Document that GnuPG 2.4.4 solves the EasyPG hangs.

22 months agoImprove documentation of profiler commands
Eli Zaretskii [Wed, 24 Jan 2024 19:34:16 +0000 (21:34 +0200)]
Improve documentation of profiler commands

* doc/lispref/debugging.texi (Profiling): Document more commands.
Improve indexing.  (Bug#68693)

22 months ago; Fix xref under Output Overrides in Elisp manual.
Basil L. Contovounesios [Wed, 20 Dec 2023 12:42:53 +0000 (13:42 +0100)]
; Fix xref under Output Overrides in Elisp manual.

22 months agoFix broken links to Freedesktop notifications spec
Basil L. Contovounesios [Wed, 20 Dec 2023 12:40:47 +0000 (13:40 +0100)]
Fix broken links to Freedesktop notifications spec

* doc/lispref/os.texi (Desktop Notifications):
* lisp/notifications.el: Replace broken developer.gnome.org links
with specifications.freedesktop.org (bug#67939).

22 months agoFix nasty cut'n'waste error in Tramp
Michael Albinus [Mon, 22 Jan 2024 09:08:45 +0000 (10:08 +0100)]
Fix nasty cut'n'waste error in Tramp

* lisp/net/tramp.el (tramp-parse-passwd): Use `tramp-parse-passwd-group'.
Reported by Tim Landscheidt <tim@tim-landscheidt.de>.

22 months agoFix image-dired-tags-db-file void variable error
Stefan Kangas [Sun, 21 Jan 2024 13:41:27 +0000 (14:41 +0100)]
Fix image-dired-tags-db-file void variable error

* lisp/image/image-dired-tags.el (image-dired-sane-db-file):
Require 'image-dired'.  (Bug#68636)

22 months agotypescript-ts-mode: Skip test if tsx grammar missing
Matthew Smith [Sat, 20 Jan 2024 09:45:31 +0000 (09:45 +0000)]
typescript-ts-mode: Skip test if tsx grammar missing

typescript-ts-mode-test-indentation depends on both the tree-sitter
typescript grammar, and the tree-sitter tsx grammar.  If only the
typescript is installed, the tests will run and then fail unexpectedly
after tsx fails to load.

* test/lisp/progmodes/typescript-ts-mode-tests.el
(typescript-ts-mode-test-indentation): Skip test if tsx grammar is
missing.

Copyright-paperwork-exempt: yes

22 months ago; Fix typos
Stefan Kangas [Sat, 20 Jan 2024 20:08:52 +0000 (21:08 +0100)]
; Fix typos

22 months ago* admin/README: Document the run-codespell script.
Stefan Kangas [Sat, 20 Jan 2024 20:03:12 +0000 (21:03 +0100)]
* admin/README: Document the run-codespell script.

22 months ago* admin/README: Fix entry on coccinelle subdirectory.
Stefan Kangas [Sat, 20 Jan 2024 20:01:11 +0000 (21:01 +0100)]
* admin/README: Fix entry on coccinelle subdirectory.

22 months agoAdd script admin/run-codespell and supporting files
Stefan Kangas [Sun, 10 Dec 2023 13:48:33 +0000 (14:48 +0100)]
Add script admin/run-codespell and supporting files

* admin/codespell/README:
* admin/codespell/codespell.dictionary:
* admin/codespell/codespell.exclude:
* admin/codespell/codespell.ignore:
* admin/codespell/codespell.rc:
* admin/run-codespell: New files.

22 months agoSync with Tramp 2.6.3-pre (don't merge with master)
Michael Albinus [Sat, 20 Jan 2024 09:45:27 +0000 (10:45 +0100)]
Sync with Tramp 2.6.3-pre (don't merge with master)

* doc/misc/tramp.texi (Obtaining @value{tramp}): Mention the ELPA
Tramp manual.
(Remote processes): Adapt index.

* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Set to "2.6.3-pre".

* lisp/net/tramp.el (tramp-local-host-regexp): Extend.  Adapt :version.
(tramp-signal-process): PROCESS can also be a string.
(tramp-skeleton-directory-files):
* lisp/net/tramp-cache.el (with-tramp-saved-file-property)
(with-tramp-saved-file-properties)
(with-tramp-saved-connection-property)
(with-tramp-saved-connection-properties): Use `setf' but `setq' in macro.

* lisp/net/tramp-compat.el (tramp-compat-funcall): Declare debug.

* lisp/net/tramp-crypt.el (tramp-crypt-file-name-p): Exclude lock files.
(tramp-crypt-file-name-handler-alist): Use `identity' for
`abbreviate-file-name'.
(tramp-crypt-add-directory, tramp-crypt-remove-directory):
Adapt docstrings.
(tramp-crypt-cleanup-connection): New defun.  Add it to
`tramp-cleanup-connection-hook'

* lisp/net/tramp.el (tramp-skeleton-file-name-all-completions):
Handle "." and "..".

* lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions):
* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions):
Remove special handling of "." an "..".

* lisp/net/tramp-sh.el (tramp-pipe-stty-settings): New defcustom.
(tramp-sh-handle-make-process): Use it.  (Bug#62093)

* test/lisp/net/tramp-tests.el (tramp-test18-file-attributes):
Adapt test.
(tramp-test31-signal-process): Extend.

22 months agoUpdate Polish translation of tutorial
Eli Zaretskii [Sat, 20 Jan 2024 07:18:27 +0000 (09:18 +0200)]
Update Polish translation of tutorial

* etc/tutorials/TUTORIAL.pl: Update text about scroll bar.  New
text by Christopher Yeleighton <giecrilj@stegny.2a.pl>.
(Bug#68599)

Copyright-paperwork-exempt: yes

22 months ago* doc/misc/gnus.texi (Summary Mail Commands): Fix command name.
Michael Albinus [Fri, 19 Jan 2024 17:21:37 +0000 (18:21 +0100)]
* doc/misc/gnus.texi (Summary Mail Commands): Fix command name.

22 months ago; * doc/misc/gnus.texi (Scoring): Typo (bug#68581).
Manuel Giraud [Fri, 19 Jan 2024 09:55:32 +0000 (10:55 +0100)]
; * doc/misc/gnus.texi (Scoring): Typo (bug#68581).

22 months ago; Delete pre-release remainder in NEWS.27
Arash Esbati [Thu, 18 Jan 2024 23:38:25 +0000 (00:38 +0100)]
; Delete pre-release remainder in NEWS.27

22 months agoBump Emacs version to 29.2.50.
Eli Zaretskii [Thu, 18 Jan 2024 10:30:52 +0000 (05:30 -0500)]
Bump Emacs version to 29.2.50.

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

22 months ago; Regenerate lisp/ldefs-boot.el and etc/AUTHORS for 29.2.
Eli Zaretskii [Thu, 18 Jan 2024 10:17:44 +0000 (05:17 -0500)]
; Regenerate lisp/ldefs-boot.el and etc/AUTHORS for 29.2.

22 months ago; Update ChangeLog.4 with latest changes.
Eli Zaretskii [Thu, 18 Jan 2024 09:43:06 +0000 (04:43 -0500)]
; Update ChangeLog.4 with latest changes.

22 months ago* Update etc/HISTORY and ChangeLog.4 for 29.2 release.
Eli Zaretskii [Thu, 18 Jan 2024 09:39:57 +0000 (04:39 -0500)]
* Update etc/HISTORY and ChangeLog.4 for 29.2 release.

22 months agoBump Emacs version to 29.2
Eli Zaretskii [Thu, 18 Jan 2024 09:29:44 +0000 (04:29 -0500)]
Bump Emacs version to 29.2

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

22 months ago; admin/authors.el (authors-aliases): Update for Emacs 29.2.
Eli Zaretskii [Thu, 18 Jan 2024 09:23:04 +0000 (04:23 -0500)]
; admin/authors.el (authors-aliases): Update for Emacs 29.2.