[ESS] Incomplete commands hang Emacs when using C-c C-t

Randy Johnson rjohnson at ncifcrf.gov
Fri Jul 6 17:32:58 CEST 2007


Emacs hangs, so I can't edit the iESS buffer. C-g, however, works  
great. Thanks!

On Jul 6, 2007, at 10:51 AM, Vincent Goulet wrote:

> Le 07-07-06 à 10:18, Sebastian P. Luque a écrit :
>
>> On Fri, 6 Jul 2007 09:44:41 -0400,
>> Randy Johnson <rjohnson at ncifcrf.gov> wrote:
>>
>>> Hello, I really like using C-c C-t to run my miscellaneous  
>>> commands, but
>>> I'm afraid that from time to time I forget a closing ')' and the  
>>> process
>>> hangs, presumably while waiting for me to finish the command (eg  
>>> "C-c
>>> C-t ls(" creates the problem). I've been force quitting and  
>>> restarting
>>> the session, but this can be rather distracting. Is there a more
>>> graceful way to recover?
>>
>> Have you tried 'C-g'?  It stops current runaway computations (most  
>> times)
>> and returns to the process.
>
> ... or sometimes just going to the iESS buffer (the command line)  
> and typing in the missing parenthesis, followed by RET? If the R  
> prompt is + instead of >, the process in not hanged, it is just  
> waiting for a complete expression.
>
> Vincent
>




More information about the ESS-help mailing list