summaryrefslogtreecommitdiff
path: root/elisp
AgeCommit message (Collapse)Author
2012-09-02Credits in headerJose 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-07-01Correctly buttonizing paths with leading spaces in DBG buffersJose Antonio Ortega Ruiz
Just adjusting a regexp.
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-04-16Racket: indentation for all 'for' formsJose Antonio Ortega Ruiz
We had only for two of them, and one was wrong!
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).
2012-01-31Better indentation for Racket's for/hashJose Antonio Ortega Ruiz
2012-01-17Correct indentation for syntax-id-rulesJose Antonio Ortega Ruiz
Hat tip Marijn.
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-10-01Bug fix: avoiding sending unbalanced sexps in C-c C-r and friendsJose Antonio Ortega Ruiz
We were not checking that the region sent to the scheme process was balanced, resulting in said process waiting for ever on `read' (or its moral equivalent in our current implementation). We now just refuse to evaluate an improper region in the first place.
2011-09-15Compatibility with filladapt.Jose Antonio Ortega Ruiz
Seems like the add-on package filladapt.el is broken in that its version of fill-adapt uses a non-optional first argument. Aquamacs users were filling the pain. Fixed by passing nil in our call to fill-paragraph. Hat tip Jonathan Oddie.
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-08-02elisp: add-hook doesn't need a defvared hookJose Antonio Ortega Ruiz
Thanks, Leo.
2011-06-23Irrelevant compilation warning fixjao
Using called-interactively-p instead of interactive-p, if you have to know. The latter is deprecated as of Emacs 23.2, which the lowest version supported by Geiser.
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-06Fix for harmless elisp compilation warningJose Antonio Ortega Ruiz
2011-03-05Bug fix: honour geiser-repl-use-other-windowJose Antonio Ortega Ruiz
2011-02-14Fix for the fix of the fixJose Antonio Ortega Ruiz
2011-02-14Fix for the fixJose 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-14Guile: indentation for `with-error-to-port`Jose Antonio Ortega Ruiz
2011-02-11Bug fix: M-x geiser-edit-module works again in the REPLJose Antonio Ortega Ruiz
2011-02-09More robust retort detectionJose Antonio Ortega Ruiz
Some schemes (okay, Guile) may output spurious messages besides a well-formed retort. This will be eventually fixed; in the meantime, we try to skip the noise (and may fail miserably if that noise has a form similar to the signal we search).
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-25Company fixes (module name completion)Jose Antonio Ortega Ruiz
We were not handling properly mixing id and module names completion. In Guile, it's a lost cause, because module names are not identifiers and, therefore, don't share prefixes. In Racket, things are nicer in that respect: there we can offer both at once. In Guile, one at least has (thanks to this patch, too) M-`.
2011-01-24company-mode fixes (an attempt to fix #32231)Jose Antonio Ortega Ruiz
i hope the anonymous reporter will check this...
2011-01-23Fix for bug in module name completion (affecting Guile)Jose Antonio Ortega Ruiz
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-11C-c C-Z -> C-c C-aJose Antonio Ortega Ruiz
Since C-c C-z/Z apparently conflict with each other, and the new keybinding is more friendly anyway.
2011-01-09Docstring typosJose Antonio Ortega Ruiz
Mark, again.
2011-01-09Autodoc mode (de)activation fix.Jose Antonio Ortega Ruiz
Quoth Mark: When the Geiser minor mode is toggled off using the command `geiser-mode', the message: Toggling eldoc-mode off; better pass an explicit argument. is displayed in the echo area. This is traceable to line 219: (eldoc-mode geiser-autodoc-mode) The function `eldoc-mode' takes numeric arguments, while `geiser-autodoc-mode' returns boolean values. Here is a simple patch: (eldoc-mode (if geiser-autodoc-mode 1 -1))
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.
2011-01-03Really avoiding *spurious* buffersJose Antonio Ortega Ruiz
My previous attempt was bogus! Also, i'm taking advantage of our sending queries serially to simplify transaction queue processing, and to clean after ourserlves on error.
2011-01-02More robust symbol reading (instead of specializing for quack)Jose Antonio Ortega Ruiz
Let's use the scheme reader instead of half-assed regular expressions and special-casing.
2011-01-02More quackismsJose Antonio Ortega Ruiz
2011-01-02Fix for quack usersJose Antonio Ortega Ruiz
Apparently, quack makes (thing-at-point 'symbol) to return "#" when point is looking at a hash symbol, causing havoc to geiser. This patch defends us about this behaviour.