[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line cce570e581 178/195: Provide TUI fallback fo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line cce570e581 178/195: Provide TUI fallback for all separators |
Date: |
Wed, 5 Jan 2022 02:59:58 -0500 (EST) |
branch: elpa/telephone-line
commit cce570e5817485ac5f9fc5b19228124626cfcc03
Author: Gerry Agbobada <10496163+gagbo@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Provide TUI fallback for all separators
The fallback mechanism for TUI uses `:alt-separator`, but most of the
provided separators lack the attribute.
This allows the modeline to still be displayed in TUI if one of the package
provided separators is used.
---
telephone-line-separators.el | 108 ++++++++++++++++++++++++++++++++-----------
1 file changed, 80 insertions(+), 28 deletions(-)
diff --git a/telephone-line-separators.el b/telephone-line-separators.el
index e75df219f7..e797924502 100644
--- a/telephone-line-separators.el
+++ b/telephone-line-separators.el
@@ -79,70 +79,122 @@
(defvar telephone-line-cubed-right
(make-instance 'telephone-line-separator
- :axis-func (lambda (x) (expt x 3))))
+ :axis-func (lambda (x) (expt x 3))
+ :alt-separator telephone-line-utf-abs-right))
(defvar telephone-line-cubed-left
(make-instance 'telephone-line-separator
- :axis-func (lambda (x) (- (expt x 3)))))
+ :axis-func (lambda (x) (- (expt x 3)))
+ :alt-separator telephone-line-utf-abs-left))
(defvar telephone-line-cubed-hollow-right
(make-instance 'telephone-line-subseparator
- :axis-func (lambda (x) (expt x 3))))
+ :axis-func (lambda (x) (expt x 3))
+ :alt-separator telephone-line-utf-abs-hollow-right))
(defvar telephone-line-cubed-hollow-left
(make-instance 'telephone-line-subseparator
- :axis-func (lambda (x) (- (expt x 3)))))
+ :axis-func (lambda (x) (- (expt x 3)))
+ :alt-separator telephone-line-utf-abs-hollow-left))
(defvar telephone-line-sin-right
- (make-instance 'telephone-line-separator :axis-func
(telephone-line-complement sin)))
+ (make-instance 'telephone-line-separator
+ :axis-func (telephone-line-complement sin)
+ :alt-separator telephone-line-utf-abs-right))
(defvar telephone-line-sin-left
- (make-instance 'telephone-line-separator :axis-func #'sin))
+ (make-instance 'telephone-line-separator
+ :axis-func #'sin
+ :alt-separator telephone-line-utf-abs-left))
(defvar telephone-line-sin-hollow-right
- (make-instance 'telephone-line-subseparator :axis-func
(telephone-line-complement sin)))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (telephone-line-complement sin)
+ :alt-separator telephone-line-utf-abs-hollow-right))
(defvar telephone-line-sin-hollow-left
- (make-instance 'telephone-line-subseparator :axis-func #'sin))
+ (make-instance 'telephone-line-subseparator
+ :axis-func #'sin
+ :alt-separator telephone-line-utf-abs-hollow-left))
(defvar telephone-line-halfsin-right
- (make-instance 'telephone-line-separator :axis-func (lambda (x) (- (sin (/ x
2))))))
+ (make-instance 'telephone-line-separator
+ :axis-func (lambda (x) (- (sin (/ x 2))))
+ :alt-separator telephone-line-utf-abs-right))
(defvar telephone-line-halfsin-left
- (make-instance 'telephone-line-separator :axis-func (lambda (x) (sin (/ x
2)))))
+ (make-instance 'telephone-line-separator
+ :axis-func (lambda (x) (sin (/ x 2)))
+ :alt-separator telephone-line-utf-abs-left))
(defvar telephone-line-halfsin-hollow-right
- (make-instance 'telephone-line-subseparator :axis-func (lambda (x) (- (sin
(/ x 2))))))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (lambda (x) (- (sin (/ x 2))))
+ :alt-separator telephone-line-utf-abs-hollow-right))
(defvar telephone-line-halfsin-hollow-left
- (make-instance 'telephone-line-subseparator :axis-func (lambda (x) (sin (/ x
2)))))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (lambda (x) (sin (/ x 2)))
+ :alt-separator telephone-line-utf-abs-hollow-left))
(defvar telephone-line-cos-right
- (make-instance 'telephone-line-separator :axis-func
(telephone-line-complement cos)))
+ (make-instance 'telephone-line-separator
+ :axis-func (telephone-line-complement cos)
+ :alt-separator telephone-line-utf-abs-right))
(defvar telephone-line-cos-left
- (make-instance 'telephone-line-separator :axis-func #'cos))
+ (make-instance 'telephone-line-separator
+ :axis-func #'cos
+ :alt-separator telephone-line-utf-abs-left))
(defvar telephone-line-cos-hollow-right
- (make-instance 'telephone-line-subseparator :axis-func
(telephone-line-complement cos)))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (telephone-line-complement cos)
+ :alt-separator telephone-line-utf-abs-hollow-right))
(defvar telephone-line-cos-hollow-left
- (make-instance 'telephone-line-subseparator :axis-func #'cos))
+ (make-instance 'telephone-line-subseparator
+ :axis-func #'cos
+ :alt-separator telephone-line-utf-abs-hollow-left))
(defvar telephone-line-halfcos-right
- (make-instance 'telephone-line-separator :axis-func (lambda (x) (- (cos (/ x
2))))))
+ (make-instance 'telephone-line-separator
+ :axis-func (lambda (x) (- (cos (/ x 2))))
+ :alt-separator telephone-line-utf-abs-right))
(defvar telephone-line-halfcos-left
- (make-instance 'telephone-line-separator :axis-func (lambda (x) (cos (/ x
2)))))
+ (make-instance 'telephone-line-separator
+ :axis-func (lambda (x) (cos (/ x 2)))
+ :alt-separator telephone-line-utf-abs-left))
(defvar telephone-line-halfcos-hollow-right
- (make-instance 'telephone-line-subseparator :axis-func (lambda (x) (- (cos
(/ x 2))))))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (lambda (x) (- (cos (/ x 2))))
+ :alt-separator telephone-line-utf-abs-hollow-right))
(defvar telephone-line-halfcos-hollow-left
- (make-instance 'telephone-line-subseparator :axis-func (lambda (x) (cos (/ x
2)))))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (lambda (x) (cos (/ x 2)))
+ :alt-separator telephone-line-utf-abs-hollow-left))
(defvar telephone-line-tan-right
- (make-instance 'telephone-line-separator :axis-func (lambda (x) (- (tan (/ x
2.2))))))
+ (make-instance 'telephone-line-separator
+ :axis-func (lambda (x) (- (tan (/ x 2.2))))
+ :alt-separator telephone-line-utf-abs-right))
(defvar telephone-line-tan-left
- (make-instance 'telephone-line-separator :axis-func (lambda (x) (tan (/ x
2.2)))))
+ (make-instance 'telephone-line-separator
+ :axis-func (lambda (x) (tan (/ x 2.2)))
+ :alt-separator telephone-line-utf-abs-left))
(defvar telephone-line-tan-hollow-right
- (make-instance 'telephone-line-subseparator :axis-func (lambda (x) (- (tan
(/ x 2.2))))))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (lambda (x) (- (tan (/ x 2.2))))
+ :alt-separator telephone-line-utf-abs-hollow-right))
(defvar telephone-line-tan-hollow-left
- (make-instance 'telephone-line-subseparator :axis-func (lambda (x) (tan (/ x
2.2)))))
+ (make-instance 'telephone-line-subseparator
+ :axis-func (lambda (x) (tan (/ x 2.2)))
+ :alt-separator telephone-line-utf-abs-hollow-left))
(defvar telephone-line-identity-right
- (make-instance 'telephone-line-separator :axis-func #'identity))
+ (make-instance 'telephone-line-separator
+ :axis-func #'identity
+ :alt-separator telephone-line-utf-abs-right))
(defvar telephone-line-identity-left
- (make-instance 'telephone-line-separator :axis-func #'-))
+ (make-instance 'telephone-line-separator
+ :axis-func #'-
+ :alt-separator telephone-line-utf-abs-left))
(defvar telephone-line-identity-hollow-right
- (make-instance 'telephone-line-subseparator :axis-func #'identity))
+ (make-instance 'telephone-line-subseparator
+ :axis-func #'identity
+ :alt-separator telephone-line-utf-abs-hollow-right))
(defvar telephone-line-identity-hollow-left
- (make-instance 'telephone-line-subseparator :axis-func #'-))
+ (make-instance 'telephone-line-subseparator
+ :axis-func #'-
+ :alt-separator telephone-line-utf-abs-hollow-left))
(defvar telephone-line-nil
(make-instance 'telephone-line-nil-separator :forced-width 0))
- [nongnu] elpa/telephone-line 0762bae37a 079/195: Corrected indentation, (continued)
- [nongnu] elpa/telephone-line 0762bae37a 079/195: Corrected indentation, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 96030b4c98 026/195: Further clean up start of readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2e7ba0bfc2 015/195: Make utf-8 separators a part of pbm separators, rather than separate entities altogether, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3e66e72d9c 075/195: add telephone-line-workgroups2-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 85d25085ef 106/195: Trig Separators!, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d0428bbd5c 108/195: Lighter color images, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 7fd38cce0c 093/195: Clarify config again, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 01a2be2798 129/195: Fix right separators on console, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2cfe86ee8e 155/195: Merge pull request #76 from ogdenwebb/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a8cb383957 168/195: 2 new segments: show just the file's name & show path AND file name, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line cce570e581 178/195: Provide TUI fallback for all separators,
ELPA Syncer <=
- [nongnu] elpa/telephone-line bfe7b189d7 177/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 110c578ccf 184/195: Merge pull request #113 from gagbo/patch-2, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line eb178dda26 188/195: Merge pull request #116 from fdeitylink/patch-1, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line aebac4658e 190/195: Fix for Emacs 27.1 scaling, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 408e05e105 172/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 67a28e8267 182/195: Add telephone-line-flymake-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 44f296e6a1 076/195: Merge pull request #24 from myTerminal/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3ede7e6ff3 122/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 6789e79806 124/195: Define nil separator in terms of a pattern func; fixes height support., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 41f84d47cd 087/195: Add headings to examples, ELPA Syncer, 2022/01/05