------art_24564_14521103.1224061173032
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Not knowing it's actual term, I'll call them "symbols that are strings". If
your symbols has any characters in it except a-z0-9?! (or more, or less, for
all I know), you can use :"this awesome!!! syntax". The ruby-mode for emacs
doesn't parse these properly if they end with a question mark, though. An
example: :"active?"
Here's a screenshot:
http://img.skitch.com/20081015-nn18y2pmbqyrj4p1apxaf1a91c.png

And, here's what zenspider said in #ruby-lang:

<zenspider>: I'm using (defconst ruby-mode-revision "$Revision: 19208 quot;
<zenspider>: and ... can reproduce your bug... you should write
ruby-core about that
<zenspider>: btw, backslashing the ? fixes it
<zenspider>: but, so does dropping the quotes. :yay? is valid too
<zenspider>: the problem is that it is lexing ?" as an int first
<zenspider>: so it never sees the termination

I'm using (defconst ruby-mode-revision "$Revision: 1.74.2.14.2.1 $").

------art_24564_14521103.1224061173032
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dirtr">Not knowing it&#39;s actual term, I&#39;ll call them &quot;symbols that are strings&quot;. If your symbols has any characters in it except a-z0-9?! (or more, or less, for all I know), you can use :&quot;this awesome!!! syntax&quot;. The ruby-mode for emacs doesn&#39;t parse these properly if they end with a question mark, though. An example: :&quot;active?&quot;<div>
<br></div><div>Here&#39;s a screenshot:&nbsp;<a hrefttp://img.skitch.com/20081015-nn18y2pmbqyrj4p1apxaf1a91c.png">http://img.skitch.com/20081015-nn18y2pmbqyrj4p1apxaf1a91c.png</a></div><div><br></div><div>And, here&#39;s what zenspider said in #ruby-lang:</div>
<div><br></div>&lt;zenspider&gt;:&nbsp;I&#39;m&nbsp;using&nbsp;(defconst&nbsp;ruby-mode-revision&nbsp;&quot;$Revision:&nbsp;19208&nbsp;quot;<br>&lt;zenspider&gt;:&nbsp;and&nbsp;...&nbsp;can&nbsp;reproduce&nbsp;your&nbsp;bug...&nbsp;you&nbsp;should&nbsp;write&nbsp;ruby-core&nbsp;about&nbsp;that<br>&lt;zenspider&gt;:&nbsp;btw,&nbsp;backslashing&nbsp;the&nbsp;?&nbsp;fixes&nbsp;it<br>
&lt;zenspider&gt;:&nbsp;but,&nbsp;so&nbsp;does&nbsp;dropping&nbsp;the&nbsp;quotes.&nbsp;:yay?&nbsp;is&nbsp;valid&nbsp;too<br>&lt;zenspider&gt;:&nbsp;the&nbsp;problem&nbsp;is&nbsp;that&nbsp;it&nbsp;is&nbsp;lexing&nbsp;?&quot;&nbsp;as&nbsp;an&nbsp;int&nbsp;first<br>&lt;zenspider&gt;:&nbsp;so&nbsp;it&nbsp;never&nbsp;sees&nbsp;the&nbsp;termination<br><div>
<div><br></div><div>I&#39;m using&nbsp;(defconst ruby-mode-revision &quot;$Revision: 1.74.2.14.2.1 $&quot;).</div></div></div>

------art_24564_14521103.1224061173032--