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: Bob Proulx
Subject: Re: Can't insert curly brace for string interpolation in ruby-mode
Date: Fri, 5 Apr 2013 17:52:12 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Andrew Pennebaker wrote:
> 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".

This works fine for me in emacs 24.2.1.  And with 23.4.1 too.  What
version are you using?

> I C-h k {, and saw that { and } are bound to ruby-electric-brace.

Same here.

> This function appears to be malfunctioning.

You didn't say so the obligatory response is, "Have you tried it with -Q?"

  emacs -Q

Works for me.

Bob



reply via email to

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