From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Can't insert curly brace for string interpolation in ruby-mode
Date: Fri, 5 Apr 2013 17:52:12 -0600 [thread overview]
Message-ID: <20130405235212.GA12605@hysteria.proulx.com> (raw)
In-Reply-To: <CAHXt_SUpfte3n2Md+JFrFibeLs-Er_VpcU63jPY6XaN+3=asAA@mail.gmail.com>
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
next prev parent reply other threads:[~2013-04-05 23:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 21:19 Can't insert curly brace for string interpolation in ruby-mode Andrew Pennebaker
2013-04-05 23:52 ` Bob Proulx [this message]
2013-04-06 0:43 ` Andrew Pennebaker
2013-04-06 1:07 ` Steven Degutis
[not found] ` <CAHXt_SU-huJs5QVe39OBspA5_YVwSanKu3U_KWBrcDhfawBf3Q@mail.gmail.com>
2013-04-06 1:45 ` Steven Degutis
[not found] ` <CAHXt_SUwwaTuj8=QL+AMvqvpAM2jELogUtbDxNPJQug6mCU0cQ@mail.gmail.com>
[not found] ` <CAHXt_SXwGNQKzRu-LBBvg2xNruBhyEnMKFMspDwVqdk4zL_RFg@mail.gmail.com>
2013-04-06 3:15 ` Steven Degutis
2013-04-06 3:21 ` Bob Proulx
2013-04-06 4:32 ` Andrew Pennebaker
2013-04-06 4:39 ` Steven Degutis
2013-04-07 3:33 ` Zhen Sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130405235212.GA12605@hysteria.proulx.com \
--to=bob@proulx.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).