Re: jdee-live can't find nrepl-current-dir

Troy Daniels <[email protected]> Mon, 14 Dec 2015 15:13:23 -0500
Newsgroups gmane.emacs.jdee.devel
Message-ID <CALSS3zO4gUXCRWENqLD+54qrehR9XqbdF62f40BcSnLhaJHjcw@mail.gmail.com>
--===============4148549325396190125==
Content-Type: multipart/alternative; boundary=001a113d59b03de3e20526e14f4e

--001a113d59b03de3e20526e14f4e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Try using this instead:

[email protected]:jdee-emacs/jdee.git

and use the clojure-backend branch.  The repository you use was an
experiment, which has now been better integrated into JDEE.  Integration is
still in progress, and there has been no explicit porting of jdee-xref
functionality.  At the moment, it mostly works by using the pom.xml and mvn
to find what used to be manually set in jdee-global-classpath and
jdee-sourcepath.

Troy

On Mon, Dec 14, 2015 at 1:01 PM, Stephen Leake <
[email protected]> wrote:

> I'm trying to use
>
> https://github.com/phillord/jde-with-clojure-backend
>
> I'm using Emacs master, on Windows 8.1 with Cygwin.
>
> I got leiningen, maven, cask installed.
>
> Running:
>
> $ cd java-live
> $ cask package
>
> doesn't do anything; no files are created in dst/
>
> So I tried: (package-install-file ".../java-live/java-live.el")
>
> That seems to have succeeded; it installed cider from MELPA, etc.
>
> However, doing "M-x java-live-jack-in" gives an error:
>
> jdee-live-jack-in: Symbol=E2=80=99s function definition is void:
> nrepl-current-dir
>
> nrepl-client.el is part of cider; I have version 0.11.0-cvs.
>
> Any clues?
>
> looking at the code, it seems "(nrepl-current-dir)" can be replaced by
> "default-directory".
>
> That gets farther, but dies with "let*: Symbol=E2=80=99s function definit=
ion is
> void: -when-let". Adding "(require 'dash)" fixes that.
>
> Then we get:
>
> let: Symbol=E2=80=99s function definition is void:
> nrepl-find-reusable-repl-buffer
>
> So apparently jdee-live is relying on a very different version of
> nrepl-client.
>
>
> On the other hand, the main reason I'm trying this is to get better
> cross-referencing in Java buffers. But I don't see anything in java-live
> that implements the jdee cross-reference features.
>
> I also don't see anything that runs a clojure process, which I thought
> was supposed to provide the cross references. So I'm confused.
>
> --
> -- Stephe
>
>
> -------------------------------------------------------------------------=
-----
> _______________________________________________
> jdee-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jdee-devel
>

--001a113d59b03de3e20526e14f4e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Try using this instead:<div><br></div>[email protected]:jdee-=
emacs/jdee.git<div><br></div><div>and use the clojure-backend branch.=C2=A0=
 The repository you use was an experiment, which has now been better integr=
ated into JDEE.=C2=A0 Integration is still in progress, and there has been =
no explicit porting of jdee-xref functionality.=C2=A0 At the moment, it mos=
tly works by using the pom.xml and mvn to find what used to be manually set=
 in jdee-global-classpath and jdee-sourcepath.</div><div><br></div><div>Tro=
y</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On M=
on, Dec 14, 2015 at 1:01 PM, Stephen Leake <span dir=3D"ltr">&lt;<a href=3D=
"mailto:[email protected]" target=3D"_blank">stephen_leake@ste=
phe-leake.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39=
;m trying to use<br>
<br>
<a href=3D"https://github.com/phillord/jde-with-clojure-backend" rel=3D"nor=
eferrer" target=3D"_blank">https://github.com/phillord/jde-with-clojure-bac=
kend</a><br>
<br>
I&#39;m using Emacs master, on Windows 8.1 with Cygwin.<br>
<br>
I got leiningen, maven, cask installed.<br>
<br>
Running:<br>
<br>
$ cd java-live<br>
$ cask package<br>
<br>
doesn&#39;t do anything; no files are created in dst/<br>
<br>
So I tried: (package-install-file &quot;.../java-live/java-live.el&quot;)<b=
r>
<br>
That seems to have succeeded; it installed cider from MELPA, etc.<br>
<br>
However, doing &quot;M-x java-live-jack-in&quot; gives an error:<br>
<br>
jdee-live-jack-in: Symbol=E2=80=99s function definition is void:<br>
nrepl-current-dir<br>
<br>
nrepl-client.el is part of cider; I have version 0.11.0-cvs.<br>
<br>
Any clues?<br>
<br>
looking at the code, it seems &quot;(nrepl-current-dir)&quot; can be replac=
ed by<br>
&quot;default-directory&quot;.<br>
<br>
That gets farther, but dies with &quot;let*: Symbol=E2=80=99s function defi=
nition is<br>
void: -when-let&quot;. Adding &quot;(require &#39;dash)&quot; fixes that.<b=
r>
<br>
Then we get:<br>
<br>
let: Symbol=E2=80=99s function definition is void:<br>
nrepl-find-reusable-repl-buffer<br>
<br>
So apparently jdee-live is relying on a very different version of<br>
nrepl-client.<br>
<br>
<br>
On the other hand, the main reason I&#39;m trying this is to get better<br>
cross-referencing in Java buffers. But I don&#39;t see anything in java-liv=
e<br>
that implements the jdee cross-reference features.<br>
<br>
I also don&#39;t see anything that runs a clojure process, which I thought<=
br>
was supposed to provide the cross references. So I&#39;m confused.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
-- Stephe<br>
<br>
---------------------------------------------------------------------------=
---<br>
_______________________________________________<br>
jdee-devel mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
forge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/jdee-devel" rel=3D"=
noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/=
jdee-devel</a><br>
</font></span></blockquote></div><br></div>

--001a113d59b03de3e20526e14f4e--


--===============4148549325396190125==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============4148549325396190125==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jdee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-devel

--===============4148549325396190125==--