help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two quick questions


From: Brad Collins
Subject: Re: Two quick questions
Date: Sun, 14 Dec 2003 00:37:50 +0700
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt)

"Hemond, Steve" <address@hidden> writes:


> 2. How can I make Emacs understand these filetypes :
>       .py  (Python files)
>       .php (Php files)
>       .rb  (Ruby files)
>

There is a very good ruby mode which comes bundled with the ruby
distribution -- download the latest version of Ruby and look around
inside for .el files.

http://www.rubycentral.com has a couple of pages on setting up the
mode and they have a few other nice pieces of code which you can put
in your .emacs which will make life easier.

Once you've started using M-x ruby-eval-buffer you'll wonder how you
ever lived without it.

b/

--
Brad Collins
Chenla Labs
Bangkok, Thailand





reply via email to

[Prev in Thread] Current Thread [Next in Thread]