[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 8bfe858d12 18/31: Chore: Shorten long lines in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 8bfe858d12 18/31: Chore: Shorten long lines in h/history |
Date: |
Fri, 1 Dec 2023 01:00:39 -0500 (EST) |
branch: elpa/hyperdrive
commit 8bfe858d1217c141480a7668f232d33ac8c66229
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Joseph Turner <joseph@ushin.org>
Chore: Shorten long lines in h/history
Additional shortening would be beneficial, but since this involves
todo keywords, I am leaving it at this for now.
---
hyperdrive-history.el | 38 ++++++++++++++++++++------------------
1 file changed, 20 insertions(+), 18 deletions(-)
diff --git a/hyperdrive-history.el b/hyperdrive-history.el
index 2ceac01bd3..64a6f291d1 100644
--- a/hyperdrive-history.el
+++ b/hyperdrive-history.el
@@ -206,24 +206,26 @@ prefix argument \\[universal-argument], prompt for ENTRY."
range-entries))
;; TODO: Display files in pop-up window, like magit-diff buffers appear
when selected from magit-log
(display-buffer (current-buffer) h/history-display-buffer-action)
- (setf queue (make-plz-queue :limit h/queue-limit
- :finally (lambda ()
- ;; NOTE: Ensure that the buffer's
window is selected,
- ;; if it has one. (Workaround a
possible bug in EWOC.)
- (if-let ((buffer-window
(get-buffer-window (ewoc-buffer ewoc))))
- (with-selected-window
buffer-window
- ;; TODO: Use
`ewoc-invalidate' on individual entries
- ;; (maybe later, as
performance comes to matter more).
- (with-silent-modifications
(ewoc-refresh h/ewoc))
- (goto-char (point-min)))
- (with-current-buffer
(ewoc-buffer ewoc)
- (with-silent-modifications
(ewoc-refresh h/ewoc))
- (goto-char (point-min))))
- ;; TODO: Accept then argument?
- ;; (with-current-buffer
(ewoc-buffer ewoc)
- ;; (when then
- ;; (funcall then)))
- )))
+ (setf queue
+ (make-plz-queue
+ :limit h/queue-limit
+ :finally (lambda ()
+ ;; NOTE: Ensure that the buffer's window is selected,
+ ;; if it has one. (Workaround a possible bug in EWOC.)
+ (if-let ((buffer-window (get-buffer-window
(ewoc-buffer ewoc))))
+ (with-selected-window buffer-window
+ ;; TODO: Use `ewoc-invalidate' on individual
entries
+ ;; (maybe later, as performance comes to matter
more).
+ (with-silent-modifications (ewoc-refresh h/ewoc))
+ (goto-char (point-min)))
+ (with-current-buffer (ewoc-buffer ewoc)
+ (with-silent-modifications (ewoc-refresh h/ewoc))
+ (goto-char (point-min))))
+ ;; TODO: Accept then argument?
+ ;; (with-current-buffer (ewoc-buffer ewoc)
+ ;; (when then
+ ;; (funcall then)))
+ )))
(mapc (lambda (range-entry)
(when (eq t (h/range-entry-exists-p range-entry))
;; TODO: Handle failures?
- [nongnu] elpa/hyperdrive aaf7581df2 10/31: Chore: Spread nested conditions across multiple lines, (continued)
- [nongnu] elpa/hyperdrive aaf7581df2 10/31: Chore: Spread nested conditions across multiple lines, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 42bd06b68c 29/31: Fix: (h/{start, stop}) Docstrings, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 43ddaf6cd4 30/31: Tidy: (h/gateway-process-type) Improve docstring, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 063e94607c 20/31: Chore: Begin multi-line values of defvar on a new line, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 7db9cc3785 21/31: Chore: Shorten assorted long lines, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 3edc7cc2ea 05/31: Chore: Begin pcase-let*'s BINDINGS on a new line, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive c4c9471144 09/31: Chore: Set one variable per setf and setq-local form, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 285692b095 08/31: Chore: Consistently use setf even if setq would work, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive cd652eb9a2 12/31: Chore: Shorten long lines within comments, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive a806d3d575 11/31: Chore: Break up long lines in the context of keywords arguments, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 8bfe858d12 18/31: Chore: Shorten long lines in h/history,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive c5b75983f5 27/31: Tidy: (h/gateway-process-type) "run" is first arg to hyper-gateway, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 67c49adf70 22/31: Chore: Join some short lines, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 5f7c75b09e 26/31: Meta: Update changelog with hyperdrive-gateway-process-type, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive ee36298f3f 13/31: Chore: Break up long lines involving h/message, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 25a2191dcf 19/31: Chore: Avoid filling available space with arguments, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 87cd168e8f 17/31: Chore: Shorten long lines in he/version-ranges-no-gaps, ELPA Syncer, 2023/12/01