[Top][All Lists]

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

[Geiser-users] Fwd: racket pict

From: Tobias Gerdin
Subject: [Geiser-users] Fwd: racket pict
Date: Mon, 26 Mar 2012 20:27:09 +0200

 2012/3/18 Jose A. Ortega Ruiz <address@hidden>

Hi Matias,

On Sun, Mar 18 2012, Matias Eyzaguirre wrote:

> Hi, I'm aware that emacs can display pictures inline, and that racket
> has a picture mode in slideshow/pict, are there any plans to be able
> to view these within a REPL in a similar manner to drracket? For that
> would be very glorious, in my opinion.

That would be glorious indeed, but quite difficult to do due to the way
geiser works right now, which consists on delegating as much as it can
to the scheme REPL via a text-based communication channel... and that in
a way generic enough to be applied to other schemes.

I cannot think of an easy way of accomplising what you want without
essentially rewriting the whole thing, but would be delighted to be
proved wrong...

FWIW I implemented this kind of functionality in a comint-mode buffer for my friend's functional drawing language Shapes:

(see for a screenshot)

In that case the REPL wrote image values to a file and then printed out the filename, which a comint output filter replaced with the actual image. Very simple.

reply via email to

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