]> git.eshelyaron.com Git - emacs.git/log
emacs.git
3 months agoFix bug in server.el introduced by 0d7d835902df
Andrea Corallo [Thu, 25 Jul 2024 15:30:25 +0000 (17:30 +0200)]
Fix bug in server.el introduced by 0d7d835902df

0d7d835902df renamed 'server--process-filter' into
'server--process-filter-1' but updated the corresponding
'cl-return-from' tag to 'server--process-filter'.

* lisp/server.el (server--process-filter-1): Fix 'cl-return-from' tag.

(cherry picked from commit fdc133e97f6527693571472d058beb0e4fb80343)

3 months ago; * admin/MAINTAINERS: Remove Nicolas Petton.
Stefan Kangas [Thu, 25 Jul 2024 14:15:52 +0000 (16:15 +0200)]
; * admin/MAINTAINERS: Remove Nicolas Petton.

Change agreed with Nicolas Petton <nico@petton.fr>.

(cherry picked from commit af527051cd33a90321ab2bac8c0f1f7bcb0af441)

3 months agoUse timer accessors instead of aref/aset
Mattias Engdegård [Thu, 25 Jul 2024 10:37:34 +0000 (12:37 +0200)]
Use timer accessors instead of aref/aset

* lisp/emacs-lisp/timer-list.el (list-timers):
* lisp/gnus/mail-source.el (mail-source-start-idle-timer):
* lisp/play/gamegrid.el (gamegrid-set-timer):
* lisp/progmodes/vhdl-mode.el (vhdl-run-when-idle):
* lisp/simple.el (analyze-text-conversion):
* lisp/time.el (display-time-event-handler):
Use timer accessors.

(cherry picked from commit e56e4b345a25194bc7adb83523e8d886b718c9fa)

3 months agolisp/minibuffer.el (completion--sifn-requote): Fix bug#72176
Stefan Monnier [Thu, 25 Jul 2024 12:39:38 +0000 (08:39 -0400)]
lisp/minibuffer.el (completion--sifn-requote): Fix bug#72176

(cherry picked from commit 7170282a59a1981cd44f46d69a28f2c47a46884b)

3 months ago* admin/notes/spelling: Update note.
Stefan Kangas [Thu, 25 Jul 2024 10:06:21 +0000 (12:06 +0200)]
* admin/notes/spelling: Update note.

(cherry picked from commit 68906f184cba8b1fb75401917cccfe219f6826b0)

3 months agoDon't produce invalid XML with multi-line commenting style
Konstantin Kharlamov [Tue, 25 Jun 2024 09:26:12 +0000 (12:26 +0300)]
Don't produce invalid XML with multi-line commenting style

