[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 305b5dbfec 163/195: Added minions-mode-segm
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 305b5dbfec 163/195: Added minions-mode-segment, compatible with https://github.com/tarsius/minions. |
Date: |
Wed, 5 Jan 2022 02:59:46 -0500 (EST) |
branch: elpa/telephone-line
commit 305b5dbfec8d48ad2ba4fcc5790ae4675362b4fd
Author: Sebastián Monía <sebastian.monia@starz.com>
Commit: Sebastián Monía <sebastian.monia@starz.com>
Added minions-mode-segment, compatible with
https://github.com/tarsius/minions.
---
telephone-line-segments.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 068fac3c7a..7800838520 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -89,6 +89,9 @@ Adapted from doom-modeline."
(telephone-line-defsegment* telephone-line-simple-minor-mode-segment ()
(telephone-line-raw minor-mode-alist t))
+(telephone-line-defsegment* telephone-line-minions-mode-segment ()
+ (telephone-line-raw minions-mode-line-modes t))
+
(telephone-line-defsegment telephone-line-narrow-segment ()
"%n")
@@ -122,6 +125,7 @@ mouse-3: Toggle minor modes"
face ,face)))
(defun telephone-line--hud-axis-func (y)
+ "This function does something with Y. And it has a docstring now!"
(let* ((height (or telephone-line-height (frame-char-height)))
(start (floor (* height (float (window-start))) (point-max)))
(end (ceiling (* height (float (window-end))) (point-max))))
@@ -193,7 +197,7 @@ If it doesn't exist, create and cache it."
(split-string dir "[^[:word:]]" t)))))
(defun telephone-line--truncate-path (path truncate-until)
- "Truncate PATH. TRUNCATE-UNTIL indicates how far to truncate; -1 means leave
the last element, 0 means truncate all, etc."
+ "Truncate PATH. TRUNCATE-UNTIL indicates how far to truncate; -1 means
leave the last element, 0 means truncate all, etc."
(let* ((dirs (split-string path "/"))
(take (+ truncate-until (length dirs)))
(trunc (seq-take dirs take))
- [nongnu] elpa/telephone-line 74cd7ea3ee 082/195: Fix telephone-line-nil, (continued)
- [nongnu] elpa/telephone-line 74cd7ea3ee 082/195: Fix telephone-line-nil, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line b2439795a4 078/195: Improve default colors., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 07858899cc 052/195: Readme update, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bfd9c8b431 067/195: New string trimmer fixes appearance of paradox line number segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 778d435ad2 109/195: Fix support for Emacs<25, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 36a6583157 156/195: Add a bunch of docstrings to segments, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0d23081c68 148/195: Add a couple faces for segments, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 8372f7d37c 133/195: Add centered segment support, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2fd44a2811 144/195: Add hud segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line e0eeb057ca 160/195: Actually check if the projectile stuff will work, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 305b5dbfec 163/195: Added minions-mode-segment, compatible with https://github.com/tarsius/minions.,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 74068cd04a 167/195: Added segments "plain" buffer name and modified-state-only. (#93), ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 17901f3911 170/195: Merge pull request #96 from MikeTheGreat/filename_segments, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 81ec9e3137 171/195: Respect 0/1-indexing setting, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 706cedb353 174/195: Merge pull request #109 from endoffile78/circe, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c0363af166 176/195: Add height to the hash key to automatically handle font size changes, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bc6075462f 185/195: Fix examples for telephone-line-defsegment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line baf17f6f1c 186/195: Fixed parentheses in atom-eol-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2fbcdb44a9 189/195: Merge pull request #115 from SahilKang/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line ff5fcb2181 192/195: Merge pull request #120 from gagbo/patch-3, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d70907577b 022/195: More formatting., ELPA Syncer, 2022/01/05