[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive a0bf2d496b 013/123: WIP/Tidy
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive a0bf2d496b 013/123: WIP/Tidy |
Date: |
Fri, 6 Oct 2023 01:00:58 -0400 (EDT) |
branch: elpa/hyperdrive
commit a0bf2d496b9132db9edf150ab4055cdbc9304344
Author: Adam Porter <adam@alphapapa.net>
Commit: Joseph Turner <joseph@ushin.org>
WIP/Tidy
---
hyperdrive.el | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/hyperdrive.el b/hyperdrive.el
index fb72c084ee..264d488820 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -775,12 +775,14 @@ The return value of this function is the retrieval
buffer."
:description
(lambda ()
(let ((hyperdrive (hyperdrive-entry-hyperdrive
hyperdrive-current-entry)))
- (format "Public key:%s%s%s"
- (hyperdrive--format-host hyperdrive :format '(public-key))
- (if-let ((seed (hyperdrive--format-host hyperdrive :format
'(seed))))
- (format " Seed:%s" seed) "")
- (if-let ((domain (hyperdrive--format-host hyperdrive :format
'(domain))))
- (format " Domain:%s" domain) ""))))
+ (hyperdrive--format-hyperdrive hyperdrive :formats '(public-key seed
domain nickname petname))
+ ;; (format "Public key:%s%s%s"
+ ;; (hyperdrive--format-host hyperdrive :format '(public-key))
+ ;; (if-let ((seed (hyperdrive--format-host hyperdrive :format
'(seed))))
+ ;; (format " Seed:%s" seed) "")
+ ;; (if-let ((domain (hyperdrive--format-host hyperdrive
:format '(domain))))
+ ;; (format " Domain:%s" domain) ""))
+ ))
("s p" "Petname" hyperdrive-set-petname
:if (lambda () hyperdrive-current-entry)
:description (lambda ()
@@ -792,7 +794,8 @@ The return value of this function is the retrieval buffer."
(it (propertize it
'face 'transient-value))))))
("s n" "Nickname" hyperdrive-set-nickname
- :if (lambda () hyperdrive-current-entry)
+ :if (lambda () (and hyperdrive-current-entry
+ (hyperdrive-writablep (hyperdrive-entry-hyperdrive
hyperdrive-current-entry))))
:description (lambda ()
(format "Nickname: %s"
;; TODO: Hyperdrive-metadata accessor (and maybe
gv setter).
@@ -812,10 +815,7 @@ The return value of this function is the retrieval buffer."
;; TODO: Consider showing current drive's public key or formatted name.
("d n" "New" hyperdrive-new)
("d d" "Describe" hyperdrive-describe-hyperdrive)
- ("d p" "Purge" hyperdrive-purge)
- ;; TODO: Show current names next to these.
- ("d s p" "Set petname" hyperdrive-set-petname)
- ("d s n" "Set nickname" hyperdrive-set-nickname)]
+ ("d p" "Purge" hyperdrive-purge)]
["Bookmarks"
("b j" "Jump" hyperdrive-bookmark-jump)
("b l" "List" hyperdrive-bookmark-list)
- [nongnu] elpa/hyperdrive 4f297bfb6c 007/123: Change: (hyperdrive--format-host) Allow FORMAT to be an atom, (continued)
- [nongnu] elpa/hyperdrive 4f297bfb6c 007/123: Change: (hyperdrive--format-host) Allow FORMAT to be an atom, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 1c8a1b2446 021/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 4146ecd501 039/123: Change: (hyperdrive-set-nickname) Don't say anything in callback, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 8d40cdba48 036/123: WIP: hyperdrive-menu-up, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 083056ca9b 029/123: Fix: (hyperdrive--context-entry) With prefix arg, always read entry, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive b1e51aa444 049/123: Comment: Add TODO, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 46c56c7500 042/123: Tidy: Move require statements to top, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 4e2280dad6 002/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive cebe60f4f3 004/123: Rename command, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 017556c164 012/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive a0bf2d496b 013/123: WIP/Tidy,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive a0311e5b9e 017/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 93433a3bd9 015/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 0fb87a249f 027/123: Change: (hyperdrive-dir-mode-map) Use hyperdrive-download-entry, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 47f7f80f8b 018/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive f7a5b31795 043/123: Tidy: (hyperdrive-menu) Add headings for different transients, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 41abe54c92 019/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive b5e881017c 022/123: WIP, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive 39870e57fc 047/123: Change: (-menu-hyperdrive) Use :class transient-row, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive c9d89d6fb9 038/123: Change: (hyperdrive-set-nickname) Accept THEN callback, ELPA Syncer, 2023/10/06
- [nongnu] elpa/hyperdrive a94981fd04 046/123: Change: (-menu-hyperdrive) Make nickname inapt when not writable, ELPA Syncer, 2023/10/06