Gaizka
unread,Jan 3, 2012, 3:50:29 AM1/3/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Rails On Emacs
Hi there!
I'd like to be able to fix it myself, but I don't understand emacs
much.
The problem i am facing is: I am using show-paren mode (great to spot
missing parens), but in .html.erb files, it's usually broken.
If you have this content in your .erb:
<%= render :partial => "test" %>
|--------------------|
show-paren thinks that the first '>' character closes the first '<'.
Therefore, with the cursor in the last '>' character, emacs thinks
there's too many '>', and show-paren displays red as an error.
Is there a way to "fix" this?
Thanks a lot for rinari, it's great for using Rails and Emacs.