Editor in Linux for Hint/Helium

Glynn Clements glynn.clements@virgin.net
Sat, 9 Aug 2003 02:06:18 +0100


Tim Stitt wrote:

> I'm using the Helium interpreter/compiler with the Hint interface within
> Linux. Unfortunately, I want an editor that allows me to jump to the
> row/column of the source when I receive an error.
> 
> Does anyone know of a good editor in Linux to do this or the commands for
> Emacs etc. that can be used from within Hint to achieve it?

Emacs and XEmacs allow you to go to a specified line using +<number>,
e.g.

	xemacs +20 foo.txt

loads foo.txt and positions the cursor on line 20. The same syntax
works with emacsclient (Emacs) and gnuclient (XEmacs), which load a
file into an existing XEmacs process, i.e.

	gnuclient +20 foo.txt

Emacs requires the server-start command (e.g. in ~/.emacs) before
emacsclient can connect; similarly XEmacs requires gnuserv-start.

-- 
Glynn Clements <glynn.clements@virgin.net>