]> git.eshelyaron.com Git - emacs.git/log
emacs.git
3 months ago; Add Harald Jörg as maintainer of cperl-mode
Harald Jörg [Tue, 30 Jul 2024 11:55:19 +0000 (13:55 +0200)]
; Add Harald Jörg as maintainer of cperl-mode

* admin/MAINTAINERS: Add Harald Jörg as maintainer of cperl-mode

(cherry picked from commit a8ac8650abb440119becad64cfd5ee534c6e413e)

3 months ago; cperl-mode.el: Make it checkdoc clean
Harald Jörg [Mon, 29 Jul 2024 19:24:14 +0000 (21:24 +0200)]
; cperl-mode.el: Make it checkdoc clean

This commit does only docstrings, no functional changes at all.

* lisp/progmodes/cperl-mode.el: Docstrings are added where missing.
All parameters are documented.  The first line is a complete sentence.
All docstring lines are 80 characters or less.

(cherry picked from commit cfadd047a27f5f7e96af3b3ff8947f32b048cb0c)

3 months ago* lisp/tab-bar.el (tab-bar-show-inactive-group-tabs): New defcustom.
Juri Linkov [Mon, 29 Jul 2024 18:27:30 +0000 (21:27 +0300)]
* lisp/tab-bar.el (tab-bar-show-inactive-group-tabs): New defcustom.

(tab-bar-format-tabs-groups): Use it (bug#71939).
Suggested by Ship Mints <shipmints@gmail.com>.

(cherry picked from commit 63e609f6aa1e058c709b84cf132fab7ce7ecb5ee)

3 months agoImprove handling of menu-bar menus in 'help-complete-keys'
Eshel Yaron [Tue, 30 Jul 2024 17:57:29 +0000 (19:57 +0200)]
Improve handling of menu-bar menus in 'help-complete-keys'

3 months agoFix sporadic crashes and `select' failures in dumped images
Po Lu [Mon, 29 Jul 2024 02:37:16 +0000 (10:37 +0800)]
Fix sporadic crashes and `select' failures in dumped images

* src/process.c (init_process_emacs) [HAVE_UNEXEC]: Clear
dumped values of child_signal_read_fd and child_signal_write_fd.

(cherry picked from commit 5cf64d8377ad43f9a7b0ad28cbb4a494b403806b)

3 months agoCorrect display of Doc View documents after tab switching
Po Lu [Mon, 29 Jul 2024 01:19:48 +0000 (09:19 +0800)]
Correct display of Doc View documents after tab switching

* lisp/doc-view.el (doc-view-new-window-function): Prevent
creation of duplicate overlays for the same window after a
window configuration change occasions a call to i-m-r-winprops.

(cherry picked from commit a475360af980673fe97a701633375c3a308364c6)

3 months ago; Skip commit d50c82f3e98e5418e5a42b48162bc26028309b89
Eshel Yaron [Mon, 29 Jul 2024 18:12:02 +0000 (20:12 +0200)]
; Skip commit d50c82f3e98e5418e5a42b48162bc26028309b89

3 months agoAdd new optional argument NO-HIGHLIGHT to query-replace-read-args
Visuwesh [Sun, 28 Jul 2024 04:57:33 +0000 (10:27 +0530)]
Add new optional argument NO-HIGHLIGHT to query-replace-read-args

* lisp/replace.el (query-replace-read-args): Add new optional
argument to disable regexp highlighting.

* lisp/dired-aux.el (dired-do-query-replace-regexp)
(dired-do-replace-regexp-as-diff)
(dired-do-find-regexp-and-replace): Revert last change, and use
the new argument instead.  (bug#72147)

(cherry picked from commit 99704a7b41f9c3c6c2215cf5c47bc161df05cfa4)

3 months ago* lisp/language/misc-lang.el ("Tifinagh"): Fix `language-info-alist'.
Juri Linkov [Sun, 28 Jul 2024 06:44:44 +0000 (09:44 +0300)]
* lisp/language/misc-lang.el ("Tifinagh"): Fix `language-info-alist'.

(cherry picked from commit 0b565d97064a6979f0102f4133537af7e633dc2d)

3 months agoUse 'unwind-protect' to ensure that Eshell always closes I/O handles
Jim Porter [Sat, 20 Jul 2024 01:02:16 +0000 (18:02 -0700)]
Use 'unwind-protect' to ensure that Eshell always closes I/O handles

See bug#72220.

* lisp/eshell/esh-cmd.el (eshell-with-handles): New macro...
(eshell-commands): ... use it.
(eshell-with-copied-handles): Remove STEAL-P and allow multiple body
forms (this is an incompatible change, but the macro is currently
internal despite the name).
(eshell-parse-command, eshell-do-pipelines)
(eshell-do-pipelines-synchronously, eshell--invoke-command-directly-p):
Remove handle stealing.
(eshell-structure-basic-command, eshell-do-command)
(eshell-lisp-command): Remove 'eshell-close-handles'.
(eshell-protect): Make obsolete.
(eshell-rewrite-for-command, eshell-rewrite-while-command)
(eshell-rewrite-if-command, (eshell-parse-pipeline): Remove
'eshell-protect'.

* lisp/eshell/esh-io.el (eshell-duplicate-handles): Make STEAL-P
obsolete.

* lisp/eshell/esh-proc.el (eshell-gather-process-output): Call
'eshell-protect-handles' one more time.  Remove 'eshell-close-handles'.

* lisp/eshell/esh-var.el (eshell-parse-variable-ref): Reimplement
$<COMMAND> form using 'eshell-with-handles'.

* test/lisp/eshell/esh-cmd-tests.el
(esh-cmd-test/command-not-found/pipeline): New test.

* test/lisp/eshell/em-tramp-tests.el
(em-tramp-test/should-replace-command): Adjust check for
'eshell-with-copied-handles'.

(cherry picked from commit 50339b38fdef31982744bdb8b51838012dd4ef47)

3 months ago; Improve correctness of 'eshell-do-eval' in some edge cases
Jim Porter [Sat, 20 Jul 2024 01:07:36 +0000 (18:07 -0700)]
; Improve correctness of 'eshell-do-eval' in some edge cases

* lisp/eshell/esh-cmd.el (eshell-do-eval): Make sure that replacing 'if'
forms returns the correct result, and evaluate to 'nil' for 'progn'
forms with no body.

(cherry picked from commit 8bfdee8689f8b99f353179898e922ec3d975a113)

3 months ago; Skip commit 469bc7c96868e3cd31e03603366f32b88070f887
Eshel Yaron [Mon, 29 Jul 2024 17:13:16 +0000 (19:13 +0200)]
; Skip commit 469bc7c96868e3cd31e03603366f32b88070f887

3 months ago; * admin/MAINTAINERS: Note what I maintain
Philip Kaludercic [Sat, 27 Jul 2024 08:30:48 +0000 (10:30 +0200)]
; * admin/MAINTAINERS: Note what I maintain

(cherry picked from commit 367c0490a8298ec156421bf265f6e091aa2807c7)

3 months agotmm.el: Simplify
Eshel Yaron [Mon, 29 Jul 2024 08:56:02 +0000 (10:56 +0200)]
tmm.el: Simplify

3 months agoExtract Kubed to separate Git repository
Eshel Yaron [Sun, 28 Jul 2024 14:16:13 +0000 (16:16 +0200)]
Extract Kubed to separate Git repository

See https://eshelyaron.com/kubed.html

3 months agoMake sure SES always writes non abbreviated expressions to data area.
Vincent Belaïche [Sat, 27 Jul 2024 16:33:00 +0000 (18:33 +0200)]
Make sure SES always writes non abbreviated expressions to data area.

Corrupted data area would occur when print-length or print-level are non nil.

(cherry picked from commit e8f38d1364a8879c91cb810160a5d2d5f7437bde)

3 months ago* lisp/net/kubed.el (kubed-define-resource): Simplify a bit
Eshel Yaron [Sat, 27 Jul 2024 20:02:30 +0000 (22:02 +0200)]
* lisp/net/kubed.el (kubed-define-resource): Simplify a bit

3 months agoNew commands 'kubed-rename-context' and 'kubed-display-config'
Eshel Yaron [Sat, 27 Jul 2024 18:47:10 +0000 (20:47 +0200)]
New commands 'kubed-rename-context' and 'kubed-display-config'

3 months agoReduce type checks in arithcompare
Mattias Engdegård [Sat, 27 Jul 2024 12:10:40 +0000 (14:10 +0200)]
Reduce type checks in arithcompare

* src/data.c (coerce_marker, not_number_or_marker): New.
(arithcompare): Don't use NUMBERP to check types up-front since we
are going to branch on types anyway.

(cherry picked from commit 7753a597fb84ce03ebcab87ec57553a06f6327e1)

3 months ago* src/data.c (arithcompare): Simplify fixnum/bignum comparisons.
Mattias Engdegård [Sat, 27 Jul 2024 11:38:57 +0000 (13:38 +0200)]
* src/data.c (arithcompare): Simplify fixnum/bignum comparisons.

Noticed by Pip Cet.

(cherry picked from commit e5a94491170bdde62c1afa19ec86e16a07429395)

3 months agoRevert "* test/lisp/net/tramp-tests.el (tramp-test42-utf8): Don't test "Tifinagh"."
Michael Albinus [Sat, 27 Jul 2024 10:49:12 +0000 (12:49 +0200)]
Revert "* test/lisp/net/tramp-tests.el (tramp-test42-utf8): Don't test "Tifinagh"."

This reverts commit b9f2ef2a333fa7c813913dbba798c5ba8778eefd.

(cherry picked from commit 829ebbd1d1da80e327c476d0cb173ae04313eaba)

3 months ago* lisp/language/misc-lang.el ("Tifinagh"): Fix `sample-text'.
Michael Albinus [Sat, 27 Jul 2024 10:48:47 +0000 (12:48 +0200)]
* lisp/language/misc-lang.el ("Tifinagh"): Fix `sample-text'.

(cherry picked from commit 10b91328d96b19f0f9b775d88f319abdd7d46c0a)

3 months agoSimplify and speed up numeric comparisons
Mattias Engdegård [Sat, 20 Jul 2024 11:12:19 +0000 (13:12 +0200)]
Simplify and speed up numeric comparisons

This makes comparison functions (=, /=, <, <=, >, >=, min, max) quite
a bit faster (10-20 %).  Bytecode ops on fixnums are not affected,
nor is `value<`.

* src/data.c (arithcompare): Simplify the code to reduce the number of
branches.  Remove the comparison code argument; instead, return the
relation encoded as bits, which can be tested cheaply.  All callers
adapted.
* src/lisp.h (enum Arith_Comparison): Remove.
(Cmp_Bit_*, cmp_bits_t): New.

(cherry picked from commit 2fd38e5c496a2351a25e95df37a7900f6f80f22f)

3 months agokubed.el: Add a couple of TODOs
Eshel Yaron [Sat, 27 Jul 2024 16:22:39 +0000 (18:22 +0200)]
kubed.el: Add a couple of TODOs

3 months ago(kubed-kubectl-command): Fix handling of transient scope
Eshel Yaron [Sat, 27 Jul 2024 16:20:22 +0000 (18:20 +0200)]
(kubed-kubectl-command): Fix handling of transient scope

3 months agokubed.el: Support ingress resources
Eshel Yaron [Sat, 27 Jul 2024 16:15:36 +0000 (18:15 +0200)]
kubed.el: Support ingress resources

3 months agokubed.el: Support ingressclass resources
Eshel Yaron [Sat, 27 Jul 2024 16:13:34 +0000 (18:13 +0200)]
kubed.el: Support ingressclass resources

3 months ago* lisp/net/kubed.el (kubed-create-cronjob): Fix typos
Eshel Yaron [Sat, 27 Jul 2024 16:12:15 +0000 (18:12 +0200)]
* lisp/net/kubed.el (kubed-create-cronjob): Fix typos

3 months ago(kubed-define-resource): New keyword argument :plural
Eshel Yaron [Sat, 27 Jul 2024 15:12:04 +0000 (17:12 +0200)]
(kubed-define-resource): New keyword argument :plural

3 months agokubed.el: Refine 'kubed-create-cronjob'
Eshel Yaron [Sat, 27 Jul 2024 15:06:46 +0000 (17:06 +0200)]
kubed.el: Refine 'kubed-create-cronjob'

3 months agoNew commands 'kubed{-transient}-apply'
Eshel Yaron [Sat, 27 Jul 2024 12:22:58 +0000 (14:22 +0200)]
New commands 'kubed{-transient}-apply'

3 months agokubed.el: Fix typo
Eshel Yaron [Sat, 27 Jul 2024 09:54:30 +0000 (11:54 +0200)]
kubed.el: Fix typo

3 months ago; Skip commit 156a3ba4f9ef9f7a401cfd3ca118152169f0ddcf
Eshel Yaron [Sat, 27 Jul 2024 09:30:55 +0000 (11:30 +0200)]
; Skip commit 156a3ba4f9ef9f7a401cfd3ca118152169f0ddcf

3 months ago* test/lisp/net/tramp-tests.el (tramp-test42-utf8): Don't test "Tifinagh".
Michael Albinus [Sat, 27 Jul 2024 08:26:14 +0000 (10:26 +0200)]
* test/lisp/net/tramp-tests.el (tramp-test42-utf8): Don't test "Tifinagh".

(cherry picked from commit b9f2ef2a333fa7c813913dbba798c5ba8778eefd)

3 months agoImprove Tramp startup time
Michael Albinus [Sat, 27 Jul 2024 08:25:52 +0000 (10:25 +0200)]
Improve Tramp startup time

* lisp/net/tramp-cmds.el (tramp-repository-branch)
(tramp-repository-version):
* lisp/net/tramp-message.el (tramp-repository-branch)
(tramp-repository-version): Declare.

* lisp/net/trampver.el (tramp-repository-branch)
(tramp-repository-version): Remove ;;;###tramp-autoload cookie.

(cherry picked from commit 29d4ba56258be582e3f98f1ac1e2a8bb3fc6ae1e)

3 months agoUse buffer-local value of 'comint-input-ring-size'
Liu Hui [Tue, 16 Jul 2024 10:05:46 +0000 (18:05 +0800)]
Use buffer-local value of 'comint-input-ring-size'

When 'comint-read-input-ring' was reading history to the ring,
the global value of 'comint-input-ring-size' was used regardless
of the local value, due to the use of a temporary buffer.
This change fixes the problem.
* lisp/comint.el (comint-read-input-ring): Use buffer-local
value of the ring size.  (Bug#72138)

(cherry picked from commit c1436ac64dc3b30af1ee3994ca346b9bb6984228)

3 months agoUpdate to Org 9.7.9
Kyle Meyer [Sat, 27 Jul 2024 03:58:01 +0000 (23:58 -0400)]
Update to Org 9.7.9

(cherry picked from commit 88e1ec22f271b127d961896b7dddcd58df289c42)

3 months ago* lisp/net/nsm.el (nsm-verify-connection): Improve docstring.
Stefan Kangas [Sat, 27 Jul 2024 01:27:57 +0000 (03:27 +0200)]
* lisp/net/nsm.el (nsm-verify-connection): Improve docstring.

(cherry picked from commit 9e9121ed6356e02173b57ea612feb7f55c07f2c8)

3 months ago; Fix punctuation in etc/*
Stefan Kangas [Fri, 26 Jul 2024 23:51:47 +0000 (01:51 +0200)]
; Fix punctuation in etc/*

(cherry picked from commit 33c6b4df40e4408b63a2d908a26a91dba80b6a04)

3 months agoFix edge-case with 'which-key-dont-use-unicode' setter
Philip Kaludercic [Fri, 26 Jul 2024 21:26:14 +0000 (23:26 +0200)]
Fix edge-case with 'which-key-dont-use-unicode' setter

* lisp/which-key.el (which-key-dont-use-unicode): Check if the
user options have a 'standard-value' before proceeding to
reevaluate.  This avoids accidentally setting the symbol value
to nil, before the user option has been declared, overriding the
actual non-nil, default values.  (Bug#72077)

(cherry picked from commit 1ae2f004473c1cc26ab654481716c9efb4ecd8de)

3 months agoTramp: Handle hops with "%" in their names
Michael Albinus [Fri, 26 Jul 2024 20:10:36 +0000 (22:10 +0200)]
Tramp: Handle hops with "%" in their names

* lisp/net/tramp.el (tramp-dissect-file-name, tramp-compute-multi-hops):
Handle hops with "%" in their names, like USER%DOMAIN or POD%NAMESPACE.

(cherry picked from commit d7665595f7bfca86b65e75fa624b0fc7a63fbb41)

3 months agoNS: prevent makeKeyWindow warnings (bug#69525)
Gerd Möllmann [Fri, 26 Jul 2024 09:48:24 +0000 (11:48 +0200)]
NS: prevent makeKeyWindow warnings (bug#69525)

* src/nsterm.m (ns_raise_frame): Don't makeKeyWindow if frame has
no_accept_focus set.

(cherry picked from commit 68a5f1f7d185250e61538f3af764b6e4ea62433f)

3 months ago; * .gitignore: Add lisp/eshell/esh-groups.el.
Eli Zaretskii [Fri, 26 Jul 2024 13:55:10 +0000 (16:55 +0300)]
; * .gitignore: Add lisp/eshell/esh-groups.el.

(cherry picked from commit 59a895ec4991beff9862029a712b22b47c5b70b3)

3 months agoAdd support for Tifinagh script
Eli Zaretskii [Fri, 26 Jul 2024 13:49:11 +0000 (16:49 +0300)]
Add support for Tifinagh script

* lisp/leim/quail/tifinagh.el: New file.  Contributed by Adam Oudad
<adam.oudad@gmail.com>.
* lisp/language/misc-lang.el ("Tifinagh"): New language environment.

* etc/HELLO: Add a greeting in Tifinagh.
* etc/NEWS: Announce the addition of Tifinagh.

(cherry picked from commit 4e250154ec4dc73eb9a2ec2c00d7a6e9a98b5476)

3 months ago; * doc/emacs/cmdargs.texi (Initial Options): Fix last change.
Eli Zaretskii [Fri, 26 Jul 2024 13:11:16 +0000 (16:11 +0300)]
; * doc/emacs/cmdargs.texi (Initial Options): Fix last change.

(cherry picked from commit 5c08cd4e7c38248ae455e3a55aa1d3f49a3d2894)

3 months agoAdd PROBLEMS entry for bug#72303
Po Lu [Fri, 26 Jul 2024 12:14:43 +0000 (20:14 +0800)]
Add PROBLEMS entry for bug#72303

* etc/PROBLEMS (Runtime problems specific to PGTK build):
Document that text mode sessions cannot be started without
`-nw'.  (bug#72303)

(cherry picked from commit 309d0a718644385eb73f40c5eaa967e9b1548353)

3 months ago; Improve documentation of 'line-prefix' and 'wrap-prefix'.
Eli Zaretskii [Fri, 26 Jul 2024 11:56:14 +0000 (14:56 +0300)]
; Improve documentation of 'line-prefix' and 'wrap-prefix'.

* doc/lispref/text.texi (Special Properties): Spell out more
accurately how 'line-prefix' and 'wrap-prefix' properties should
be set.

(cherry picked from commit 87389f9ff9069f8e3b11ea0ff2e55619763c2231)

3 months ago; Don't use non-ASCII in ELisp manual sources unless necessary
Eli Zaretskii [Fri, 26 Jul 2024 11:11:17 +0000 (14:11 +0300)]
; Don't use non-ASCII in ELisp manual sources unless necessary

* doc/lispref/strings.texi:
* doc/lispref/parsing.texi:
* doc/lispref/nonascii.texi:
* doc/lispref/keymaps.texi:
* doc/lispref/intro.texi:
* doc/lispref/help.texi:
* doc/lispref/functions.texi:
* doc/lispref/display.texi:
* doc/lispref/control.texi: ASCIIfy.

(cherry picked from commit 52cae67e1e73615fff184abcc8e635d80f8846ad)

3 months ago; Don't use non-ASCII in Emacs manual sources unless necessary
Eli Zaretskii [Fri, 26 Jul 2024 06:52:54 +0000 (09:52 +0300)]
; Don't use non-ASCII in Emacs manual sources unless necessary

* doc/emacs/mini.texi:
* doc/emacs/emacs.texi:
* doc/emacs/custom.texi:
* doc/emacs/calendar.texi:
* doc/emacs/cal-xtra.texi:
* doc/emacs/ack.texi: ASCIIfy.

(cherry picked from commit 4a743729d71d2dd55c7e489f3cead0d78a0dfe31)

3 months agoImprove documentation of '--init-directory' command-line option.
Eli Zaretskii [Fri, 26 Jul 2024 06:14:43 +0000 (09:14 +0300)]
Improve documentation of '--init-directory' command-line option.

* doc/emacs/custom.texi (Find Init):
* doc/emacs/cmdargs.texi (Initial Options): More accurate and
detailed description of what '--init-directory' does and how it
affects the Emacs session.  Add index entries and cross-references
as needed.  (Bug#72294)

(cherry picked from commit 268a2d10fc9c6578db23d54f7d790ec591cf211c)

3 months ago; cperl-mode.el: Fix fontification of flip-flop (Bug#72296)
Harald Jörg [Thu, 25 Jul 2024 20:00:10 +0000 (22:00 +0200)]
; cperl-mode.el: Fix fontification of flip-flop (Bug#72296)

* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres): Prevent a
movement of point from bleeding into a following clause.
* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-72296):
Add a test for the flip-flop operator with code from the report.

(cherry picked from commit c27055a938aadec81e4603d00e7d0997c4d2579f)

3 months ago; * admin/MAINTAINERS: Add myself for maintaining some areas.
Juri Linkov [Thu, 25 Jul 2024 18:29:22 +0000 (21:29 +0300)]
; * admin/MAINTAINERS: Add myself for maintaining some areas.

(cherry picked from commit fcd4e4c895de57ade38e609021769e3e63399a14)

3 months agoFix display of 'display' strings in RTL paragraphs at window-start
Eli Zaretskii [Thu, 25 Jul 2024 18:26:08 +0000 (21:26 +0300)]
Fix display of 'display' strings in RTL paragraphs at window-start

* src/xdisp.c (handle_single_display_spec)
(get_overlay_strings_1, push_prefix_prop): Initialize bidi
paragraph direction if not yet done.  (Bug#72287)

(cherry picked from commit c22b4198b2e5a9d63109c5ceeb386fbb1904f5dc)

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)