[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dracula-theme f98f9bd 157/187: Improve a little test scrip
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dracula-theme f98f9bd 157/187: Improve a little test script |
Date: |
Thu, 21 Oct 2021 18:05:14 -0400 (EDT) |
branch: elpa/dracula-theme
commit f98f9bd54e965e8676ee15ce8b4ecbeae01341ed
Author: Étienne Deparis <etienne@depar.is>
Commit: Étienne Deparis <etienne@depar.is>
Improve a little test script
---
start_emacs_test.sh | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/start_emacs_test.sh b/start_emacs_test.sh
index 013650c..55e7cdd 100755
--- a/start_emacs_test.sh
+++ b/start_emacs_test.sh
@@ -1,21 +1,23 @@
#!/usr/bin/env sh
ARGS=
-TERM_TEST=no
-COLOR=256color
+COLOR=
for arg in $*; do
case $arg in
- 256) COLOR=256color ;;
- 88) COLOR=88color ;;
- 16) COLOR=16color ;;
- *)
- [ "$arg" = '-nw' ] && TERM_TEST=yes
- ARGS="$ARGS $arg"
- ;;
+ 256|-nw) COLOR=256color ;;
+ 88) COLOR=88color ;;
+ 16) COLOR=16color ;;
+ *) ARGS="$ARGS $arg" ;;
esac
done
-[ "$TERM_TEST" = 'yes' ] && export TERM=xterm-$COLOR
[ -z "$EMACS" ] && EMACS=emacs
+if [ -n "$COLOR" ]; then
+ export TERM=xterm-$COLOR
+ echo "Run in terminal as $TERM"
+ EMACS="$EMACS -nw"
+else
+ echo "Run as a graphical window"
+fi
$EMACS -Q --debug-init -l test-profile.el $ARGS
- [nongnu] elpa/dracula-theme e4672e2 137/187: Do not advertize dracula-use-24-bit-colors-on-256-colors-terms in README, (continued)
- [nongnu] elpa/dracula-theme e4672e2 137/187: Do not advertize dracula-use-24-bit-colors-on-256-colors-terms in README, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 12e2b3a 140/187: [DOCS] Update Homebrew Formulae to be correct, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme fea2f54 141/187: Merge pull request #61 from mattclegg/patch-1, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 11391ea 142/187: Try a new 256 colors palette, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 1ae8236 144/187: Merge branch 'new-256', ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme e375b6f 153/187: Merge branch 'add-lsp-ui', ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 17cf5f0 162/187: Merge branch 'kekeimiku-master', ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme e559624 148/187: Fix speedbar-highlight-face and add speedbar-separator-face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 597d5da 150/187: Add faces hardcoded by lsp-ui, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 4c88947 155/187: Complete support of message, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme f98f9bd 157/187: Improve a little test script,
ELPA Syncer <=
- [nongnu] elpa/dracula-theme bc149fd 161/187: Correctly sort selectrum-mode dracula colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 509293b 011/187: Release v1.2.1, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 1fb685d 018/187: Merge pull request #1 from fm4d/patch-1, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme fe70bc4 036/187: Merge pull request #13 from Nollo/cercueil, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 0b865af 044/187: Bump version 1.2.9, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 9f03ced 046/187: Merge pull request #19 from apierz/fix_term_bg, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme f9d1967 001/187: Add the emacs theme to ./emacs, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme f444ede 007/187: Emacs: set which-func-mode-face., ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme dc5186e 012/187: Fix hl-line-mode for emacs (#121), ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 8247743 016/187: Fixed typo in README, ELPA Syncer, 2021/10/21