[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/poke d29be6c3a7 18/76: poke.el: highlight errors and wa
From: |
ELPA Syncer |
Subject: |
[elpa] externals/poke d29be6c3a7 18/76: poke.el: highlight errors and warnings |
Date: |
Tue, 5 Apr 2022 14:59:33 -0400 (EDT) |
branch: externals/poke
commit d29be6c3a7151cee1ad59bf1172f9a65ad72f848
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Commit: Jose E. Marchesi <jose.marchesi@oracle.com>
poke.el: highlight errors and warnings
---
poke.el | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/poke.el b/poke.el
index 363c46b1d3..a442099db4 100644
--- a/poke.el
+++ b/poke.el
@@ -83,6 +83,10 @@
"Face for addition thunk lines.")
(defface poke-iter-string-face '((t :bold t))
"Face for iteration separator in *poke-out* buffer.")
+(defface poke-error-face '((t :bold t :foreground "red"))
+ "Face for error messages.")
+(defface poke-warning-face '((t :foreground "yellow"))
+ "Face for warning messages.")
;;;; Poke styling classes
@@ -97,7 +101,9 @@
("struct-field-name" poke-struct-field-name-face)
("diff-thunk-header" poke-diff-thunk-header-face)
("diff-minus" poke-diff-minus-face)
- ("diff-plus" poke-diff-plus-face)))
+ ("diff-plus" poke-diff-plus-face)
+ ("error" poke-error-face)
+ ("warning" poke-warning-face)))
;;;; poked
@@ -611,8 +617,8 @@ fun plet_elval = (string s) void:
(setq poke-repl-seq 0)
(let ((buf (get-buffer-create "*poke-repl*")))
(with-current-buffer buf
- (insert "Welcome to GNU poke.\n")
(poke-repl-mode))))
+ (poke-code-send "poke_el_banner;")
(when (called-interactively-p)
(switch-to-buffer-other-window "*poke-repl*")))
@@ -620,6 +626,12 @@ fun plet_elval = (string s) void:
(defconst poke-pk
"\
+fun poke_el_banner = void:
+{
+ /* XXX include libpoke version. */
+ print \"Welcome to GNU poke.\\n\";
+}
+
fun quit = void:
{
plet_elval (\"(poke-exit)\");
@@ -654,9 +666,9 @@ fun quit = void:
(poke-poked)
(sit-for 0.2))
(poke-elval)
+ (poke-code-send poke-pk)
(poke-repl)
(poke-vu)
- (poke-code-send poke-pk)
(delete-other-windows)
(switch-to-buffer "*poke-vu*")
(switch-to-buffer-other-window "*poke-out*")
- [elpa] branch externals/poke created (now 454a62bdd8), ELPA Syncer, 2022/04/05
- [elpa] externals/poke b517d98e21 05/76: poke.el: improvements in *poke-out*, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 020c404fce 12/76: poke.el: convert poke-out to the new infrastructure, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 943fdf7d84 11/76: poke.el: new pokelet protocol infrastructure and convert poke-elval, ELPA Syncer, 2022/04/05
- [elpa] externals/poke d29be6c3a7 18/76: poke.el: highlight errors and warnings,
ELPA Syncer <=
- [elpa] externals/poke 83459fae6e 09/76: poke.el: new pokelet elval and plet_elval, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 84913982b0 23/76: poke.el: set_ios support, ELPA Syncer, 2022/04/05
- [elpa] externals/poke ad7ecfce56 28/76: poke.el: highlight lines in *poke-ios*, ELPA Syncer, 2022/04/05
- [elpa] externals/poke b88ff20148 31/76: poke.el: couple of small fixes, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 44f8443088 35/76: poke.el: minor fixes, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 46d106a707 40/76: poke.el: remove some non-needed functions, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 67aec94f24 42/76: poke.el: improvements in poke-edit, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 4e561bd42c 45/76: poke.el: several fixes, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 1de8a96a83 47/76: poke.el: more settings and frame layout, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 4fe7b7d8d3 48/76: poke.el: fix pouplating map buffer, ELPA Syncer, 2022/04/05