'Special' method highlighting - a list

Doug Kearns djkea2 at mugca.its.monash.edu.au
Sat Aug 23 00:28:05 EDT 2003


On Fri, Aug 22, 2003 at 09:50:12PM +1000, Gavin Sinclair wrote:
> On Friday, August 22, 2003, 8:46:06 PM, Doug wrote:

<snip>
 
> > A quick grep of my ruby directory finds about 2500 uses of alias and
> > only about 100 of alias_method. 20 for undef and about 10 for
> > undef_method. As such I'd leave out undef_method and alias_method, I
> > think they may be the top of the 'slippery slope'.
> 
> Yeah, good thinking.  I believe 'alias' and 'undef' _are_ keywords
> anyway, and all I know about the XXX_method ones is that they're ugly
> ;)

<snip>
 
> > Some others might include:
> 
> >   autoload
> >   exit|abort -> at_exit(?)
> >   eval       -> {module,instance,class}_eval(?)
> >   caller(?)
>  
> I think all of these, on the left and the right, should be
> highlighted.  What do you reckon?

I think they all make sense using you're criteria above.

The only other one that really occurs to me as a possibility is trap?

<snip>

Regards,
Doug


More information about the vim-ruby-devel mailing list