Both XML and HTML forbid double hyphens inside comments.  However,
nxml-mode was using a `!--' as a comment padding if `comment-style'
was set to any of the styles that supposed to add padding.  This infix
was auto-derived due to `comment-continue' being nil.  To fix that set
`comment-continue' explicitly.  It's unclear what padding should be
used, but from looking at other editors it seems they don't typically
add padding in XML, so let's be simple for now and just set
`comment-continue' to empty string.

* lisp/nxml/nxml-mode.el (nxml-mode): Make 'comment-continue' a
buffer-local variable set to the empty string.  (Bug#71772)

(cherry picked from commit 9eea6be5abffa91d21ea299158d5a2cd6cfb5089)

3 months ago; Skip commit b97786d9f6ec242501e8db40bb4da08f0f64d04d
Eshel Yaron [Sat, 27 Jul 2024 09:28:50 +0000 (11:28 +0200)]
; Skip commit b97786d9f6ec242501e8db40bb4da08f0f64d04d

3 months agoStandardize possessive apostrophe usage in manuals, docs, and comments
Stefan Kangas [Thu, 25 Jul 2024 01:35:04 +0000 (03:35 +0200)]
Standardize possessive apostrophe usage in manuals, docs, and comments

See the note in admin/notes/documentation.
Ref: https://lists.gnu.org/r/emacs-devel/2012-02/msg00649.html

(cherry picked from commit a79966156633ae1e49e3fef17ff7212c8f35a26f)

3 months agoDon't refer to obsolete finder group "wp"
Stefan Kangas [Wed, 24 Jul 2024 21:46:02 +0000 (23:46 +0200)]
Don't refer to obsolete finder group "wp"

* lisp/textmodes/rst.el: Don't refer to obsolete finder group "wp".

(cherry picked from commit 67faaead754c0a11bd89fdcde2533bc51b71ef0e)

3 months agominibuffer.el: Default to 'regexp' style for 'search' completions
Eshel Yaron [Sat, 27 Jul 2024 09:26:39 +0000 (11:26 +0200)]
minibuffer.el: Default to 'regexp' style for 'search' completions

3 months agoNew command 'kubed-explain'
Eshel Yaron [Sat, 27 Jul 2024 09:00:06 +0000 (11:00 +0200)]
New command 'kubed-explain'

3 months agokubed.el: Add optional per-column value-formatting function
Eshel Yaron [Fri, 26 Jul 2024 21:18:55 +0000 (23:18 +0200)]
kubed.el: Add optional per-column value-formatting function

3 months agoNew commands 'kubed{-transient}-exec'
Eshel Yaron [Fri, 26 Jul 2024 13:57:50 +0000 (15:57 +0200)]
New commands 'kubed{-transient}-exec'

3 months ago; Remove accidentally inserted text from docstring
Eshel Yaron [Fri, 26 Jul 2024 13:56:58 +0000 (15:56 +0200)]
; Remove accidentally inserted text from docstring

3 months ago* lisp/net/kubed.el (cronjob): New resource type
Eshel Yaron [Fri, 26 Jul 2024 10:24:35 +0000 (12:24 +0200)]
* lisp/net/kubed.el (cronjob): New resource type

3 months agokubed.el: Fix filtering resource definition files by kind
Eshel Yaron [Fri, 26 Jul 2024 10:23:21 +0000 (12:23 +0200)]
kubed.el: Fix filtering resource definition files by kind

3 months agokubed.el: Correctly handle spaces in resource properties
Eshel Yaron [Fri, 26 Jul 2024 10:22:27 +0000 (12:22 +0200)]
kubed.el: Correctly handle spaces in resource properties

3 months agokubed.el: Minor cleanups
Eshel Yaron [Fri, 26 Jul 2024 08:52:14 +0000 (10:52 +0200)]
kubed.el: Minor cleanups

3 months agoNew commands 'kubed{-transient}-diff'
Eshel Yaron [Thu, 25 Jul 2024 20:33:12 +0000 (22:33 +0200)]
New commands 'kubed{-transient}-diff'

3 months agoNew commands 'kubed{-transient}-attach'
Eshel Yaron [Thu, 25 Jul 2024 18:54:56 +0000 (20:54 +0200)]
New commands 'kubed{-transient}-attach'

3 months ago(kubed-forward-port-to-pod): Fix prompt
Eshel Yaron [Thu, 25 Jul 2024 18:54:16 +0000 (20:54 +0200)]
(kubed-forward-port-to-pod): Fix prompt

3 months agoNew commands 'kubed-transient', 'kubed-transient-run'
Eshel Yaron [Thu, 25 Jul 2024 16:10:13 +0000 (18:10 +0200)]
New commands 'kubed-transient', 'kubed-transient-run'

3 months agoNew command 'kubed-run'
Eshel Yaron [Thu, 25 Jul 2024 16:07:32 +0000 (18:07 +0200)]
New command 'kubed-run'

3 months agoAdd more default completion styles for 'cobra-command-line'
Eshel Yaron [Thu, 25 Jul 2024 16:06:07 +0000 (18:06 +0200)]
Add more default completion styles for 'cobra-command-line'

3 months ago(kubed-pods-{dired,shell}): Use new Tramp file name syntax
Eshel Yaron [Thu, 25 Jul 2024 12:10:13 +0000 (14:10 +0200)]
(kubed-pods-{dired,shell}): Use new Tramp file name syntax

3 months agoTramp's method "kubernetes" supports now optional namespace
Michael Albinus [Thu, 25 Jul 2024 11:38:27 +0000 (13:38 +0200)]
Tramp's method "kubernetes" supports now optional namespace

* doc/misc/tramp.texi (Inline methods): Extend Kubernetes host
name syntax by an optional namespace.
(Kubernetes setup): Mention optional namespace part of the host name.

* etc/NEWS: Tramp's method "kubernetes" supports now optional namespace.
Fix typos.

* lisp/net/tramp-container.el (tramp-kubernetes-namespace):
Initialize with nil.  Adapt docstring.
(tramp-kubernetes--name-regexp): New defconst.
(tramp-kubernetes--host-name-regexp): Change in order to cover
also an optional namespace.  (Bug#59797)
(tramp-kubernetes--namespace): New defun.
(tramp-kubernetes--context-namespace): Use it.
(tramp-skeleton-kubernetes-vector): Add sanity check for
superfluous user name or port number.

(cherry picked from commit d2cb9f2bf6ef9f3fcd8c21455ca1f1e624e61bf4)

3 months agoFix cherry-picking of d458664e893cd74f46bf9d00559ff5386c3dbf44
Eshel Yaron [Thu, 25 Jul 2024 10:40:54 +0000 (12:40 +0200)]
Fix cherry-picking of d458664e893cd74f46bf9d00559ff5386c3dbf44

3 months ago; * doc/emacs/misc.texi (Document View): Improve wording (bug#72241).
Eli Zaretskii [Thu, 25 Jul 2024 07:06:26 +0000 (10:06 +0300)]
; * doc/emacs/misc.texi (Document View): Improve wording (bug#72241).

(cherry picked from commit ba31c62f815537c0412eb84e8188cc5c3c4948b1)

3 months agoFix jumping to page in DocView's text contents (bug#72275)
Tassilo Horn [Thu, 25 Jul 2024 06:49:10 +0000 (08:49 +0200)]
Fix jumping to page in DocView's text contents (bug#72275)

* lisp/doc-view.el (doc-view-open-text): Set page-delimiter to the form
feed character in the text contents buffer (bug#72275).

(cherry picked from commit c6937ef88b19d46342cefc1493a70f21a8993e08)

3 months agoFix process-attributes rss and pmem on GNU/Linux
Paul Eggert [Thu, 25 Jul 2024 06:32:24 +0000 (23:32 -0700)]
Fix process-attributes rss and pmem on GNU/Linux

Problem reported by Rahguzar <https://bugs.gnu.org/72278>.
* src/sysdep.c (system_process_attributes):
[GNU_LINUX || CYGWIN || __ANDROID__]: When computing rss and pmem,
don’t assume pagesize is 4096; it could be greater.

(cherry picked from commit 42cdfe7f60ef7ae3bccb5b1e43349c3a6b54ac4a)

3 months agoDescribe that DocView text contents display is in a separate buffer
Tassilo Horn [Thu, 25 Jul 2024 06:21:52 +0000 (08:21 +0200)]
Describe that DocView text contents display is in a separate buffer

* doc/emacs/misc.texi (Document View): Adjust the docs to describe the
new behavior (separate buffer for the text contents) from bug#72241.

(cherry picked from commit 6eb3827f7bf757ef63c3e8e4a9971e18cf36423f)

3 months agobug#72241: 31.0.50; [PATCH] Use a dedicated buffer for `doc-view-open-text'
Manuel Giraud [Tue, 23 Jul 2024 14:32:30 +0000 (16:32 +0200)]
bug#72241: 31.0.50; [PATCH] Use a dedicated buffer for `doc-view-open-text'

