[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kubed 8463c1bb8a 34/70: Ensure SPC is self-inserting wh
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kubed 8463c1bb8a 34/70: Ensure SPC is self-inserting when reading kubectl command line |
Date: |
Tue, 6 Aug 2024 06:58:29 -0400 (EDT) |
branch: externals/kubed
commit 8463c1bb8a31deb619dfdc323b28dae9c183adc3
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
Ensure SPC is self-inserting when reading kubectl command line
* cobra.el (cobra-read-command-line): Ensure SPC key is
self-inserting in the minibuffer.
---
cobra.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/cobra.el b/cobra.el
index 8efb3e2410..1fdbabe6e1 100644
--- a/cobra.el
+++ b/cobra.el
@@ -129,8 +129,15 @@ Perform completion action A on string S with predicate P."
Optional argument HIST is the name of the history list variable to use,
if it is nil or omitted, it defaults to `shell-command-history'."
(let ((exec (car (split-string-and-unquote initial))))
- (completing-read prompt (apply-partially #'cobra-completion-table exec)
- nil nil initial (or hist 'shell-command-history))))
+ (minibuffer-with-setup-hook
+ (:append (lambda ()
+ (let ((map (make-sparse-keymap)))
+ ;; Ensure SPC is self-inserting.
+ (keymap-unset map "SPC")
+ (use-local-map
+ (make-composed-keymap map (current-local-map))))))
+ (completing-read prompt (apply-partially #'cobra-completion-table exec)
+ nil nil initial (or hist 'shell-command-history)))))
(provide 'cobra)
;;; cobra.el ends here
- [elpa] externals/kubed 485eae8409 23/70: Add global menu bar menu, (continued)
- [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
- [elpa] externals/kubed d257fe1ef5 30/70: Bind 'kubed-restart-deployment' in 'kubed-deployment-prefix-map', ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 8463c1bb8a 34/70: Ensure SPC is self-inserting when reading kubectl command line,
ELPA Syncer <=
- [elpa] externals/kubed f6ebd33c16 35/70: Use multi-column layout for transient menus, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 603a4d413a 38/70: Enhance 'kubed-list-read-filter', ELPA Syncer, 2024/08/06
- [elpa] externals/kubed d73c4fac3f 41/70: (kubed-list-read-filter-map): Bind 'completion-help-at-point'., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed ed6d13e196 57/70: New command 'kubed-display-resource-jump-to-list', ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 977ac8d324 61/70: Major cleanup: simplify and extend resource lists, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 51cdf1d100 64/70: ; Update copyright notices for GNU ELPA, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 018d529c3b 33/70: New command 'kubed-transient-rollout', ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 1a6d51981c 02/70: ; * README.md (Getting Started): Fix typo, ELPA Syncer, 2024/08/06
- [elpa] externals/kubed b7227ed155 12/70: ; README.md: Add figure showing pods context menu., ELPA Syncer, 2024/08/06
- [elpa] externals/kubed 9aa3c97dcc 14/70: Extend resource name reading functions with namespace arg, ELPA Syncer, 2024/08/06