help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't insert curly brace for string interpolation in ruby-mode


From: Zhen Sun
Subject: Re: Can't insert curly brace for string interpolation in ruby-mode
Date: Sat, 06 Apr 2013 23:33:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

Andrew Pennebaker <andrew.pennebaker@gmail.com> writes:

> Ruby uses the syntax "... #{expression}..." for string interpolation. But
> when I press left curly brace, Emacs says "Symbol's value as variable is
> void: last-command-char".
>
> I C-h k {, and saw that { and } are bound to ruby-electric-brace. This
> function appears to be malfunctioning.

I had the same problem days ago. Fixed by installing ruby-electric from
ELPA.

Zhen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]