Here is an updated version of this patch.  WDYT?

From 6e32534012cafeda1d7e67aab23a8206bc887c9f Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@ledu-giraud.fr>
Date: Sun, 21 Jul 2024 18:52:52 +0200
Subject: [PATCH] Use a dedicated buffer for `doc-view-open-text'

* lisp/doc-view.el (doc-view-open-text): Create a new "text
contents" buffer and switch to it.
(doc-view-toggle-display): Switch back to the document buffer
and kill the "text contents" one.
* etc/NEWS: Mention the change.

(cherry picked from commit 210b98bc9937a86920716ebdf0b0e00a0c79c8fe)

3 months ago; * etc/NEWS: Fix header level.
Stefan Kangas [Wed, 24 Jul 2024 21:52:34 +0000 (23:52 +0200)]
; * etc/NEWS: Fix header level.

(cherry picked from commit 2f5af5cab3869af426631735f12acf30798136bf)

3 months agoDelete defgroup "wp" obsolete since Emacs 26
Stefan Kangas [Wed, 24 Jul 2024 21:48:05 +0000 (23:48 +0200)]
Delete defgroup "wp" obsolete since Emacs 26

* lisp/cus-edit.el (wp): Delete defgroup obsolete since Emacs 26.
(text): Don't inherit obsolete customization group 'wp'.
* lisp/finder.el (finder-known-keywords): Delete 'wp' keyword.

(cherry picked from commit 0ae70433eabe9cf672a7f0f0803f72ad136b1344)

3 months ago(error): Remove support for old calling convention
Stefan Kangas [Wed, 24 Jul 2024 21:41:39 +0000 (23:41 +0200)]
(error): Remove support for old calling convention

* lisp/subr.el (error): Remove support for the Emacs 22 calling
convention '(error &rest args)'.

(cherry picked from commit a6a4ad13e48c656a530bea37d251a2dc55cc47d8)

3 months agoAdd some basic checking for function type declarations
Andrea Corallo [Wed, 24 Jul 2024 12:08:31 +0000 (14:08 +0200)]
Add some basic checking for function type declarations

* lisp/emacs-lisp/byte-run.el (byte-run--anonymize-arg-list): New function.
(byte-run--set-function-type): Add some basic checking for
the function type being declared.

(cherry picked from commit baf9f1210a3e44aa19d9ac90e5a4faca214127a7)

3 months agokubed.el: Mention 'kubed-transient'
Eshel Yaron [Thu, 25 Jul 2024 08:38:39 +0000 (10:38 +0200)]
kubed.el: Mention 'kubed-transient'

3 months agoIntegrate 'kubed-kubectl-command' with transient menus
Eshel Yaron [Thu, 25 Jul 2024 08:16:10 +0000 (10:16 +0200)]
Integrate 'kubed-kubectl-command' with transient menus

3 months agoRename 'kubed-kubectl-executable' to '-program'
Eshel Yaron [Thu, 25 Jul 2024 08:13:56 +0000 (10:13 +0200)]
Rename 'kubed-kubectl-executable' to '-program'

3 months agoMove command line completion code from kubed.el to new file cobra.el
Eshel Yaron [Thu, 25 Jul 2024 06:32:52 +0000 (08:32 +0200)]
Move command line completion code from kubed.el to new file cobra.el

3 months ago(kubed-command-line-completion-table): Elucidate, optimize
Eshel Yaron [Thu, 25 Jul 2024 05:03:48 +0000 (07:03 +0200)]
(kubed-command-line-completion-table): Elucidate, optimize

3 months agokubed.el: Add some commentary
Eshel Yaron [Wed, 24 Jul 2024 17:47:33 +0000 (19:47 +0200)]
kubed.el: Add some commentary

3 months agoAdapt Tramp tests
Michael Albinus [Wed, 24 Jul 2024 13:27:58 +0000 (15:27 +0200)]
Adapt Tramp tests

* test/lisp/net/tramp-archive-tests.el (ert-resource-directory-format)
(ert-resource-directory-trim-left-regexp)
(ert-resource-directory-trim-right-regexp, ert-resource-directory)
(ert-resource-file): Don't define.
(tramp-archive--test-emacs28-p): Remove.
(top): Remove unneeded skips.  Use original objects instead of
their `tramp-compat-' counterparts when possible.

