Hi
I tried to use Emacs as suggested in the manual, and I also tried the Quack mode. Either I'm not using them right, or they just don't provide the functionality I need. I'm not looking for something as advanced as SLIME necessarily (which AFAIK only works with Scheme48), but at least something like what you get with ELISP:
When you are editing a file, and eval an expression to the REPL, you get an answer in the minibuffer (which should temporarily expand if necessary) Also, if there is an error, you get a kind of pop-up window that's easy to dismiss and get to the top level of the REPL. I don't get these with Quack or Gambit mode.
How do you make this work with Emacs? Commercial IDEs ruined this for me.
Afficher les réponses par date
I'll try to phrase the question simpler:
When you C-x C-e, where do you see the answer? Is it possible to redirect it to the minibuffer instead?
On Fri, Aug 14, 2009 at 3:27 PM, FFTfft1976@gmail.com wrote:
Hi
I tried to use Emacs as suggested in the manual, and I also tried the Quack mode. Either I'm not using them right, or they just don't provide the functionality I need. I'm not looking for something as advanced as SLIME necessarily (which AFAIK only works with Scheme48), but at least something like what you get with ELISP:
When you are editing a file, and eval an expression to the REPL, you get an answer in the minibuffer (which should temporarily expand if necessary) Also, if there is an error, you get a kind of pop-up window that's easy to dismiss and get to the top level of the REPL. I don't get these with Quack or Gambit mode.
How do you make this work with Emacs? Commercial IDEs ruined this for me.
2009/8/15 FFT fft1976@gmail.com:
I'll try to phrase the question simpler:
When you C-x C-e, where do you see the answer? Is it possible to redirect it to the minibuffer instead?
Not sure I understand what you want, but if I get Gambit running (M-x run-scheme) and hit C-x C-e after an expression in a Scheme file buffer, the expression shows up and is executed in the "Inferior Scheme:run" window (the REPL), the same as if I had copy/pasted the expression into it and hit return.
Doing it with C-x C-e is handy since you don't lose focus from the Scheme file you're editing, and if you have split windows you can watch what happens immediately.
The only slight problems I have, which is probably because I don't know much about Emacs, is that even with one running REPL onscreen, when an error occurs a second one sometimes pops up (only the first time, it seems...). Then I have one .scm file and two duplicate REPL windows, which is a bit... odd. Also, as mentioned in another thread, hitting C-d to jump to the enclosing REPL on my Windows box now causes Gambit to go into an infinite loop so I have to use the ",d" command.
Oisín
On Fri, Aug 14, 2009 at 3:27 PM, FFTfft1976@gmail.com wrote:
Hi
I tried to use Emacs as suggested in the manual, and I also tried the Quack mode. Either I'm not using them right, or they just don't provide the functionality I need. I'm not looking for something as advanced as SLIME necessarily (which AFAIK only works with Scheme48), but at least something like what you get with ELISP:
When you are editing a file, and eval an expression to the REPL, you get an answer in the minibuffer (which should temporarily expand if necessary) Also, if there is an error, you get a kind of pop-up window that's easy to dismiss and get to the top level of the REPL. I don't get these with Quack or Gambit mode.
How do you make this work with Emacs? Commercial IDEs ruined this for me.
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
On Sat, Aug 15, 2009 at 4:34 AM, Oisíndenpashogai@gmail.com wrote:
2009/8/15 FFT fft1976@gmail.com:
Doing it with C-x C-e is handy since you don't lose focus from the Scheme file you're editing, and if you have split windows you can watch what happens immediately.
Yes, but the output doesn't go to the minibuffer (the 1-line buffer on the bottom). That's what I don't like.
The only slight problems I have, which is probably because I don't know much about Emacs, is that even with one running REPL onscreen, when an error occurs a second one sometimes pops up (only the first time, it seems...). Then I have one .scm file and two duplicate REPL windows, which is a bit... odd.
I see that too. Very annoying, because it happens all the time, and somewhat unpredictably. All the C-X-1's and C-X-B's start to hurt my fingers besides being distracting.
I would have thought, with Emacs being the major platform for Scheme/Gambit usage, people would have good reliable solutions to that.