As I understand (I just got it working today *g*), it offers block completion... From the extension file: "When Ruby Electric mode is enabled, an indented 'end' is heuristically inserted whenever typing a word like 'module', 'class', 'def', 'if', 'unless', 'case', 'until', 'for', 'begin', 'do'. Simple, double and back quotes as well as braces are paired auto-magically. Expansion does not occur inside comments and strings." Cheers, Tim Jeffrey Moss wrote: > I use emacs exclusively. I've found the ruby-mode ebuild to be > sufficient for me. What does ruby-electric offer that this doesn't? > > -Jeff > > ----- Original Message ----- From: "Tim Ferrell" <Tim.Ferrell / s0nspark.com> > To: "ruby-talk ML" <ruby-talk / ruby-lang.org> > Sent: Thursday, February 17, 2005 2:06 PM > Subject: Re: emacs syntax highlighting problem > > >> Some further investigation uncovered the culprit: ruby-electric.el ( >> http://shylock.uw.hu/Emacs/ruby-electric.el ) ... for some reason when >> I "(require 'ruby-electric)" I don't get syntax highlighting. >> >> Anyone else using this successfully? Have I overlooked something? >> >> Cheers, >> Tim >> >> Tim Ferrell wrote: >> >>> Let me first say I am new to emacs ... so this may be something >>> embarrassingly simple :-) >>> >>> I am running emacs 21.4.1 on gentoo linux and I have customized it >>> with some of the tips I have found at ruby garden and a few other >>> places ... All is working nicely except that I must have somehow >>> managed to break syntax highlighting... even when I enable global >>> font lock I get nothing but "normal" text :-( >>> >>> I have posted my configs at >>> http://www.mcgeecorp.com/downloads/emacs-configs.tgz if anyone >>> happens to have a few minutes to look them over. Thanks much and >>> sorry if this is something stupid... >>> >>> Cheers, >>> Tim >>> >> > >