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

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

Re: String Syntax


From: Perry Smith
Subject: Re: String Syntax
Date: Wed, 8 Jun 2011 08:36:46 -0500

I happened to look at this on Google's groups last night and Stefan mentioned 
that it is fixed in Emacs 24.

I still have not seen his post via email (and I presume you have not either).

On Jun 8, 2011, at 1:56 AM, Tassilo Horn wrote:

> 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 via email to

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