On Wed, Mar 12, 2014 at 6:14 PM, Devon McCormick <[email protected]> wrote: > OK - great! I got it to work though I invoke J through a batch file so I > can supply the arguments to run it with my usual defaults loaded.
Excellent > > Are you familiar with Zach Elliott's "j-mode.el" at > http://github.com/zellio/j-mode ? > Yes, I have used this one more though: http://j-mode.sourceforge.net/. I can't recall why I settled on that one over Zach Elliott's > Also, are you familiar with this: > > ;* disable-substitution-on-recall.el: prevent unwanted interpretation of !: > in J. > (defun disable-substitution-on-recall() > "Avoid unwanted interpretation of '!:' in J." > (interactive) ; Necessary to be able to run from interactive key > sequence? > (setq comint-input-autoexpand nil) > (setq comint-dynamic-complete-functions nil)) > ;EG NB. (disable-substitution-on-recall) [C-x C-e] > > I think Joey Tuttle showed me this: it prevents emacs from garbling J > expressions like "6!:2" when they are recalled to a session via > "comint-previous-input". > > No, but I don't have any problems recalling input with !: For example, 6!:2 '1+1' I can recall this just fine. Maybe this was an issue in an earlier version of emacs or J? Or, am I misunderstanding the issue? By the way, in the comint-buffer, ctrl-shift up is a nice way to recall too. It's the same as JHS which is convenient. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
