
Hi all, 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? Context works fine in Windows but I want something similar in Linux. There isn't much help from the Helium website. Thanks in advance, Tim Stitt

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
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 [jumping to lines with errors automatically]?
Emacs and XEmacs allow you to go to a specified line using +<number>,
If you do M-x compile from within (X)Emacs, you should be able to jump from errors/messages in the output buffer to the corresponding point in the source. It's been a while since I used this, since I prefer to compile in a terminal, and type M-g <line no> RET to jump to the right line; and I have no idea how well it integrates with Helium. -kzm -- If I haven't seen further, it is by standing in the footprints of giants

Hello Tim,
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.
This has not been tested under Linux. Worse, it has been tested not to work on some machines. It has something to do with quoting differences between Win and Unix. Hint will at some point be rewritten in Haskell and we will then make sure it works on all platforms. For the moment, you will have to look at the Java source and make necessary changes. Good luck, Arjan
participants (4)
-
Arjan van IJzendoorn
-
Glynn Clements
-
ketil@ii.uib.no
-
Tim Stitt