Nathan, thanks for checking in on this.  I'm not at that computer right now,
so I can't check the file for a version, but I can tell you that I copied
and pasted the code from this url either Thurs., march 12 or Friday the
13th:
http://github.com/nex3/haml/blob/master/extra/haml-mode.el

I'm running emacs 23 on Ubuntu 8.10 with Xfce.  Just to cover all bases,
tried it again with a bare .emacs file, only including what is necessary to
run haml-mode, and saw the same problem.  I also tried it on Emacs22-gtk
with the same .emacs file, again yielding the same result.

I'm adding the { directly after the p in the very last line consisting of
(four spaces)%p
If the addition were successful, it would look like:
    %p{

Emacs freezes as soon as I press the { key on that line directly after the
p.  If I put a space between p and {, I don't get any problems.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Nathan Weizenbaum
Sent: Saturday, March 14, 2009 10:44 PM
To: [email protected]
Subject: [haml] Re: Problem with Emacs syntax highlighting?


I can't reproduce it. From what revision of Haml did you get
haml-mode.el? Where exactly are you adding the {?

On Sat, Mar 14, 2009 at 7:30 PM, Nathan Weizenbaum <[email protected]> wrote:
> I've been doing some crazy stuff with haml-mode recently, so that
> might well cause this. I'll take a look.
>
> On Sat, Mar 14, 2009 at 2:24 PM, be_jesse <[email protected]> wrote:
>>
>> I'm using haml-mode.el for some haml syntax highlighting, but it seems
>> to freeze up emacs on occasion.  I'm using emacs 23 from cvs and I can
>> consistently get it to hang up while trying to add { to the last line
>> of:
>>
>> !!!Strict
>> %html
>>  %head
>>    %title= "Hellos: #{controller.action_name}"
>>  %body
>>    %p
>>
>> Anything I'm doing wrong?  I tried both byte-compiling the file and
>> just running it raw, same result either way.
>>
>> >>
>>
>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to