[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 9c08f27 203/284: Make do with a single connec
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 9c08f27 203/284: Make do with a single connection |
Date: |
Sun, 1 Aug 2021 18:29:45 -0400 (EDT) |
branch: elpa/geiser-guile
commit 9c08f27ca364529c533e395b30200993a4900e36
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Make do with a single connection
Separate connections for the REPL and Geiser commands was kind of
neat, but it had the problem of synchronising the current namespace
for both connections. A quick fix would have been to ask the scheme
for the current namespace for every Geiser command in the REPL, but
that, besides clunky, would add potentially prohibitive overhead for
(real) remote connections.
As it happens, using a single connection turned out to be not that
difficult and relatively clean code-wise. We could even turn back to
not use inferior schemes, and the net result of this refactoring would
be the replacement of comint-redirect (which wasn't able to match the
whole EOT token if it didn't arrive all at once) by transaction queues
(which also makes geiser-connection's implementation cleaner).
But using an inferior scheme has a dog-food value, and allows external
processes to connect to the scheme being used by Geiser without
further ado, which could be useful for debugging (although this is a
lame excuse: nothing prevents you from starting a REPL server from
emacs if you want). We'll see.
---
geiser/evaluation.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index d7d0a68..305ccfd 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -50,7 +50,6 @@
(define (write-result result output)
(write (list (cons 'result result) (cons 'output output)))
- (write-char #\nul)
(newline))
(define (call-with-result thunk)
- [nongnu] elpa/geiser-guile 9ff3140 083/284: Guile: backtrace buttonization., (continued)
- [nongnu] elpa/geiser-guile 9ff3140 083/284: Guile: backtrace buttonization., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7b0d68b 117/284: Guile: better stack traces (using start-stack to delimit them)., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 9b414b4 120/284: Missing entries in scheme/Makefile.am added., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 044c88e 134/284: Guile: small tweak., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile aaa22fb 136/284: Guile: showing again submodules in module documentation., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3c5cf80 149/284: Guile: better formatting of autodoc's variable values., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile c732ede 141/284: Guile: no need to de-mangling autodoc args anymore., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 6048041 173/284: Fix for the fix, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile ce57385 188/284: Guile: shorten a bit more multi-line sexps sent to REPL, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3bb3672 200/284: Better EOT token for more robust communication, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 9c08f27 203/284: Make do with a single connection,
Philip Kaludercic <=
- [nongnu] elpa/geiser-guile 3618844 210/284: Guile: button for texinfo lookup in doc browser, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 420a8c4 222/284: Guile: setting *current-warning-prefix* during evaluation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4c02219 227/284: Guile: capturing output to standard error, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 09e2247 230/284: Little clean-ups to the indentation rules, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile af0122c 238/284: Fix: not using mapcar for effect, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7d17a3c 236/284: Guile: augmenting %load-compiled-path too, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 08d4524 252/284: Use OS-specific quotes when asking for versions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3ba4ad4 242/284: Guile: font lock for all components of module names, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile cf8498d 219/284: Guile: 'format' added to the warning list, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 55efccc 226/284: Guile: deprecated format usage eliminated, Philip Kaludercic, 2021/08/01