[plt-scheme] code completion with plt?

From: Rohan Nicholls (rohan.nicholls at pareto.nl)
Date: Fri Jan 20 07:18:37 EST 2006

On Thu, 19 Jan 2006 08:27:08 -0600
Robby Findler <robby at cs.uchicago.edu> wrote:

> For now, best I can offer you wrt #2 is the "f1" key. It searches in
> help desk for the text around the insertion point, popping up a Help
> Desk window. Is that what you're looking for?
> 
> Robby

Thanks, this is similar to what I do now.  The only problem is working
with both Dr.Scheme and the help-desk at the same time is brings my
aged laptop to a standstill (drscheme ~90M, help-desk ~55M), so I
usually have drscheme open only when I am debugging some code as the
tools it supplies are so nice.  I have just had a closer look and
noticed that running the help-desk from within drscheme greatly
reduces the memory consumption (~90M for both).  

I noticed the quack-view-keyword-docs command which almost does what I
am looking for, and mentioning the "f1" key behaviour in drscheme
which would be great to have from emacs. I have looked at the
help-desk command-line and there is not much in the way of options, is
there a way to send a search request to the help-desk from emacs? It
looks like drscheme opens the help-desk in a child process/thread
which allows it to send it information, so maybe this is not an
option.   I was remembering that the help-desk used to have a server
process running which it connected to, or alternatively you could
connect with some other browser, is this still possible?

Now that I have figured out that working with drscheme and help desk
in a child process is less memory hogging (ie. runnable), I will be
using more from now on.  There were some other issues with keybindings
but they seem to have gone away now.  I guess the overhead is mred and
wxWindows when running them seperately.

Thanks for the reply and forcing me to make these discoveries.

Rohan

> 
> At Thu, 19 Jan 2006 15:04:49 +0100, Rohan Nicholls wrote:
> > Hi again,
> > 
> > I have another question.  I am really impressed with the improvements
> > to Dr. Scheme and the way plt has been developing in general, thanks to
> > all those who have obviously put in a lot of hard work.  It is fab to
> > have an open source lisp that works consistently on just about
> > everything, and is so well packaged and documented.
> > 
> > I have been using slime with sbcl, and one thing I found fab was1 1.
> > being able to attach to an already running process 2. having completion
> > help based on the image you are working on (fuzzy completion is fab).
> > 
> > Is there anything out there with something similar to #2?  I have been
> > getting ecb working and once I point it at the collects it should be
> > helpful.  That said most of my needs are met by the wonderful
> > help-desk, but sometimes you just need a nudge to remember the
> > parameter order, or the name of that function on the tip of your brain.
> > 
> > As to #1, it would be useful while running something like the
> > webserver, is there anything that can do this, or would an extension
> > need to be added to slime?
> > 
> > This is mostly convenience and laziness talking, but I thought I would
> > ask as it would be the icing on an already delicious cake.:-)
> > 
> > Thanks again for all the work.
> > 
> > Rohan
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.