geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Geiser-users] Using geiser from elisp


From: Jose A. Ortega Ruiz
Subject: Re: [Geiser-users] Using geiser from elisp
Date: Mon, 26 Nov 2012 01:37:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

On Sun, Nov 25 2012, address@hidden wrote:

> I've just installed Geiser, with an eye towards using it to improve
> support for scheme in org mode, and could use some help getting
> acquainted with Geiser.
>
> I can create a geiser REPL, and interact with it directly, but I can't
> seem to switch between the REPL and a source file. When I hit C-c C-z
> in the source file, it always fires up another REPL; when I do that
> from the REPL, nothing seems to happen (focus stays in the REPL). Any
> speculation on what I might be doing wrong would be appreciated.

Hard to say :) What versions of Emacs and Geiser are you using? What
scheme and version?  How did you install Geiser?

> Ultimately, I need to interact with geiser through emacs lisp, so any
> pointers on that would also be appreciated.

Geiser starts a REPL and then sends messages to it using the evaluation
functions in geiser-eval.el.  Those functions take either scheme strings
or sexp-based DSL: the reason it's not pure scheme is that it uses
tailored evaluation functions, telling the underlying scheme in what
namespace the given expression should be evaluated, and also having
shortcuts for some pre-defined Geiser functionality such as autodoc.

If you take a look at geiser-eval.el and experiment a bit with the
functions there, there shouldn't be too difficult to get the gist of
it... but it's not documented, so please feel free to keep asking around
here.

Cheers,
jao
-- 
A language that doesn't affect the way you think about programming is
not worth knowing.  - Alan Perlis, Epigrams in Programing



reply via email to

[Prev in Thread] Current Thread [Next in Thread]