* test/lisp/net/tramp-tests.el (seq): Don't require.
(lock-file-name-transforms, process-file-return-signal-string)
(remote-file-name-inhibit-locks, dired-copy-dereference): Don't declare.
(ert-resource-directory-format)
(ert-resource-directory-trim-left-regexp)
(ert-resource-directory-trim-right-regexp, ert-resource-directory)
(ert-resource-file): Don't define.
(tramp--test-emacs28-p): Remove.
(top): Remove unneeded skips.  Use original objects instead of
their `tramp-compat-' counterparts when possible.

(cherry picked from commit d458664e893cd74f46bf9d00559ff5386c3dbf44)

3 months agoRemove Emacs 27 compatibility from Tramp
Michael Albinus [Wed, 24 Jul 2024 13:25:55 +0000 (15:25 +0200)]
Remove Emacs 27 compatibility from Tramp

* doc/misc/tramp.texi (Frequently Asked Questions):
Adapt supported Emacs versions.

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.8.0-pre".

* lisp/net/tramp-compat.el (tramp-compat-file-modes)
(tramp-compat-set-file-modes, tramp-compat-set-file-times)
(tramp-compat-directory-files)
(tramp-compat-directory-files-and-attributes)
(tramp-compat-directory-empty-p, tramp-compat-null-device)
(tramp-compat-string-replace, tramp-compat-string-search)
(tramp-compat-make-lock-file-name)
(tramp-compat-file-name-concat)
(tramp-compat-replace-regexp-in-region, tramp-compat-length<)
(tramp-compat-length>, tramp-compat-length=)
(tramp-compat-always): Remove.

* lisp/net/tramp-adb.el:
* lisp/net/tramp-androidsu.el:
* lisp/net/tramp-archive.el:
* lisp/net/tramp-cache.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-compat.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-fuse.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-message.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el:
* lisp/net/tramp-sshfs.el:
* lisp/net/tramp-sudoedit.el:
* lisp/net/tramp.el: Use original objects instead of their
`tramp-compat-' counterparts when possible.

(cherry picked from commit c4e8112f983a2add3253e5607f0c29f70e5b4081)

3 months agoFix some function type declaration
Andrea Corallo [Wed, 24 Jul 2024 13:17:19 +0000 (15:17 +0200)]
Fix some function type declaration

* lisp/window.el (get-lru-window, get-largest-window): Fix
function type declaration.
* lisp/subr.el (error): Likewise.

(cherry picked from commit 976416bebe278a7cf65ab58b1918c9c27e3a09bd)

3 months ago* src/image.c (gui_put_x_image): Avoid memory leak.
Po Lu [Wed, 24 Jul 2024 12:06:15 +0000 (20:06 +0800)]
* src/image.c (gui_put_x_image): Avoid memory leak.

(cherry picked from commit 23549d7175108ca632375f9cc4390ff3e53e4d1e)

3 months ago; * doc/misc/use-package.texi (Getting Started): Fix wording.
Eli Zaretskii [Wed, 24 Jul 2024 11:01:01 +0000 (14:01 +0300)]
; * doc/misc/use-package.texi (Getting Started): Fix wording.

(cherry picked from commit cb633820c151c9cf428a88f43b0a62f185c4f587)

3 months agoAdapt last change to non-NS systems
Po Lu [Wed, 24 Jul 2024 03:59:53 +0000 (11:59 +0800)]
Adapt last change to non-NS systems

* src/image.c (xpm_load_image): Also check whether mask_img is
NULL.

(cherry picked from commit 3a76354e092f291037367b65b24c1963fd0fe31f)

3 months agoFix NULL pointer dereferences in xpm_load_image
Po Lu [Wed, 24 Jul 2024 03:57:28 +0000 (11:57 +0800)]
Fix NULL pointer dereferences in xpm_load_image

* src/image.c (x_destroy_x_image): Correct test condition.
(xpm_load_image): Do not release image data if it is still to be
created.

