I may have found a clue.  M-h v j-console-cmd in a fresh Emacs can't find a
match.  If I run M-x j-console, I find I'm running j-mode-1.1.1, M-h v
j-console-cmd shows my customized version (ijconsole).

j-console.el shows

(defcustom j-console-cmd "jconsole"
  "Name of the executable used for the J REPL session"
  :type 'string
  :group 'j-console)

Is it possible that starting J inside org mode starts a new session and
j-console.el redefines j-console-cmd to point to the java console?  I'm not
sure; I did try redefining that string (changed it to "ijconsole" and then
executed the defcustom), and it still failed with /bin/bash: jconsole:
command not found.

Does that spark any insights?

Thanks,

Bill

On Mon, Dec 4, 2017 at 6:43 PM, Bill Harris <
[email protected]> wrote:

> Daniel,
>
> The computer /is/ plugged in. :-)
>
> Hmm.  I have version 20171127 with status "dependency" and no entry in the
> archive column.  I think that's from GNU elpa, since I upgraded it before
> adding the melpa stable repo.  I figure that's pretty up-to-date, assuming
> that really is a date code.  Here's what I get in the help window for org:
>
> org is a dependency package.
>
>      Status: Installed in ‘org-20171127/’,
>              shadowing a built-in package.
>     Version: 20171127
>     Summary: Outline-based notes management and organizer
> Required by: ox-tufte-20160926.907, ox-pandoc-20161101.1920
> Other versions: 20171127 (gnu), builtin.
>
> I  ran M-x package-list-packages, and that's the only package with the
> name "org"--nothing in the gnu or melpa-stable archives.  Ideas?
>
> Hmm.  I just installed j-mode today, so I hadn't played around with it
> much so far.  M-f certainly thinks that i. is two words.  That's not
> helpful.
>
> Bill
>
> On Sun, Dec 3, 2017 at 8:48 PM, Daniel Lyons <[email protected]>
> wrote:
>
>>
>>
>> > On Dec 3, 2017, at 5:05 PM, Bill Harris <bill_harris@facilitatedsystem
>> s.com> wrote:
>> >
>> > Bill,
>> >
>> > I did install j from the .deb file, I've updated org mode from elpa, I
>> > installed j-mode from melpa stable, I customized j-console-cmd to
>> ijconsole
>> > to get REPL access to J, but org mode still doesn't work.  What do I
>> need
>> > to install from a deb file?
>>
>>
>> This might be a "turn it off and back on" type suggestion, so forgive me
>> if you did this, but Emacs comes with a much older org-mode than the one
>> distributed in MELPA, it may be worth trying to upgrade that too, since the
>> extensions almost always depend on the newer one.
>>
>> By the way, how do you navigate a line of J in Emacs? It seems to me that
>> forward-word and forward-sexp both seem to have no idea where J core verbs
>> start and end, and I have found it kind of frustrating to use M-f and M-b
>> or C-M-f or C-M-b in j-mode. I am not sure which package is the "main" one
>> (or how to fix this issue, for that matter).
>>
>> --
>> Daniel Lyons
>>
>>
>>
>>
>> ----------------------------------------------------------------------
>> 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