1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00
Commit graph

166187 commits

Author SHA1 Message Date
Andrea Corallo
614b244a7f * 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.
2024-02-11 11:15:27 +01:00
Loïc Lemaître
9f9da26e0d 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
2024-02-11 05:00:38 +02:00
Eli Zaretskii
717d8c4285 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)
2024-02-10 13:00:51 +02:00
Michael Albinus
f1e7b5230a 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.
2024-02-09 11:05:14 +01:00
Eli Zaretskii
7d3a144486 ; Mention defface's and their :version tags in CONTRIBUTE. 2024-02-09 08:49:55 +02:00
Stefan Kangas
09c53b717d * admin/notes/kind-communication: New file. 2024-02-08 22:31:54 +01:00
Eli Zaretskii
31ca4e5501 ; And another fix of CONTRIBUTE. 2024-02-08 22:28:08 +02:00
Eli Zaretskii
d65499e790 ; Another clarification in CONTRIBUTE. 2024-02-08 21:26:36 +02:00
Eli Zaretskii
571ec583d6 ; Clarify "ChangeLog entries" in CONTRIBUTE. 2024-02-08 21:07:10 +02:00
Eli Zaretskii
e268231686 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)
2024-02-08 13:51:55 +02:00
Joseph Turner
e25d11314d 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.
2024-02-06 16:05:46 -05:00
Juri Linkov
4749699370 * doc/lispref/parsing.texi (Retrieving Nodes): Improve documentation.
Update optional arguments 'predicate' and 'include-node'
of 'treesit-node-top-level'.
2024-02-04 19:22:21 +02:00
Eli Zaretskii
d0673ea0d4 ; * etc/PROBLEMS: Workaround for Windows key "stuck" (bug#68914). 2024-02-04 16:11:20 +02:00
Eli Zaretskii
b91f0ee2fc ; Fix last change
* lisp/progmodes/js.el
(js--treesit-font-lock-compatibility-definition-feature): Fix
comments.
2024-02-03 11:20:11 +02:00
Vincenzo Pupillo
2f69353e4a 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)
2024-02-03 11:14:44 +02:00
Eli Zaretskii
d49124fc14 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)
2024-02-03 11:09:36 +02:00
nibon7
a398712761 eglot: Add nushell language server
* lisp/progmodes/eglot.el (eglot-server-programs): Add nushell
language server.  (Bug#68823)
2024-02-02 08:54:25 +01:00
Piotr Kwiecinski
5f56bc1cdf 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
2024-02-02 08:51:07 +01:00
dalu
c14c978e3b Support kotlin-ts-mode in Eglot
* lisp/progmodes/eglot.el (eglot-server-programs): Support
kotlin-ts-mode.  (Bug#68865)

Copyright-paperwork-exempt: yes
2024-02-02 08:27:53 +01:00
Michael Albinus
caecbf3e8d 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)
2024-02-01 17:17:36 +01:00
Ulrich Müller
5f3b46c61e * configure.ac: Include X11/Xlib.h for XOpenDisplay. (Bug#68842)
Do not merge to master.
2024-02-01 13:29:55 +01:00
Stefan Kangas
5ce02c91bc Improve desktop-save-mode docstring
* lisp/desktop.el (desktop-save-mode): Improve docstring.
2024-02-01 09:14:27 +01:00
Eli Zaretskii
2f98b13ed0 ; Fix doc strings of splash-screen data structures
* lisp/startup.el (fancy-startup-text, fancy-about-text): Doc
fixes.  (Bug#68788)
2024-01-29 14:56:40 +02:00
Joseph Turner
77f5d4d523 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.
2024-01-28 14:18:48 -05:00
Eli Zaretskii
c22d0ae2dd 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 e1970c99f0)
2024-01-28 16:50:49 +02:00
Eli Zaretskii
396b49871a ; Fix last change in package.texi
* doc/lispref/package.texi (Multi-file Packages): Fix wording and
markup.  (Bug#65027)

(cherry picked from commit 6d76e39912)
2024-01-28 15:06:37 +01:00
Michael Albinus
e11c9f9c6e Handle wrong login program in Tramp
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Exit remote
shell when login fails.
2024-01-28 10:31:45 +01:00
Jim Porter
b2db82c5ae * doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore".
(cherry picked from commit 744a10a4d7)
2024-01-28 03:51:48 +01:00
Eshel Yaron
3c2baa1b95 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.
2024-01-27 15:45:54 +02:00
Eli Zaretskii
53481cc954 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)
2024-01-27 10:11:32 +02:00
Randy Taylor
1ef8b90ae0
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.
2024-01-26 20:41:17 -08:00
Eli Zaretskii
7338af9c98 ; * etc/PROBLEMS: Document that GnuPG 2.4.4 solves the EasyPG hangs. 2024-01-26 21:05:43 +02:00
Eli Zaretskii
5483a1df99 Improve documentation of profiler commands
* doc/lispref/debugging.texi (Profiling): Document more commands.
Improve indexing.  (Bug#68693)
2024-01-24 21:34:16 +02:00
Basil L. Contovounesios
fb4cf0ab46 ; Fix xref under Output Overrides in Elisp manual. 2024-01-23 11:39:20 +01:00
Basil L. Contovounesios
aa6c24da61 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).
2024-01-23 10:52:31 +01:00
Michael Albinus
14d68221d2 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>.
2024-01-22 10:08:45 +01:00
Stefan Kangas
51ca049608 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)
2024-01-21 14:49:04 +01:00
Matthew Smith
c450eec07f
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
2024-01-20 21:10:51 -08:00
Stefan Kangas
9841ced147 ; Fix typos 2024-01-20 21:15:35 +01:00
Stefan Kangas
557ed9c046 * admin/README: Document the run-codespell script. 2024-01-20 21:15:32 +01:00
Stefan Kangas
5701f96335 * admin/README: Fix entry on coccinelle subdirectory. 2024-01-20 21:05:51 +01:00
Stefan Kangas
1805f4bfd6 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.
2024-01-20 20:55:24 +01:00
Michael Albinus
115908469d 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.
2024-01-20 10:45:27 +01:00
Eli Zaretskii
3a541b25df 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
2024-01-20 09:18:27 +02:00
Michael Albinus
6df731431a * doc/misc/gnus.texi (Summary Mail Commands): Fix command name. 2024-01-19 18:21:37 +01:00
Manuel Giraud
409bb8eb24 ; * doc/misc/gnus.texi (Scoring): Typo (bug#68581). 2024-01-19 13:52:42 +02:00
Arash Esbati
25734dd40c ; Delete pre-release remainder in NEWS.27 2024-01-19 00:40:12 +01:00
Eli Zaretskii
4e500d9d5a 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.
2024-01-18 05:30:52 -05:00
Eli Zaretskii
ef01b634d2 ; Regenerate lisp/ldefs-boot.el and etc/AUTHORS for 29.2. 2024-01-18 05:17:44 -05:00
Eli Zaretskii
b4baf0f821 ; Update ChangeLog.4 with latest changes. 2024-01-18 04:43:06 -05:00