1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

166051 commits

Author SHA1 Message Date
Eli Zaretskii
2eb85a9de1 ; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Another doc fix. 2024-02-20 19:15:38 +02:00
Eli Zaretskii
4c6653f23a ; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Doc fix. 2024-02-20 15:44:13 +02:00
Dmitry Gutov
5a64d2c759 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.
2024-02-17 22:35:16 +02:00
Philip Kaludercic
9e56bd5ed8 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.
2024-02-17 19:47:29 +01:00
Ihor Radchenko
e56f0ef51b 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
2024-02-17 19:31:28 +02:00
Eli Zaretskii
65ba327465 Revert "Update to Org 9.6.19"
This reverts commit 07a392f445.
It was installed by mistake.
2024-02-17 18:53:05 +02:00
Kyle Meyer
07a392f445 Update to Org 9.6.19 2024-02-17 10:17:41 -05:00
Philipp Stephani
45f9af61b8 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.
2024-02-16 02:26:22 +01:00
Stefan Kangas
7256690a3c * BUGS: Note how to report critical security issues. 2024-02-15 00:57:08 +01:00
Stefan Kangas
1035669b38 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.
2024-02-15 00:44:55 +01:00
Joseph Turner
61a1450762 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)
2024-02-14 17:51:59 +01:00
Michael Albinus
0c7c8210cb Minor Tramp doc adaption
* doc/misc/tramp.texi (Frequently Asked Questions): Be more
precise with FIDO2 keys.

* lisp/net/tramp.el: Adapt comments.
2024-02-14 17:27:43 +01:00
Michael Albinus
df243f785d Merge branch 'emacs-29' of git.sv.gnu.org:/srv/git/emacs into emacs-29 2024-02-12 13:21:53 +01:00
Daniel Martín
17a395e04c ;; Fix typo in the Tramp documentation 2024-02-12 13:21:08 +01:00
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