all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: String Syntax
Date: Wed, 08 Jun 2011 08:56:24 +0200	[thread overview]
Message-ID: <8739jkg6av.fsf@member.fsf.org> (raw)
In-Reply-To: 07A43FE2-D8B4-4E94-B038-2646A8320CA4@gmail.com

Perry Smith <pedzsan@gmail.com> writes:

Hi Perry,

> I hit something similar to this rather often in Ruby mode.  Below is a
> string that ruby-mode gets confused on.

What's your exact definition of "gets confused on"?

>       super("Could not find the source association(s)
> #{source_reflection_names.collect(&:inspect).to_sentence(:two_words_connector
> => ' or ', :last_word_connector => ', or ', :locale => :en)} in model
> #{through_reflection.klass}.  Try 'has_many #{reflection.name.inspect},
> :through => #{through_reflection.name.inspect}, :source => <name>'.  Is it one
> of #{source_associations.to_sentence(:two_words_connector => ' or ',
> :last_word_connector => ', or ', :locale => :en)}?")
>
> This happens to come from code I did not write.
>
> If I put a space between the final ? and ", then it works.  I'm using
> emacs 23.3.

I just added that snipped into some ruby file using Emacs 24 with its
ruby-mode, and I couldn't see anything obviously wrong.

Bye,
Tassilo




  reply	other threads:[~2011-06-08  6:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 22:42 String Syntax Perry Smith
2011-06-08  6:56 ` Tassilo Horn [this message]
2011-06-08 13:36   ` Perry Smith

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739jkg6av.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.