(cherry picked from commit b5543c54bf08c4fa4cae6b7f404a37a2aee60cdf)

3 months agoFix bug#72255
Po Lu [Wed, 24 Jul 2024 03:38:54 +0000 (11:38 +0800)]
Fix bug#72255

* src/image.c (struct image_type): Minor grammatical
corrections.
(image_destroy_x_image): [HAVE_NS]: Do not release
Emacs_Pix_Containers, which are identical to Emacs_Pixmaps and
consequently always released with the `struct image'.
(bug#72255)

(cherry picked from commit 1ee8579eb7d7aae9405f33099559ac8205a59be2)

3 months agoDelete redundant "a.k.a." in use-package.texi
Stefan Kangas [Tue, 23 Jul 2024 21:32:56 +0000 (23:32 +0200)]
Delete redundant "a.k.a." in use-package.texi

* doc/misc/use-package.texi (Getting Started): Delete redundant
acronym "a.k.a.".  (Bug#66350)

(cherry picked from commit 05629d3af0acc74b197f00504eae544081b32020)

3 months ago* lisp/isearch.el: Exit Isearch after deleting the frame (bug#41338).
Juri Linkov [Tue, 23 Jul 2024 18:00:23 +0000 (21:00 +0300)]
* lisp/isearch.el: Exit Isearch after deleting the frame (bug#41338).

(isearch-mode): Add 'isearch-done' to 'delete-frame-functions'.
(isearch-done): Remove 'isearch-done' from 'delete-frame-functions'.

(cherry picked from commit 19a18e487b8e2f0c1627b9cc98e601327e884eb2)

3 months ago* lisp/isearch.el: Preserve original value of overriding-terminal-local-map.
Juri Linkov [Tue, 23 Jul 2024 17:51:43 +0000 (20:51 +0300)]
* lisp/isearch.el: Preserve original value of overriding-terminal-local-map.

(isearch--saved-local-map): New variable (bug#72229).
(isearch-mode): Set isearch--saved-local-map to
overriding-terminal-local-map.
(isearch-done): Set overriding-terminal-local-map back to
isearch--saved-local-map.
(isearch-mouse-2): Let-bind overriding-terminal-local-map to
isearch--saved-local-map.
(isearch-done): Move comment intended to be docstring to docstring.

(cherry picked from commit 6760cedc5e0e8dc2a49d3d13e54f5f153df5a3d0)

3 months agoDocument (use-package 'emacs) declarations
Stefan Kangas [Tue, 23 Jul 2024 13:12:01 +0000 (15:12 +0200)]
Document (use-package 'emacs) declarations

* doc/misc/use-package.texi (The @code{emacs} package): New
node.  (Bug#66350)

(cherry picked from commit c7609464f701775088184bbfc61907cd9276437c)

3 months ago; Skip commit de9f9add1383c6154805ad4b3738af4c896522e4
Eshel Yaron [Wed, 24 Jul 2024 16:56:49 +0000 (18:56 +0200)]
; Skip commit de9f9add1383c6154805ad4b3738af4c896522e4

3 months ago; * src/xdisp.c (Fformat_mode_line): Doc fix.
Eli Zaretskii [Tue, 23 Jul 2024 11:07:30 +0000 (14:07 +0300)]
; * src/xdisp.c (Fformat_mode_line): Doc fix.

(cherry picked from commit 7588e1f8a9fc95a199a2a32242b5224021a44458)

3 months agoFix disappearing bar cursor on Hebrew text (bug#72230)
Gerd Möllmann [Tue, 23 Jul 2024 06:15:09 +0000 (08:15 +0200)]
Fix disappearing bar cursor on Hebrew text (bug#72230)

* src/nsterm.m (ns_draw_window_cursor): Compute the correct bar cursor
rectangle for R2L before setting the clipping.

(cherry picked from commit 2074e94c3b1800b795c11658f35fc30e74ecfb60)

3 months agoFix DocView with DVI files
Manuel Giraud [Mon, 22 Jul 2024 18:44:46 +0000 (20:44 +0200)]
Fix DocView with DVI files

* lisp/doc-view.el (doc-view-pdf/ps->png): Use
`doc-view-pdf->png-converter-function' for DVI files, too, since they
are converted to PDF earlier.

(cherry picked from commit 1aaadc8aec5272d453b996ca4b4761f3da6a17db)

3 months ago; Fix typo in use-package.texi
Stefan Kangas [Mon, 22 Jul 2024 16:04:30 +0000 (18:04 +0200)]
; Fix typo in use-package.texi

* doc/misc/use-package.texi (Getting Started): Fix typo.
Problem reported by GitHub user Paul Jensen (psnj) in:
https://github.com/jwiegley/use-package/pull/1070/

(cherry picked from commit c1382257aa8b46286ddfc85817957543a90958b7)

