[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line a686ae4af2 036/195: Change lhs/rhs from out
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line a686ae4af2 036/195: Change lhs/rhs from outside-in to left-to-right |
Date: |
Wed, 5 Jan 2022 02:59:19 -0500 (EST) |
branch: elpa/telephone-line
commit a686ae4af272ce9fa93f6ffbcf39ebfc2aa029fa
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>
Change lhs/rhs from outside-in to left-to-right
---
readme.org | 8 ++++++--
telephone-line.el | 10 +++++-----
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/readme.org b/readme.org
index 04004ca98d..44e1e88d0d 100644
--- a/readme.org
+++ b/readme.org
@@ -40,13 +40,17 @@ Here's the relevant section:
(nil . (telephone-line-minor-mode-segment
telephone-line-buffer-segment))))
(setq telephone-line-rhs
- '((evil . (telephone-line-airline-position-segment))
+ '((nil . (telephone-line-misc-info-segment))
(accent . (telephone-line-major-mode-segment))
- (nil . (telephone-line-misc-info-segment))))
+ (evil . (telephone-line-airline-position-segment))))
#+end_src
...That's it. That's essentially all there is to creating a theme.
+Now, before you go copy-pasting the above config, it's important to
+know that it requires both evil and erc. If you're not using evil,
+though, the defaults should be fine.
+
* Advanced Customization
** Separators
diff --git a/telephone-line.el b/telephone-line.el
index e03af2bd1e..425a408e94 100644
--- a/telephone-line.el
+++ b/telephone-line.el
@@ -217,7 +217,7 @@ separators, as they are conditional, are evaluated
on-the-fly."
`(:eval
(telephone-line-add-subseparators
',subsegments #',secondary-sep ',color-sym)))))
- segments)
+ (seq-reverse segments))
'(nil . nil))))
(defun width (values num-separators)
@@ -241,15 +241,15 @@ separators, as they are conditional, are evaluated
on-the-fly."
:type '(alist :key-type segment-color :value-type subsegment-list)
:group 'telephone-line)
-(defcustom rhs '((accent . (telephone-line-position-segment))
- (nil . (telephone-line-misc-info-segment
- telephone-line-major-mode-segment)))
+(defcustom rhs '((nil . (telephone-line-misc-info-segment
+ telephone-line-major-mode-segment))
+ (accent . (telephone-line-position-segment)))
"Right hand side segment alist."
:type '(alist :key-type segment-color :value-type subsegment-list)
:group 'telephone-line)
(defun -generate-mode-line-lhs ()
- (add-separators (seq-reverse lhs)
+ (add-separators lhs
primary-left-separator
secondary-left-separator))
- [nongnu] elpa/telephone-line a0409eeaba 066/195: Fix incorrect colors on startup, (continued)
- [nongnu] elpa/telephone-line a0409eeaba 066/195: Fix incorrect colors on startup, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 8064222a9f 038/195: Advice needs docstrings too, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 199fa476a1 050/195: Remove redundant TODOs, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 34610ced86 034/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 892d651828 043/195: Fix readme formatting, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9e4ba97039 058/195: Slight cleanup following the last two commits., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 366b70a73d 040/195: Mention inspiration, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 7dba615894 016/195: Make note about unicode in readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2ba4ae049d 047/195: Fix paradox async progress bar, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bc999daf13 031/195: More cl -> cl-lib, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a686ae4af2 036/195: Change lhs/rhs from outside-in to left-to-right,
ELPA Syncer <=
- [nongnu] elpa/telephone-line e8b9714bf2 014/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 21dda16645 070/195: Fix it the right way..., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2df6a1614b 012/195: Change default values of faces and separators according to review, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 627a41acca 071/195: Make Emacs 25 stop complaining, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 4b4a1fdaa3 080/195: Add face symbol map, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line fa2a272e98 029/195: Fix glaring separator issues, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bcb747a5c0 023/195: Oops, another cl call, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d80e1bd857 119/195: Radically redo segment definitions, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d31a4a3e7f 121/195: Add experimental nyan-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line abbeb654fb 095/195: Missed these from a while ago, ELPA Syncer, 2022/01/05