[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 25a2191dcf 19/31: Chore: Avoid filling availabl
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 25a2191dcf 19/31: Chore: Avoid filling available space with arguments |
Date: |
Fri, 1 Dec 2023 01:00:39 -0500 (EST) |
branch: elpa/hyperdrive
commit 25a2191dcf678d914041d14fe3cac65a199eee48
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Joseph Turner <joseph@ushin.org>
Chore: Avoid filling available space with arguments
When breaking up lines, it can be tempting (or one might even prefer)
keeping as many arguments on the same line as possible. I feel that
the slight reduction in readability outweighs the slight increase in
lines.
---
hyperdrive-dir.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hyperdrive-dir.el b/hyperdrive-dir.el
index f20888c183..030ff8fe57 100644
--- a/hyperdrive-dir.el
+++ b/hyperdrive-dir.el
@@ -163,7 +163,9 @@ Columns are suffixed with up/down arrows according to
((read-answer-short t)
(choices (mapcar (lambda (field)
(let ((desc (symbol-name (car field))))
- (list desc (aref desc 0) (format "sort by %s"
desc))))
+ (list desc
+ (aref desc 0)
+ (format "sort by %s" desc))))
h/dir-sort-fields))
(column (intern (read-answer "Sort by column: " choices))))
(h/dir-toggle-sort-direction column h/directory-sort)))
- [nongnu] elpa/hyperdrive 3edc7cc2ea 05/31: Chore: Begin pcase-let*'s BINDINGS on a new line, (continued)
- [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, 2023/12/01
- [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 <=
- [nongnu] elpa/hyperdrive 87cd168e8f 17/31: Chore: Shorten long lines in he/version-ranges-no-gaps, ELPA Syncer, 2023/12/01