Hi Greg,

This is what I have in my .emacs (Linux and OS X):

(add-hook 'j-mode-hook 'imenu-add-menubar-index)

cheers,

--david.

At Tue, 18 Jul 2006 09:31:09 -0700,
"greg heil" <[EMAIL PROTECTED]> wrote:
> 
> Based on Alexander Schmolck's page at
> http://j-mode.sourceforge.net/
> i have installed emacs for W2K and j-mode.
> The following .emacs file:
> 
> (setq j-path "f:/l/j/")
> (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))
> ;(add-hook 'j-mode-hook)      (which-func-mode 1)
> 
> ...seems to be read by emacs, but there is no J menu item, and if i
> uncomment the last line it elicits an error. That is under J504, where
> it should be working. i would like to be running under J601...
> 
> As i am a complete emacs novice i don't know how to proceed on
> debugging this. Perhaps emacs has changed since Alexanders page was
> written?
> 
> ~greg
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to