summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
AgeCommit message (Collapse)Author
2012-11-11New command geiser-repl-clear-bufferJose Antonio Ortega Ruiz
Just renamed geiser-repl--clear-buffer (we don't use -- when users can call the command with M-x normally) and added documentation.
2012-11-09New function 'geiser-repl--clear-buffer'Jonas Rodrigues
2012-10-27Filename completion also in scheme buffersJose Antonio Ortega Ruiz
By means of a new entry in completion-at-point-functions that uses the handy comint-filename-completion.
2012-10-24Completing file names at the REPL, but only in string contextsJose Antonio Ortega Ruiz
2012-10-24Completing file names at the REPLJose Antonio Ortega Ruiz
When no other completion is available, that is.
2012-10-23New custom var `geiser-repl-save-debugging-history-p'Jose Antonio Ortega Ruiz
This variable controls whether REPL command history should contain inputs during the debugger sessions (for schemes with such a thing, that is, for Guile).
2012-10-13Manual lookup shortcut (C-c C-d i) also in REPL buffersJose Antonio Ortega Ruiz
2012-09-02racket: displaying images also during evaluationsJose Antonio Ortega Ruiz
2012-09-02Image support: buttons and auto-display in the REPLJose Antonio Ortega Ruiz
When geiser-repl-inline-images-p is false (or we're in a terminal), the inserted text replacement is a button that calls the external viewer on click. There's also a parameter controlling whether the viewer should be invoked automatically upon insertion.
2012-09-02Image display functionality refactored to its own moduleJose Antonio Ortega Ruiz
2012-08-15Simplified image display.Michael W
Emacs now remembers the directory that Racket put the last image in. It leaves up to 10 previously viewed images in this directory, providing an 'image history'. This also reduces memory requirements; emacs no longer reads image content into memory.
2012-08-15Documentation improvementsMichael W
2012-08-12[WIP] Add capability for images to be viewed in an external image viewer.Michael W
2012-08-12[WIP] Emacs cleans up temp. images, and a parameter controls whether or not ↵Michael W
they are displayed in the REPL.
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-06-09Support for user-defined Guile info nodesJose Antonio Ortega Ruiz
In my debian machine, the info nodes for guile live in the "guile-2.0" node, rather than plain "guile". A new customizable variable, geiser-guile-manual-lookup-nodes, lets now specify additional names, and we only add indexes to the info-lookup mode definition when the node actually exists.
2012-02-05Keeping autodoc active in the REPLJose Antonio Ortega Ruiz
We were not re-activating it on new input, cause we weren't detecting the prompt unless preceeded by other output (and, hence, a newline).
2011-09-08bug fix: make C-c C-z behave with run-geiserJose Antonio Ortega Ruiz
The nice go-back-to-previous-scheme-buffer behaviour of C-c C-z wasn't working when the jump from a scheme file to the REPL was initiated via run-geiser. Thanks, Marijn.
2011-08-20REPL: restore TAB indenting behaviour around whitespaceJose Antonio Ortega Ruiz
2011-08-20REPL: new customizable faces for input and promptJose Antonio Ortega Ruiz
Namely, geiser-font-lock-repl-prompt and geiser-font-lock-repl-input.
2011-08-20elisp: customizable patience amount on racket startupJose Antonio Ortega Ruiz
In this little notebook i'm using, racket takes its time to start. In fact, it can take more the previously slotted 10 seconds. Hence the new geiser-repl-startup-time variable.
2011-06-23Avoid (read) breakage (fixes #33090)jao
Autodoc was firing while the REPL was waiting for input of a (read) call, causing all kinds of misbehaviour. We now inhibit autodoc on sending a form for evaluation and re-inhibit it once a prompt is read back again.
2011-03-06Bug fix: don't confuse REPL buffersJose Antonio Ortega Ruiz
We were not checking the implementation associated to a REPL buffer when reusing it, with much confusion ensued.
2011-03-06Missing require formJose Antonio Ortega Ruiz
2011-03-06Elisp nitJose Antonio Ortega Ruiz
Nothing interesting, really.
2011-03-05Bug fix: honour geiser-repl-use-other-windowJose Antonio Ortega Ruiz
2011-02-14Guile REPL: bug fix: correctly track debugging statusJose Antonio Ortega Ruiz
We weren't tracking the "enter debugger" event correctly, and all evaluations in debug mode were failing. There's still (at least) another bug, because error navigation in backtraces seems broken.
2011-02-11Bug fix: M-x geiser-edit-module works again in the REPLJose Antonio Ortega Ruiz
2011-02-03Off-by-one in geiser-repl-tab-dwimJose 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).
2011-01-24company-mode fixes (an attempt to fix #32231)Jose Antonio Ortega Ruiz
i hope the anonymous reporter will check this...
2011-01-23geiser-repl--tab -> geiser-repl-tab-dwimJose Antonio Ortega Ruiz
Following a suggestion by M. Harig, and following the policy that it's better for command names to not be doubly hyphenated.
2011-01-07REPL: M-TAB bound to completion-at-pointJose Antonio Ortega Ruiz
TAB already does all the other stuff.
2011-01-07REPL: fix for history navigationJose Antonio Ortega Ruiz
We were using a comint-get-old-input function that was including the prompt in its returned value. This was no problem most of the time because we don't use comint-send-input before the process mark, but there's another circumstance under which comint-get-old-input is called, namely, when reaching the end of the input history. When history is exhausted, the "old input" is inserted (go figure), and we were inserting a prompt, wreaking havoc with its read-only-ness.
2010-11-26Remove unnecessary calls to symbol-at-pointJose Antonio Ortega Ruiz
... which interns the symbol in the global obarray: rather unfriendly. We still need to remove a few calls to that beast, and avoid intern in the scheme reader.
2010-11-25Completion: respecting tab-always-indentJose Antonio Ortega Ruiz
... and actually using it to implement geiser-smart-tab-mode. Always nice to un-reinvent-the-wheel.
2010-11-25Guile: fix for connect-to-guile problemsJose Antonio Ortega Ruiz
Was a real bug, after all, and quite reproducible. Sending an ,use metacommand was not returning a prompt, and we were waiting for ever to start (or almost). Now, connect-to-guile is not only right, but spiffy again.
2010-11-22Fix for compiled GeiserJose Antonio Ortega Ruiz
geiser-repl was missing a (require 'geiser-doc) that was making things go pretty awry for compiled geiser on os x (emacs 23.2.20), but nowhere else, for reasons that escape me. Issue was, the popup buffer macros were not seen. Go figure.
2010-11-15REPL: sexpy history file (fix for #30269)Jose Antonio Ortega Ruiz
The trick consists on using a comint-input-ring-separator that is *not* a newline, both for reading and writing the history file.
2010-11-14Smoother REPL exit (deactivating the connection)Jose Antonio Ortega Ruiz
2010-11-14Smoother reloadJose Antonio Ortega Ruiz
Let's not wait for active connections to clear their queue when we're shutting down the REPL.
2010-11-13CleanupsJose Antonio Ortega Ruiz
Nothing here, move on.
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-12Debugger support, and Guile using itJose Antonio Ortega Ruiz
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-11-11Racket reconnectedJose Antonio Ortega Ruiz
2010-11-11Elisp support for inferior schemesJose Antonio Ortega Ruiz
2010-11-11Partial work (connections working)Jose Antonio Ortega Ruiz