From: Kristof Bastiaensen Date: 2004-05-14T21:54:04+09:00 Subject: Re: are there any ruby IDEs? On Fri, 14 May 2004 21:11:40 +0900, Ruben wrote: > > At Fri, 14 May 2004 06:34:04 +0900, > Kristof Bastiaensen wrote: >> > Do you know http://www.emacswiki.org ? You can find a lot of > information and pointers to emacs-lisp code there. Some packages that > i've looked at and seem interesting (allthough not directly related to > ruby), are JDEE (Java Development Environment for Emacs), ECB (Emacs > Code Browser), Flymake, color-theme. > Thanks, I will take a look at it. The problem is that there is so much elisp code out there, that is sometimes unpractical to find something really useful (i.e. for Ruby). I have tried ECB, but I couldn't get it to work. There were just so many dependencies, and anyway they don't work with Ruby. > want to make changes. (you can do something similar with 'M-x rubydb', > but i've never really used that yet, only tested) Interesting, I will give it a try. > There are functions defined so that you can mark > something in your source-file and 'send' that code to the running > irb-process (ruby-send-region/ruby-send-region-and-go). You might take > a look at 'inf-ruby.el'. To be honest i haven't used this a lot, but > most of my programming work is in C. You might also look into > 'rubydb3x.el'. That is kind of what I was looking for. I find it only a bit annoying that you can eat the prompt. I would prefer no prompt at all (maybe there is a way around). > >> Another nice thing would be a class browser, where you could browse by >> method and class, in stead of by file (a la smalltalk). > > Maybe you should take a look at ECB (Emacs Code Browser, > http://ecb.sourceforge.net), this probably does what you want. It > doesn't support Ruby though, AFAIK :(. Eh, not really, I'd like something specific for Ruby. >> If you are interested, I find the following replacements >> very useful. >> >> Replacement for kill-line, >> basicly it either preserves indentation, or removes all >> whitespace, not just mess it up. >> >> (defun my-kill-line (&optional arg) >> ...) > > hmm.. maybe i'm doing something wrong, but this seems to act the same > as normal kill-line ? are you using Xemacs, or Emacs ? > Xemacs. If it doesn't work on Emacs, shouldn't it give an error? Try to use it at the end of a line, and see the difference. Try also on an empty line, type many spaces, and press my-kill-line. I find myself never having to type many times del or tab to fixup whitespace anymore. I am interested what you think about it (I think it is a great improvement). >> replacement for beginning-of-line, >> (this seems to be standard in most editors): > > i'm afraid i'm the kind who doesn't like this behaviour, but thanks > anyway :) Well I did, but I was used to do it from MSVC. :) > > Ruben Thanks for the info, Kristof