[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient ae2574ba70 143/366: transient--show: Don't sh
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient ae2574ba70 143/366: transient--show: Don't show thin line without window system |
Date: |
Tue, 25 Jan 2022 18:54:35 -0500 (EST) |
branch: externals/transient
commit ae2574ba700cc12f3b613117fbece5daff30ecc3
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient--show: Don't show thin line without window system
It won't work and display a fat line instead. We have to decide this
every time this function is called because there can be termcap and
window system frames in the same Emacs session.
---
docs/transient.org | 7 ++++---
docs/transient.texi | 7 ++++---
lisp/transient.el | 8 +++++---
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/docs/transient.org b/docs/transient.org
index d9cc82e445..f6549e05c7 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -8,7 +8,7 @@
#+TEXINFO_DIR_CATEGORY: Emacs
#+TEXINFO_DIR_TITLE: Transient: (transient).
#+TEXINFO_DIR_DESC: Transient Commands
-#+SUBTITLE: for version 0.1.0 (v0.1.0-134-g83cb1e4+1)
+#+SUBTITLE: for version 0.1.0 (v0.1.0-141-g5c0f901+1)
#+TEXINFO_DEFFN: t
#+OPTIONS: H:4 num:4 toc:2
@@ -37,7 +37,7 @@ Calling a suffix command usually causes the transient to be
exited
but suffix commands can also be configured to not exit the transient.
#+TEXINFO: @noindent
-This manual is for Transient version 0.1.0 (v0.1.0-134-g83cb1e4+1).
+This manual is for Transient version 0.1.0 (v0.1.0-141-g5c0f901+1).
#+BEGIN_QUOTE
Copyright (C) 2018-2020 Jonas Bernoulli <jonas@bernoul.li>
@@ -548,7 +548,8 @@ window, and the key bindings are the same as for
~scroll-up-command~ and
If ~line~ (the default), then the buffer also has no mode-line, but a
thin line is drawn instead, using the background color of the face
- ~transient-separator~.
+ ~transient-separator~. Termcap frames cannot display thin lines and
+ therefore fallback to treating ~line~ like ~nil~.
Otherwise this can be any mode-line format. See [[info:elisp#Mode
Line Format]] for details.
diff --git a/docs/transient.texi b/docs/transient.texi
index adad7f4d3c..174b74e0d8 100644
--- a/docs/transient.texi
+++ b/docs/transient.texi
@@ -31,7 +31,7 @@ General Public License for more details.
@finalout
@titlepage
@title Transient User and Developer Manual
-@subtitle for version 0.1.0 (v0.1.0-134-g83cb1e4+1)
+@subtitle for version 0.1.0 (v0.1.0-141-g5c0f901+1)
@author Jonas Bernoulli
@page
@vskip 0pt plus 1filll
@@ -65,7 +65,7 @@ Calling a suffix command usually causes the transient to be
exited
but suffix commands can also be configured to not exit the transient.
@noindent
-This manual is for Transient version 0.1.0 (v0.1.0-134-g83cb1e4+1).
+This manual is for Transient version 0.1.0 (v0.1.0-141-g5c0f901+1).
@quotation
Copyright (C) 2018-2020 Jonas Bernoulli <jonas@@bernoul.li>
@@ -735,7 +735,8 @@ good value.
If @code{line} (the default), then the buffer also has no mode-line, but a
thin line is drawn instead, using the background color of the face
-@code{transient-separator}.
+@code{transient-separator}. Termcap frames cannot display thin lines and
+therefore fallback to treating @code{line} like @code{nil}.
Otherwise this can be any mode-line format. See @ref{Mode Line
Format,,,elisp,} for details.
@end defopt
diff --git a/lisp/transient.el b/lisp/transient.el
index 07ec73e5fe..54ff80d6ab 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -141,7 +141,7 @@ want to change the value of `transient-mode-line-format'."
:type '(cons (choice function (repeat :tag "Functions" function))
alist))
-(defcustom transient-mode-line-format (and window-system 'line)
+(defcustom transient-mode-line-format 'line
"The mode-line format for the transient popup buffer.
If nil, then the buffer has no mode-line. If the buffer is not
@@ -150,7 +150,8 @@ a good value.
If `line' (the default), then the buffer also has no mode-line,
but a thin line is drawn instead, using the background color of
-the face `transient-separator'.
+the face `transient-separator'. Termcap frames cannot display
+thin lines and therefore fallback to treating `line' like nil.
Otherwise this can be any mode-line format.
See `mode-line-format' for details."
@@ -2543,7 +2544,8 @@ have a history of their own.")
(transient--insert-groups)
(when (or transient--helpp transient--editp)
(transient--insert-help))
- (when (eq transient-mode-line-format 'line)
+ (when (and (eq transient-mode-line-format 'line)
+ window-system)
(insert (propertize "__" 'face 'transient-separator
'display '(space :height (1))))
(insert (propertize "\n" 'face 'transient-separator 'line-height t)))
- [elpa] externals/transient 0cad5ebcb7 106/366: Fix doc string typos, (continued)
- [elpa] externals/transient 0cad5ebcb7 106/366: Fix doc string typos, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 824c684deb 108/366: Advertise current-transient-suffixes less, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ccac95e5a8 112/366: transient-show-help: Don't error if argument is missing, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 4f80a8999c 113/366: transient--goto-argument-description: Handle -- special case, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 41cbf49529 118/366: transient--insert-suffix: Fix removing LOC, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 6ceb643f0b 132/366: Revert "Add .github/FUNDING.yml", Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 93c9f2a251 133/366: manual: Fix typo, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 83cb1e4caa 135/366: make: Copy indices for htmlified info manuals, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 171924893f 140/366: transient-infix-read: Work around another Ivy bug, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 7977732485 141/366: transient-read-with-initial-input: Default to not doing that, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ae2574ba70 143/366: transient--show: Don't show thin line without window system,
Jonas Bernoulli <=
- [elpa] externals/transient e36190a6b4 145/366: manual: Fix typo, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient f10b821315 148/366: transient-set-level: Highlight the suffix in question, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ba63f9d2b0 156/366: Contribute to GNU Emacs and assign to the Free Software Foundation, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 0cd0b45c34 163/366: transient-define-*: Explicitly use `defun' indentation style, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient b65491fcb7 173/366: transient--suffix-{command, symbol}: Check argument type, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient b343e2a3bb 202/366: transient-infix-read: Fix ivy specific kludge, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 4fc9aa53db 230/366: manual: Fix small typo, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient a6e4cced30 162/366: Remove the Package-Version header keyword again, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient eb39c9620b 233/366: transient--debug: Always show symbol representing command, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 162698aa9d 248/366: Release version 0.3.2, Jonas Bernoulli, 2022/01/25