Devon;
Thanks for the reference to your start commands ... Actually, your file
scares the living daylights out of me ...
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.
Thanks again;
David
On Thu, 2008-01-03 at 23:45 -0500, Devon McCormick wrote:
> David -
>
> I can't help you with the Linux part of that but I use Jconsole under emacs
> in MS Windows every day. Maybe a quick overview of how I do this would be
> helpful in some general sense.
>
> First, I have the following lines in my .emacs file:
> ; ------ start .emacs lines...
>
> (setq explicit-shell-file-name "\\UTL\\MyCmd.bat") ; Invoke DOS command line
> ; where "MyCmd.bat" invokes DOS with the prompt I prefer:
> ;Rem MyCmd.bat: run my command shell with customized prompt
> ;CMD.EXE /K C:\UTL\SetPrmpt.bat
> ; where "setPrmpt.bat" is:
> ;prompt [$d $b $t $b $p]$_$g
>
> ; Some other stuff that may or may not be useful in my DOS shell
> (setq shell-file-name-chars " ")
> (setq comint-prompt-regexp "^\>")
> (setq shell-prompt-pattern "^[*]\n\>")
> (setq shell-last-dir t)
>
> ; Don't know if j-mode really buys me anything...
> ;; j mode new as of 20040920 (from Alexander Schmolck)
> (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))
> ;(setq j-path "C:\\Program Files\\J601\\")
> (setq j-path "C:\\Documents and Settings\\Dev\\j602\\bin")
>
> ; Shortcuts for a few commands to run when in J session:
> (fset 'Jtime-expression-with-quotes
> "\C-a6!:2 '\C-[r'''\C-e'\C-a")
>
> (fset 'Jcomment-line
> "NB. \C-a\C-n")
>
> (fset 'Jellipsis-line
> "\C-k...\C-[3\C-b\C-n")
>
> ; Convert rows in buffer to quoted enclosed items of J list.
> (fset 'rows-to-enclose
> [?\C-x ?/ ?a ?\C-[ ?r ?\C-q ?\C-j return ?' ?; ?' return backspace backspace
> ?\C-r ?; ?\C-f ?< ?\C-a ?' ?\C-a])
>
> (fset 'cvtExcelMat-to-J
> [?\C-x ?/ ?a escape ?r ?- return ?_ return ?\C-x ?j ?a escape ?r ?\C-q tab
> return ? return ?\C-x ?j ?a escape ?r ?\C-q ?\C-j return ?, return ?\C-r ?,
> ?\C-d ?\C-r ?\C-r ?\C-b ?\C-f ?\C-f ?: ?\C-x ?j ?a])
>
> ; So I don't have to keep typing this directory:
> (set-register ?j "\\amisc\\JSys\\user\\code\\")
>
> ; Finally, invoke DOS under emacs:
> (shell)
>
> ; ------ end .emacs lines...
>
> So, once I start emacs, I end up at a DOS prompt and can enter something
> like:
> "C:\Documents and Settings\Dev\j602\bin\jconsole.exe"
> to invoke Jconsole under emacs.
>
> Hope this helps.
>
> Regards,
>
> Devon
>
> On 1/3/08, David Vincent-Jones <[EMAIL PROTECTED]> wrote:
> >
> > I would like to install the Emacs editor on my Ubuntu setup,
> > specifically for my J usage. I have no prior experience with this
> > editor and the installation information that I have seen so far looks
> > rather daunting.
> >
> > Is there somebody that has a simple set of instructions for a J setup?
> >
> > Help would be appreciated.
> >
> > David
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm