[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kubed 5954f4f339 09/12: ; Fix regex matching multi-hop
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kubed 5954f4f339 09/12: ; Fix regex matching multi-hop Tramp file names |
Date: |
Thu, 15 Aug 2024 12:58:29 -0400 (EDT) |
branch: externals/kubed
commit 5954f4f3395d0caa482ea954a017d8b474c78008
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
; Fix regex matching multi-hop Tramp file names
* kubed.el (kubed-local-namespace)
(kubed-local-context-and-namespace): Tweak regex.
---
kubed.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kubed.el b/kubed.el
index a3cdb65a2e..d73c53b66e 100644
--- a/kubed.el
+++ b/kubed.el
@@ -2365,7 +2365,7 @@ Optional argument DEFAULT is the minibuffer default
argument."
(or kubed-list-namespace
(nth 3 kubed-display-resource-info)
(kubed--static-if (<= 31 emacs-major-version)
- (and (string-match "[/:]kubernetes:.*%\\([a-z0-9-]+\\):"
+ (and (string-match "[/|]kubernetes:.*%\\([a-z0-9-]+\\):"
default-directory)
(match-string 1 default-directory)))
(kubed-current-namespace (or context (kubed-local-context)))))
@@ -2383,7 +2383,7 @@ Optional argument DEFAULT is the minibuffer default
argument."
(let ((context (kubed-current-context)))
(cons context
(or (kubed--static-if (<= 31 emacs-major-version)
- (and (string-match "[/:]kubernetes:.*%\\([a-z0-9-]+\\):"
+ (and (string-match "[/|]kubernetes:.*%\\([a-z0-9-]+\\):"
default-directory)
(match-string 1 default-directory)))
(kubed-current-namespace context))))))
- [elpa] externals/kubed updated (cca5f42891 -> 0863c58f1a), ELPA Syncer, 2024/08/15
- [elpa] externals/kubed a46344f2b0 01/12: Use buffer-local context in 'kubed-list-*' commands, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed cdeb94ea56 03/12: ; Use local context as default in some prompts, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed a1c741360a 08/12: Teach 'kubed-exec' about buffer-local contexts, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed 003ecf531c 04/12: Teach rollout commands about buffer-local contexts, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed 6c6886bdcd 11/12: New user option 'kubed-default-context-and-namespace', ELPA Syncer, 2024/08/15
- [elpa] externals/kubed 72593fb84f 02/12: ; (kubed-current-namespace): Use buffer-local context., ELPA Syncer, 2024/08/15
- [elpa] externals/kubed ae4ba0de59 10/12: Teach additional commands about buffer-local contexts, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed 5b2f47142a 06/12: Teach 'kubed-patch' about buffer-local contexts, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed e545b90c54 05/12: ; (kubed-resource-names): Default to local context and namespace, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed 5954f4f339 09/12: ; Fix regex matching multi-hop Tramp file names,
ELPA Syncer <=
- [elpa] externals/kubed 5cb64af942 07/12: Teach 'kubed-diff' about buffer-local contexts, ELPA Syncer, 2024/08/15
- [elpa] externals/kubed 0863c58f1a 12/12: ; Update NEWS.org and bump version to 0.3.2, ELPA Syncer, 2024/08/15