[Top][All Lists]

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

Re: running (ruby) scripts from within emacs

From: Jesper Harder
Subject: Re: running (ruby) scripts from within emacs
Date: Sun, 14 Sep 2003 05:13:20 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Patrick Gundlach <address@hidden> writes:

> I edit a ruby script (or a shell-script or whatever) and I would like
> to run this script with one or two keypresses (or M-x something) from
> within emacs. What is the way to go? Is there (this sounds very
> likely for me) a built in mechanism for this?

In shell-script mode there's `C-M-x' for running the region, and
`C-c C-x' for running the file.  Do `C-h m' in the mode to see the
available commands.

I don't know about Ruby -- if there is a Ruby mode it probably offers
something equivalent.

reply via email to

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