From: Massimiliano Mirra Date: 2002-08-19T04:36:07+09:00 Subject: Re: IDE vs. editor On Mon, Aug 19, 2002 at 02:44:06AM +0900, bbense+comp.lang.ruby.Aug.18.02@telemark.stanford.edu wrote: > >> - - I can do all this in Emacs and have a powerful editor. Is it > >Same questions to you: how do you have a method's renaming propagate, > - - You need a ruby version of etags. Then it's just a simple > matter of using tags-query-replace. The hard bit is a ruby > version of etags. I heard about etags supporting ruby, but never managed to get it work, probably because I never used etags with any other language and I don't know how it is supposed to work when it does. Sounds like it's time for another try. I wonder, though, what tags-query-replace does. If I modify `class MyClass; def meth; end; end' into `class MyClass; def new_meth; end; end', will the various my_instance.meth throughout the code be changed into my_instance.new_meth? It doesn't seem very likely -- for one thing, how would Emacs know that my_instance is an instance of MyClass and not anything else? > I said it was possible, not that I knew exactly how to do it %-)! Hey, you said you could do it, I just yearn to know how! :-) Massimiliano