There must be an endless loop in ruby mode on Emacs. I enter the
following text:
case toto
when 1 ||
Then the cursor is on the line after ‘when …’, I press Tab and it
hangs showing me an hour glass forever, eating up 100% of CPU!
$ emacs -version
GNU Emacs 21.1.1
ruby-mode is from ruby-1.8.1 distribution plus patch from
ruby-talk:90977.
Guillaume.
I just installed Emacs 21.3.1 and ruby-mode.el from CVS HEAD, it still
crashes for me.
Let me rephrase my original message as I realize it can be confusing.
The cursor has to be on the next line, on line 3 in the little example.
Then, when I press tab, it hangs. (With cursor on line 2, it is OK).
Can anybody reproduce this behavior?
Guillaume.
···
On Wed, 2004-02-11 at 19:34, Yukihiro Matsumoto wrote:
Hi,
In message “Emacs ruby-mode hanging” > on 04/02/12, Guillaume Marcais guslist@free.fr writes:
There must be an endless loop in ruby mode on Emacs. I enter the
following text:
case toto
when 1 ||
Then the cursor is on the line after ‘when …’, I press Tab and it
hangs showing me an hour glass forever, eating up 100% of CPU!
Hmm, Emacs 21.3.1 with ruby-mode.el from CVS HEAD works fine for me.
matz.
Hi,
Can anybody reproduce this behavior?
can you try this patch?
matz.
— ruby-mode.el 27 Jan 2004 06:05:04 -0000 1.76
+++ ruby-mode.el 12 Feb 2004 21:16:04 -0000
@@ -804,3 +806,3 @@ An end of a defun is found by moving for
(if done
···
In message “Re: Emacs ruby-mode hanging” on 04/02/13, Guillaume Marcais guslist@free.fr writes:
You are the man! It works!
Guillaume.
···
On Thu, 2004-02-12 at 18:24, Yukihiro Matsumoto wrote:
Hi,
In message “Re: Emacs ruby-mode hanging” > on 04/02/13, Guillaume Marcais guslist@free.fr writes:
Can anybody reproduce this behavior?
can you try this patch?