From: anne001 Date: 2005-11-18T00:12:18+09:00 Subject: step by step tutorial on using emacs with Ruby 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... There are a bewildering set of instructions on download this or that -- do I need to with this emacs -- and put this code or that code in ..emacs file -- do I need to and if so which, do I have to look at the year the advice is posted!!! -- I have a snipet of ruby that works at the terminal window. I copied it into emacs. Now what? compile did not do anything. Here is the snipet -------------------------- require 'tk' root = TkRoot.new button = TkButton.new(root) { text "Hello,Anne" command proc { puts "I said"} } button.pack Tk.mainloop ------------------------------- 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'. 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?