-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Vincent-Jones <[EMAIL PROTECTED]> writes:

> I was hoping that Emacs would allow me, in Ubuntu, to regain the colour
> parsing that had become one of the niceties that I enjoyed in Windows J
> but I think I will pass on this one for the time being.

The startup in Emacs can be simpler, I think.  Here's an excerpt out of
my .emacs file:

,----
| (autoload 'j-mode "j-mode.el"  "Major mode for J." t)
| (autoload 'j-shell "j-mode.el" "Run J from emacs." t)
| (setq auto-mode-alist
|       (cons '("\\.ij[rstp]" . j-mode) auto-mode-alist))
`----

The first two lines load stuff into Emacs; the last tells Emacs to apply
j-mode to any file ending in .ijr, .ijs, .ijt, or .ijp.

I think j-mode will fontify (color) your J.  You'll need to put the
j-mode.el file in your site-lisp directory.

I did see that I had customized a few Emacs variables to point to an
older copy of J; I'll have to delete or fix that before I can test it
again.

Bill
- -- 
Bill Harris                      http://facilitatedsystems.com/weblog/
Facilitated Systems                              Everett, WA 98208 USA
http://facilitatedsystems.com/                  phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFHfrAY3J3HaQTDvd8RAgFjAJ4mVbknuQ9j6d+86QAwH4OdbAdAbwCfY3yk
bMc01MeeSMG/6HOUedRKmEI=
=bm1U
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to