[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 2540c1cab9 076/163: Fix: (h//gateway-start-defa
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 2540c1cab9 076/163: Fix: (h//gateway-start-default) Suggest h/install; don't run it |
Date: |
Fri, 31 May 2024 04:00:17 -0400 (EDT) |
branch: elpa/hyperdrive
commit 2540c1cab9f75b0172be39f2288540b1f1547a46
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Fix: (h//gateway-start-default) Suggest h/install; don't run it
---
hyperdrive-lib.el | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 902ef4f0eb..bff2371d7d 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1421,20 +1421,18 @@ Then calls THEN if given."
Default function; see variable `h/gateway-start-function'."
(let ((hyper-gateway-ushin-path (h//hyper-gateway-ushin-path)))
(if (not hyper-gateway-ushin-path)
- (if (yes-or-no-p "hyper-gateway-ushin not installed; install? ")
- (progn
- (declare-function h/install "hyperdrive")
- (h/install))
- (h/error "Gateway not installed; aborted")))
- ;; Gateway is installed: start it.
- (setf h/gateway-process
- (make-process
- :name "hyper-gateway-ushin"
- :buffer " *hyperdrive-start*"
- :command (cons hyper-gateway-ushin-path
- (split-string-and-unquote h/gateway-command-args))
- :connection-type 'pipe))
- (h/message "Starting gateway...")))
+ ;; Gateway appears to not be installed: suggest to install it.
+ (h/message "Gateway not installed; try \\[hyperdrive-install]")
+
+ ;; Gateway is installed: start it.
+ (setf h/gateway-process
+ (make-process
+ :name "hyper-gateway-ushin"
+ :buffer " *hyperdrive-start*"
+ :command (cons hyper-gateway-ushin-path
+ (split-string-and-unquote h/gateway-command-args))
+ :connection-type 'pipe))
+ (h/message "Starting gateway..."))))
(defun h/announce-gateway-ready ()
"Announce that the gateway is ready."
- [nongnu] elpa/hyperdrive 9b446772a2 048/163: Comment: Add TODO, (continued)
- [nongnu] elpa/hyperdrive 9b446772a2 048/163: Comment: Add TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive f6a6e0390a 052/163: Change: Get gateway name from gateway as well as version, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 8aac421682 055/163: Add/Change: (h/menu-refresh) Refresh menu after starting gateway, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 26d2348db8 061/163: Change: (h/install) Suggest h/restart; don't prompt to restart, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 2d2b401883 065/163: Change: (h/menu-refresh) Replace implementation, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive a816879090 057/163: Refactor: (h/start, h/gateway-wait-for-ready) Consolidate checking, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 6c5b7aa4ae 058/163: Fix: (h//gateway-start-default), ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive b52601fdb5 073/163: Change: (hyperdrive-menu) "not found" gateway status indicator, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 7902066d95 080/163: Comment: Add TODOs, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 179ae7436a 082/163: Tidy, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 2540c1cab9 076/163: Fix: (h//gateway-start-default) Suggest h/install; don't run it,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive dcd0ae9d22 087/163: Fix: (h/install) Disable download timeout, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive cf46ae1dbf 088/163: Change: (hyperdrive-menu) "Install" binding doesn't close menu, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 9ea5b194b7 098/163: Comment: Add TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive de9e79c1ac 095/163: Comment: Add TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 8e8259d1dc 090/163: Fix: (h//gateway-stop-default) Use live-p-default, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive c4b88b009d 112/163: Change: (h//gateway-stop-default) Use h/user-error instead of h/error, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 67e3289cde 005/163: Notes: (DEV.org) Gateway version automatic installation/upgrading, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 70c84c0d59 037/163: Comment: Add TODO, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 0589fc245b 056/163: Refactor: (h//gateway-start-default) Signal an error in fewer cases, ELPA Syncer, 2024/05/31
- [nongnu] elpa/hyperdrive 21d111e8f9 054/163: Fix: h/gateway-version references, ELPA Syncer, 2024/05/31