From: Hugh Sasse Date: 2005-11-18T00:54:27+09:00 Subject: Re: step by step tutorial on using emacs with Ruby On Fri, 18 Nov 2005, anne001 wrote: > I downloaded emacs from > http://home.att.ne.jp/alpha/z123/emacs-mac-e.html > It said that ruby was installed. > > I have spent two hours searching this list and the web, and I cannot > find any tutorial telling beginners what to do. Not in emacs, in emacs > wiki, in ruby sites... > [...] > ------------------------------- > and here is emacs answer > -*- mode: compilation; default-directory: "~/Desktop/" -*- > Compilation started at Thu Nov 17 10:01:06 > > make -k ruby > make: Nothing to be done for `ruby'. You don't have a makefile or Makefile to tell it how to build the the target "ruby". If your emacs setup calls `make -k ruby` there's something odd there anyway, why would you have a target ruby in your makefile when ruby is your programming language. Your target should be make all, possibly, or make here. > > Compilation finished at Thu Nov 17 10:01:07 > ------------------------------- > So what is it I am supposed to do to run this code from emacs? > I read about Mx which I read means > using esc on my mac followed by x > pressing r space offered various completions. I found I could choose > ruby-mode as one of the completion of the esc x command. Is that > helpful? Can I use esc x to run my snipet from emacs? Ok, let's reframe the problem: Emacs is an editor with lots of advanced features. It sounds like you are not fluent in emacs, and actually, neither am I. So I will do 2 things: 1: Point you at the information I found about emacs which I put here: http://www.eng.cse.dmu.ac.uk/~hgs/software/#emacs 2: Ask you: If you had a free choice about the editor you could use, what would it be? We may then be able to find you a port of it for the Mac or point you at something which behaves in a similar way. Hugh