3 months agoFIx spurious fontification of variable in Java Mode
Alan Mackenzie [Mon, 22 Jul 2024 12:24:43 +0000 (12:24 +0000)]
FIx spurious fontification of variable in Java Mode

This fixes bug#72126.

* lisp/progmodes/cc-engine.el (c-forward-<>-arglist): Remove
tentative type identifier from c-record-type-identifiers should
it turn out not to be a type.

(cherry picked from commit caf7426f0ca280b7cf40736e595cad8f7361152f)

3 months agoCorrectly typeset nil and t in texinfo
Stefan Kangas [Mon, 22 Jul 2024 08:14:25 +0000 (10:14 +0200)]
Correctly typeset nil and t in texinfo

* doc/emacs/package.texi (Fetching Package Sources):
* doc/lispref/display.texi (Image Descriptors):
* doc/lispref/windows.texi (Buffer Display Action Alists):
* doc/misc/gnus-faq.texi (FAQ 5-4): Correctly typeset nil and t.

(cherry picked from commit 9b426e15abd320f9c53692bb6f5834967e6e1a37)

3 months agoFix Tramp IPv6 handling in tests
Michael Albinus [Mon, 22 Jul 2024 07:56:52 +0000 (09:56 +0200)]
Fix Tramp IPv6 handling in tests

* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Improve message.

