summaryrefslogtreecommitdiff
path: root/geiser/evaluation.scm
AgeCommit message (Collapse)Author
2020-07-20geiser -> srcjao
2015-12-14Fixing guile 2.2 compatibilityJose Antonio Ortega Ruiz
2015-12-14Support for guile-2.2Jose Antonio Ortega Ruiz
Using cond-expand to provide support for the new world of guile 2.2
2015-09-10Speeding up debugger check (addresses #64)Jose Antonio Ortega Ruiz
Soooo, the long delay experienced when evaluating long string lists in Guile had nothing to do with the time took by emacs to read the response from the scheme process; that process is always a breeze, no matter or its format or number of newlines. The delay was provoked by an innocent looking function that scans the received string (which includes a prompt at the end as an EOT marker) to check whether Guile (or any other scheme) has just entered the debugger (that's done inside `geiser-con--connection-update-debugging`). For some reason, `string-match` on that kind of string using Guile's regexp for a debug prompt takes forever. Instead of trying to optimize the regular expression, i've just applied it to the *second* line of the received string, which is the one that contains the response's prompt.
2015-09-08Ensuring switch-to-geiser asks for an implementationJose Antonio Ortega Ruiz
Should fix issue #85
2015-09-03guile: pretty printing evaluation results (#64)Jose Antonio Ortega Ruiz
We use the same trick as chicken for guile, and pretty-print the evaluation results before writing them. The trick wasn't working at all until i specified a value for the undocumented keyword parameter `#:max-expr-width`, which makes me think i might be missing something.
2013-09-13Guile: augmenting %load-compiled-path tooJose Antonio Ortega Ruiz
We add the paths in geiser-guile-load-path also to %load-compiled-path, and new directories added to the load path via geiser-add-to-load-path are added to both %load-path and %load-compiled-path. Here's hope Ludovic will like all these additions!
2011-09-11Guile: capturing output to standard errorJose Antonio Ortega Ruiz
We were just ignoring it so far!
2011-02-25Guile: setting *current-warning-prefix* during evaluationJose Antonio Ortega Ruiz
This is a 2.0 fluid that governs how warning messages are displayed. In Geiser, we need the prefix set to an empty string so that file paths are clickable (and the display in a separate emacs buffer is nicer).
2011-02-09Guile: 'format' added to the warning listJose Antonio Ortega Ruiz
2011-02-03New geiser-add-to-load-path, just for Guile right nowJose Antonio Ortega Ruiz
As per Andy's request. Adding it to Racket (and to the user manual), shouldn't be difficult).
2010-11-23Document browser improvements, and Racket using themJose Antonio Ortega Ruiz
We have a new "manual lookup" command, and Racket now displays a doc browser buffer for help with a button activating it. In the process, we've cleaned-up a little mess in geiser-eval.el and geiser-doc.el, and refactored the affected Racket modules. Next in line is providing manual lookup for Guile.
2010-11-12Make do with a single connectionJose Antonio Ortega Ruiz
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.
2010-11-12Better EOT token for more robust communicationJose Antonio Ortega Ruiz
2010-11-12Guile reconnected (but not debuggable (yet))Jose Antonio Ortega Ruiz
Or the importance of EOL. Switching to a transaction queue for communication with the Scheme process means that i had to care about sending eols in the queries... Guile was waiting for ever reading a metacommand taking a variable number of arguments. Argh: this has taken me a few hours -- i'm getting old.
2010-10-30Guile: using meta-commands to talk with GuileJose Antonio Ortega Ruiz
2010-10-11Guile: remote REPLs (connect-to-guile)Jose Antonio Ortega Ruiz
geiser-connect (or its specialisation, connect-to-guile) working for Guile, where the external process is started with the new --listen flag.
2010-09-07Guile: configurable warning levelJose Antonio Ortega Ruiz
2010-09-07Guile: evaluation warningsJose Antonio Ortega Ruiz
2010-06-07Guile: real fix for symbol locations (needs Guile's git head).Jose Antonio Ortega Ruiz
2010-06-06Guile: new evaluation strategy that really delimits stack frames.Jose Antonio Ortega Ruiz
2010-06-06Guile: fix for finding locations of symbols in modules outside load path.Jose Antonio Ortega Ruiz
2010-06-06Guile: fix for macroexpand.Jose Antonio Ortega Ruiz
2010-06-06Guile: better stack trace limits during evaluation.Jose Antonio Ortega Ruiz
2010-06-06Guile: evaluation fixes (current git head).Jose Antonio Ortega Ruiz
2010-04-16Guile: evaluation output collection reactivated.Jose Antonio Ortega Ruiz
with-output-to-string was broken in guile prior to 1.9.10.
2010-03-19Guile: better stack traces (using start-stack to delimit them).Jose Antonio Ortega Ruiz
2010-01-28Guile: support for the REPL debuggerJose Antonio Ortega Ruiz
On errors, we switch to the REPL, where the debugger is active.
2010-01-24Guile: Geiser now behaves correctly in buffers for unloaded modules.Jose Antonio Ortega Ruiz
2009-12-19Guile: adjustment to stack size display.Jose Antonio Ortega Ruiz
Getting rid of geiser-specific stack info -- guile seems to be providing no useful additional info in the current version.
2009-12-18Guile: fix for file loading (we always compile them now).Jose Antonio Ortega Ruiz
2009-09-23Guile: bug fix: evaluation works again (1.9.3 or better required).Jose Antonio Ortega Ruiz
2009-09-11BSD relicensing: Guile code.Jose Antonio Ortega Ruiz
2009-07-09Guile: unbreaking evaluation.Jose Antonio Ortega Ruiz
2009-07-02Simpler, nicer, more efficient handling of evaluation results. ItJose Antonio Ortega Ruiz
comes with a pony too.
2009-06-14Guile: Bug fix in the latest evaluation code changes.Jose Antonio Ortega Ruiz
2009-06-14Guile: better stack trace display.Jose Antonio Ortega Ruiz
2009-06-13Guile: rewriting stack trace captures - not yet complete.Jose Antonio Ortega Ruiz
2009-03-15Multiple values as evaluation result supported.Jose Antonio Ortega Ruiz
2009-03-02Breakdown of schemeland into neat submodules.Jose Antonio Ortega Ruiz