summaryrefslogtreecommitdiff
path: root/scheme/racket
AgeCommit message (Collapse)Author
2012-08-12[WIP] Draw images inline in the Racket REPL.Michael W
On the racket side, we use a custom print handler to print images (convertible? values; see file/convertible) in a special format: #<Image: filename> On the geiser side, we add a comint post-output hook to search for that filename and replace it with inline images.
2012-07-01Racket: fix for module compilation for recent racketsJose Antonio Ortega Ruiz
This one probably requires Racket 5.3, and incorporates some parameterization to the module compilation and evaluation code in Geiser's version of enter.rkt. I'm mostly mirroring what the latter does, and i'm probably not completely understanding all corner cases, so the two users of Geiser should keep an eye open for possible breakage introduced by this patch.
2012-03-24,cd for Racket REPLJose Antonio Ortega Ruiz
It's not perfect and undocumented, but useful nonetheless.
2011-11-26Racket: capturing and displaying standard error during evaluationJose Antonio Ortega Ruiz
This bugs was exposed by using rackunit, where all the output of, say, check-eq? was lost for good (it was being sent to the stderr black hole). Hat tip Grant Retkke.
2011-08-20Leftover code from the previous patch removedJose Antonio Ortega Ruiz
2011-08-20Racket: eval geiser-eval's apply arguments properlyJose Antonio Ortega Ruiz
As Stanisław Halik reported, autodoc was receiving a mlist (instead of a list) as its argument when invoked in an R5RS context. Turns out we were evaluating geiser-eval's arguments in the wrong context (the procedure being applied and the arglist belong to the same namespace).
2011-03-21Racket: use the proper interaction port for input (#32844)Jose Antonio Ortega Ruiz
Thanks to Caleb Reach. We were using current-input-port, which is not the right port in graphical environments.
2011-03-06Racket: geiser-add-to-load-path implementedJose Antonio Ortega Ruiz
And we take the chance to lightly document the existence of this new command in the user manual.
2011-02-27Racket: no errors ,entering an R5RS moduleJose Antonio Ortega Ruiz
The catch here is that one cannot use #%variable-reference inside an R5RS module, and, as a consequence, namespace->module-path-name was failing badly. The solution is to take note of the module name being entered before hand, and use that name in case of error (we could actually use that name always, but then cheaters using Racket's enter! would see an inconsistent name (which probably they deserve)).
2011-01-09Racket: ',enter "foo"' as a synonym of ',enter (file "foo")'Jose Antonio Ortega Ruiz
2010-11-27No more interning in the scheme readerJose Antonio Ortega Ruiz
We avoid using elisp's read for symbols, reading uninterned ones instead. And then, we cannot use symbols as keys in responses from scheme: we're using strings instead.
2010-11-26Racket: more information in symbol documentationJose Antonio Ortega Ruiz
When the symbol is imported and re-exported by a second module, we display its definition name and original module, besides the name of the module re-exporting it.
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-21Racket: showing submodules in module helpJose Antonio Ortega Ruiz
2010-11-21Racket: slightly better handling of the signatures cacheJose Antonio Ortega Ruiz
Refreshing the cache on form evaluation (had been deactivated by error since the introduction of meta-commands). The current behaviour is not yet completely correct: if one evaluates a form in a modified buffer, geiser won't notice the new definition's signature, not even after the buffer is saved if one has gone around asking for autodoc before that. An improvement would be to make the cache sensitive to file write times, as suggested back in the day by Eli & Neil.
2010-11-21Better module helpJose Antonio Ortega Ruiz
We now display procedure signatures in module help, and keep a cache in Guile, using procedure properties.
2010-11-14Support for implementation-specific font lock keywordsJose Antonio Ortega Ruiz
Spinning up from correct fontification of [else in this brave Racket world. I'm keeping the list of extra keywords lean and mean, but making it customizable in both Racket and Guile.
2010-11-13Superior schemesJose Antonio Ortega Ruiz
Inferior schemes weren't really a good idea, were they? With remote connections one can launch an external scheme to debug Geiser anyway. And everything is (ahem, will be) simpler when we add new implementations.
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-11Racket reconnectedJose Antonio Ortega Ruiz
2010-11-11Partial work (connections working)Jose Antonio Ortega Ruiz
2010-11-09Racket: remote REPLsJose Antonio Ortega Ruiz
2010-11-08geiser-squarify to toggle between () and []Jose Antonio Ortega Ruiz
2010-11-08Racket: fix for prompt display on ,enterJose Antonio Ortega Ruiz
2010-11-08Racket: use EOT token for internal communicationsJose Antonio Ortega Ruiz
2010-11-07NitJose Antonio Ortega Ruiz
2010-11-07NitsJose Antonio Ortega Ruiz
2010-11-06Racket: little evaluation nitsJose Antonio Ortega Ruiz
2010-10-30Racket: ,eval -> ,geiser-evalJose Antonio Ortega Ruiz
2010-10-30Racket: using meta-commands instead of dynamic-require (#30347)Jose Antonio Ortega Ruiz
- Much more robust: dynamic-require might not have been defined in the REPL's namespace. - Fixes #30347 as a side-effect: now all Geiser functions work with typed scheme too.
2010-10-30Racket: new meta-commands: ,eval ,apply ,no-valuesJose Antonio Ortega Ruiz
2010-10-29Racket: ,enter meta-command instead of namespace clobberingJose Antonio Ortega Ruiz
2010-10-15Racket nit: racket/base instead of scheme/baseJose Antonio Ortega Ruiz
2010-09-02Racket: better stack traces using errortraceJose Antonio Ortega Ruiz
2010-08-19Redisplaying the prompt after empty lines on the REPL.Jose Antonio Ortega Ruiz
2010-07-28Displaying variable values in autodoc.Jose Antonio Ortega Ruiz
2010-07-24Racket: catching errors during contract retrieval.Jose Antonio Ortega Ruiz
2010-07-24Truncating lines in documentation browser.Jose Antonio Ortega Ruiz
2010-07-24Racket: showing contracts in module documentation.Jose Antonio Ortega Ruiz
2010-07-04Racket: serious bug preventing file compilation fixed.Jose Antonio Ortega Ruiz
2010-06-17Wee refactoring.Jose Antonio Ortega Ruiz
2010-06-17Racket: using `_' for naming unknown args in autodoc.Jose Antonio Ortega Ruiz
2010-06-10Racket: improvements in module lookups.Jose Antonio Ortega Ruiz
- We now correctly register submodules and handle main files. - We contemplate the possibility that a module is accessed using different paths.
2010-06-09Racket: improvements in non-loaded module location.Jose Antonio Ortega Ruiz
2010-06-08Racket: square cosmetics.Jose Antonio Ortega Ruiz
2010-06-08Racket: autodoc for struct constructorsJose Antonio Ortega Ruiz
2010-06-08Racket: fix for kwargs display.Jose Antonio Ortega Ruiz
2010-06-05Racket: providing error contextsJose Antonio Ortega Ruiz
2010-06-05Racket: off-by-one bug in module name completionsJose Antonio Ortega Ruiz