* lisp/net/tramp-integration.el (shortdoc): Add further examples of
`file-remote-p'.

* lisp/net/tramp.el (tramp-handle-file-remote-p): Extend docstring.

* test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
(tramp-test02-file-name-dissect-simplified)
(tramp-test02-file-name-dissect-separate): Extend tests.
(tramp-test06-directory-file-name)
(tramp-test26-file-name-completion)
(tramp-test26-interactive-file-name-completion): Better handling
of IPv6 hosts.

(cherry picked from commit f050b9c5033ef92ac299d3da30774bc228fd0e08)

3 months agoUpdate to Org 9.7.8-5-gfdf0e0
Kyle Meyer [Mon, 22 Jul 2024 03:01:45 +0000 (23:01 -0400)]
Update to Org 9.7.8-5-gfdf0e0

(cherry picked from commit 46b192c04b162519a5e88bbf0f465a7c5e1171a9)

3 months agoFix Ftreesit_parser_create
Yuan Fu [Mon, 22 Jul 2024 00:15:44 +0000 (17:15 -0700)]
Fix Ftreesit_parser_create

* src/treesit.c (Ftreesit_parser_create): Use the buffer given by the
caller rather than the current buffer.

(cherry picked from commit 87f41b937bc06a14b3aeb12d5bf1a8b3e2ff74a1)

3 months agoImprove treesit-node-child-by-field-name docstring
Stefan Kangas [Sun, 21 Jul 2024 20:20:33 +0000 (22:20 +0200)]
Improve treesit-node-child-by-field-name docstring

* src/treesit.c (Ftreesit_node_child_by_field_name): Improve docstring.

(cherry picked from commit c66bda1a19afd7d8391765e2ed207e44107d8a50)

3 months agoMinor copyedits in tree-sitter starting guide
Stefan Kangas [Sun, 21 Jul 2024 19:13:20 +0000 (21:13 +0200)]
Minor copyedits in tree-sitter starting guide

* admin/notes/tree-sitter/starter-guide: Minor copyedits.
Reflow some paragraphs.

(cherry picked from commit 85773ab9771d4a382c6313803d0ffb91d379e86d)

3 months agoUpdate tag for prebuilt tree-sitter grammars
Stefan Kangas [Sun, 21 Jul 2024 19:07:19 +0000 (21:07 +0200)]
Update tag for prebuilt tree-sitter grammars

* admin/notes/tree-sitter/starter-guide: Update tag for prebuilt
tree-sitter grammars to point to 2.4.

(cherry picked from commit 2dacec1609a2858ad932fb766d2fb77e3bdeb23f)

3 months agoFix punctuation and doc style in treesit.c
Stefan Kangas [Sun, 21 Jul 2024 15:46:12 +0000 (17:46 +0200)]
Fix punctuation and doc style in treesit.c

* src/treesit.c (Ftreesit_parser_included_ranges)
(Ftreesit_query_capture, treesit_traverse_sibling_helper)
(treesit_traverse_match_predicate): Fix punctiation and documentation
style in comments and docstrings.

(cherry picked from commit 68615a386699f8e6108cb294a2cbc5664948af39)

3 months ago; Fix punctuation in docs
Stefan Kangas [Sun, 21 Jul 2024 14:33:08 +0000 (16:33 +0200)]
; Fix punctuation in docs

(cherry picked from commit 00adee897ac95912cb9ad6bd8a8d161db71945ac)

3 months agoFix DocView with PostScript files
Manuel Giraud [Fri, 19 Jul 2024 12:30:54 +0000 (14:30 +0200)]
Fix DocView with PostScript files

* lisp/doc-view.el (doc-view-set-up-single-converter): Produce PNG
from PS in a file with ".png" extension.  (Bug#72193)

(cherry picked from commit ab29b28d4ba58642f467fc15085ad8f7485fd90d)

3 months ago(kubed-command-line-completion-table): Also complete file names
Eshel Yaron [Wed, 24 Jul 2024 16:52:53 +0000 (18:52 +0200)]
(kubed-command-line-completion-table): Also complete file names

3 months agoNew command 'kubed-kubectl-command'
Eshel Yaron [Wed, 24 Jul 2024 15:03:15 +0000 (17:03 +0200)]
New command 'kubed-kubectl-command'

3 months agoNew command 'kubed-transient-create'
Eshel Yaron [Wed, 24 Jul 2024 07:55:53 +0000 (09:55 +0200)]
New command 'kubed-transient-create'

3 months agokubed.el: Add global prefix keymap
Eshel Yaron [Wed, 24 Jul 2024 06:36:03 +0000 (08:36 +0200)]
kubed.el: Add global prefix keymap

3 months agokubed.el: Add per-resource prefix keymap
Eshel Yaron [Wed, 24 Jul 2024 06:35:48 +0000 (08:35 +0200)]
kubed.el: Add per-resource prefix keymap

3 months agokubed-transient.el: New file
Eshel Yaron [Wed, 24 Jul 2024 05:37:07 +0000 (07:37 +0200)]
kubed-transient.el: New file

3 months agoSpecialize 'kubed-create-deployment'
Eshel Yaron [Wed, 24 Jul 2024 05:33:36 +0000 (07:33 +0200)]
Specialize 'kubed-create-deployment'

3 months agokubed.el: New command 'kubed-namespaces-set'
Eshel Yaron [Wed, 24 Jul 2024 05:31:13 +0000 (07:31 +0200)]
kubed.el: New command 'kubed-namespaces-set'

3 months ago(kubed-current-namespace): Fix handling of multiple contexts
Eshel Yaron [Wed, 24 Jul 2024 05:15:45 +0000 (07:15 +0200)]
(kubed-current-namespace): Fix handling of multiple contexts

3 months ago(kubed-pods-shell): Bind to lowercase "s", use per-pod buffer
Eshel Yaron [Wed, 24 Jul 2024 05:15:06 +0000 (07:15 +0200)]
(kubed-pods-shell): Bind to lowercase "s", use per-pod buffer

3 months agokubed.el: Fix quoting in update command
Eshel Yaron [Wed, 24 Jul 2024 05:14:10 +0000 (07:14 +0200)]
kubed.el: Fix quoting in update command

3 months agocrm.el: Workaround issue with nil completion table
Eshel Yaron [Tue, 23 Jul 2024 19:22:29 +0000 (21:22 +0200)]
crm.el: Workaround issue with nil completion table

3 months agocrm.el: Fix addition of input to empty history list
Eshel Yaron [Tue, 23 Jul 2024 19:22:03 +0000 (21:22 +0200)]
crm.el: Fix addition of input to empty history list

3 months agokubed.el: Fix "D" command in resource list buffers
Eshel Yaron [Tue, 23 Jul 2024 19:17:52 +0000 (21:17 +0200)]
kubed.el: Fix "D" command in resource list buffers

3 months agoBetter reproduce mouse event coalescence during touch event translation
Po Lu [Tue, 23 Jul 2024 12:44:06 +0000 (20:44 +0800)]
Better reproduce mouse event coalescence during touch event translation

* lisp/touch-screen.el (touch-screen-handle-touch): Save the
confines of the current mouse glyph before initiating simple
translation.

(cherry picked from commit f521235656040dbae8406682976233f771c0c81c)

3 months agoDon't highlight matches in dired query-replace commands
Visuwesh [Wed, 17 Jul 2024 03:41:04 +0000 (09:11 +0530)]
Don't highlight matches in dired query-replace commands

* lisp/dired-aux.el (dired-do-query-replace-regexp)
(dired-do-replace-regexp-as-diff)
(dired-do-find-regexp-and-replace): Turn off lazy highlighting
when reading the regexp from the user to avoid highlighting
regexp matches in the dired buffer. (bug#72147)

(cherry picked from commit cc6324d9dca662ea0ca9439411f4852b85e18986)

3 months ago* src/comp.c (obj_to_reloc): Use eassume.
Stefan Kangas [Tue, 23 Jul 2024 02:03:58 +0000 (04:03 +0200)]
* src/comp.c (obj_to_reloc): Use eassume.

(cherry picked from commit 1519c758a5a62b10f355097b066f4b88d3762bc4)

3 months ago; * lisp/net/kubed.el (kubed-create): DRY
Eshel Yaron [Tue, 23 Jul 2024 15:57:17 +0000 (17:57 +0200)]
; * lisp/net/kubed.el (kubed-create): DRY

3 months agoSlightly simplify 'kubed-define-resource'
Eshel Yaron [Mon, 22 Jul 2024 21:10:08 +0000 (23:10 +0200)]
Slightly simplify 'kubed-define-resource'

3 months ago; Update ldefs-boot.el
Eshel Yaron [Mon, 22 Jul 2024 10:49:57 +0000 (12:49 +0200)]
; Update ldefs-boot.el

3 months agoUse SBYTES instead of strlen in treesit.c
Stefan Kangas [Mon, 22 Jul 2024 10:21:25 +0000 (12:21 +0200)]
Use SBYTES instead of strlen in treesit.c

* src/treesit.c (treesit_ensure_query_compiled)
(Ftreesit_node_child_by_field_name, treesit_initialize_query):
Use SBYTES instead of strlen.

(cherry picked from commit d995429e7bc2bc5b5d87db45dbbaca121f8118e5)

3 months agoProhibit unbinding of built-in variables
Po Lu [Mon, 22 Jul 2024 01:56:08 +0000 (09:56 +0800)]
Prohibit unbinding of built-in variables

* src/data.c (set_internal): Signal error if a BLV with a
redirect or a forwarded symbol is being unbound.

* test/src/data-tests.el (binding-test-makunbound-built-in): New
test.

(cherry picked from commit da0165a01e01dcb4334feee03b462ac09ceb0f8c)

3 months agoFix segfault when deleting tree-sitter query (bug#72238)
Yuan Fu [Sun, 21 Jul 2024 23:50:59 +0000 (16:50 -0700)]
Fix segfault when deleting tree-sitter query (bug#72238)

* src/treesit.c (treesit_delete_query): Only delete query and cursor
when they are non-NULL.

(cherry picked from commit 4868a17396b6796b77285a3608b383aac32aee4f)

3 months agoAdd link to commit compatibility function handles
Theodor Thornhill [Sun, 21 Jul 2024 12:56:52 +0000 (14:56 +0200)]
Add link to commit compatibility function handles

* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--indent-compatibility-b893426): Add link to GitHub.

(cherry picked from commit ccb856189f483abfaa584f428b09a863f816a040)

3 months agoImprove one test (bug#71998)
Theodor Thornhill [Sun, 21 Jul 2024 12:55:06 +0000 (14:55 +0200)]
Improve one test (bug#71998)

* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts (Name):
Add pre-indent state.

(cherry picked from commit bb0f0c04a3985649f8ef86d9c3cbe68b78bee1aa)

3 months ago; Minor whitespace fix
Theodor Thornhill [Sun, 21 Jul 2024 11:58:14 +0000 (13:58 +0200)]
; Minor whitespace fix

*
lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--font-lock-settings):
Tabs to spaces.

(cherry picked from commit 810be9cf863ecf74d6ca649ce38450a44ae55719)

3 months agoSignal error on wrong typescript dialect
Theodor Thornhill [Sun, 21 Jul 2024 11:55:49 +0000 (13:55 +0200)]
Signal error on wrong typescript dialect

*
lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode-wrong-dialect-error):
New error.

*
lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--check-dialect):
Helper function.

*
lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--indent-rules,
tsx-ts-mode--font-lock-compatibility-bb1f97b,
tsx-ts-mode--font-lock-compatibility-function-expression,
tsx-ts-mode--font-lock-compatibility-function-expression,
typescript-ts-mode--font-lock-settings): Use the new helper.

(cherry picked from commit 7a059ed88a13d660cc5eb20f5fa6a2903ed23247)

3 months ago; Fix typo
Theodor Thornhill [Sun, 21 Jul 2024 10:51:42 +0000 (12:51 +0200)]
; Fix typo

* lisp/treesit.el (treesit-ready-p): Minor typo fix.

(cherry picked from commit cdca1ba2e9dbbe2bb469c91179cdda4fd4585bb0)

3 months ago* lisp/progmodes/go-ts-mode.el (go-ts-mode-build-tags): Fix :version.
Michael Albinus [Sun, 21 Jul 2024 09:13:35 +0000 (11:13 +0200)]
* lisp/progmodes/go-ts-mode.el (go-ts-mode-build-tags): Fix :version.

(cherry picked from commit 5c08fd80d27c61512d1f3f5cf9c38e2d5c3a5c18)

3 months agoAdd commands to run unit tests in 'go-ts-mode'
Ankit R Gadiya [Mon, 13 May 2024 18:44:03 +0000 (00:14 +0530)]
Add commands to run unit tests in 'go-ts-mode'

* lisp/progmodes/go-ts-mode.el (go-ts-mode-build-tags): New variable.
(go-ts-mode-map): Add new bindings.
(go-ts-mode--get-build-tags-flag, go-ts-mode--compile-test)
(go-ts-mode--find-defun-at, go-ts-mode--get-function-regexp)
(go-ts-mode--get-functions-in-range)
(go-ts-mode--get-test-regexp-at-point)
(go-ts-mode-test-function-at-point, go-ts-mode-test-this-file)
(go-ts-mode-test-this-package): New functions.

* etc/NEWS: Mention the change.

(Bug#70939)

(cherry picked from commit f249c81f868e8fea9d2a05ce258b3ebefba6620f)