[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kubed e73a4ee0a4 55/70: Always display message when don
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kubed e73a4ee0a4 55/70: Always display message when done updating resources |
Date: |
Tue, 6 Aug 2024 06:58:44 -0400 (EDT) |
branch: externals/kubed
commit e73a4ee0a44501c720abc2c8f6ce7ac4a6442391
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
Always display message when done updating resources
* kubed.el (kubed-define-resource): In generated
'kubed-update-RESOURCEs', emit message in process sentinel regardless
of optional argument.
---
kubed.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/kubed.el b/kubed.el
index 0a30778f78..6bddb709f3 100644
--- a/kubed.el
+++ b/kubed.el
@@ -725,9 +725,12 @@ Other keyword arguments that go between PROPERTIES and
COMMANDS are:
,(format "Populate `%S', if not already populated." list-var)
(unless (or ,list-var (process-live-p ,proc-var)) (,updt-cmd)))
- (defun ,updt-cmd (&optional silent)
+ (defun ,updt-cmd (&optional quiet)
,(format "Update `%S'.
-Non-nil optional argument SILENT says to inhibit progress messages."
+
+If optional argument QUIET is non-nil, do not emit a message when
+starting to update. Display a message when the update is done
+regardless of QUIET."
list-var)
(interactive)
(when (process-live-p ,proc-var) (delete-process ,proc-var))
@@ -810,14 +813,13 @@ Non-nil optional argument SILENT says to inhibit progress
messages."
(setq ,list-var new
,proc-var nil)
(run-hooks ',hook-var)
- (unless silent
- (message ,(format "Updated Kubernetes %S."
plrl-var)))))
+ (message ,(format "Updated Kubernetes %S." plrl-var))))
((string= status "exited abnormally with code 1\n")
(with-current-buffer ,err-name
(goto-char (point-max))
(insert "\n" status))
(display-buffer ,err-name))))))
- (unless silent
+ (unless quiet
(minibuffer-message ,(format "Updating Kubernetes %S..."
plrl-var))))
(defun ,affx-fun (,plrl-var)
@@ -932,7 +934,7 @@ Optional argument DEFAULT is the minibuffer default
argument." resource)
`((add-hook 'kubed-all-namespaces-mode-hook
(lambda ()
(setq ,list-var nil)
- (,updt-cmd)))))
+ (,updt-cmd t)))))
(defun ,edt-name (,resource . ,(when namespaced '(&optional k8sns)))
,(format "Edit Kubernetes %S %s."
- [elpa] externals/kubed fd653d0458 22/70: ; README.md: Adjust figure., (continued)
- [elpa] externals/kubed fd653d0458 22/70: ; README.md: Adjust figure., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 932b0b2e88 24/70: ; * kubed.el (kubed-define-resource): Fix typos, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 377bcbcbb9 29/70: New command 'kubed-restart-deployment', ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 0c8e314d6f 31/70: ; Fix 'restart' command name in deployments list buffer, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 9dcc880950 40/70: ; * kubed.el (kubed-list-read-filter): Also complete operators., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 7bc92fb116 43/70: Document resource lists and their filters, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 96dc9b821c 46/70: ; * kubed.texi (Browsing Resources): Tweak wording., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 999ca10c35 50/70: (cobra-read-command-line): Fix handling of cons INITIAL arg, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed fe844378f0 53/70: ; Add 'kubed-list-copy-as-kill' to context menus, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 0e2c7c7dd9 54/70: Support bookmarking Kubernetes resource buffers, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed e73a4ee0a4 55/70: Always display message when done updating resources,
ELPA Syncer <=
- [elpa] externals/kubed 7a14c155d5 68/70: (Browse Resources): Update common commands table., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 485eae8409 23/70: Add global menu bar menu, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 1ee8a943f6 25/70: ; * kubed.texi (Usage): Mention 'kubed-menu-bar-mode'., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 0923d8031a 28/70: ; * kubed.el (kubed-define-resource): Remove extraneous quote., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 645845fcac 36/70: Add common parent mode for resource lists mode, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 9e1b34f139 45/70: ; * kubed.texi (Browsing Resources): Fix markup., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 847bc985d0 59/70: New manual section about displaying resources, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed fd3f899d7b 69/70: ; Exclude README.md from ELPA tarball, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed b79802ac85 65/70: ; Add .elpaignore file, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 888f6492f8 62/70: ; Fix population of 'kubed--columns', ELPA Syncer, 2024/08/06