[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-kawa 0f5c744 016/119: Avoid issues with older Kawa
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-kawa 0f5c744 016/119: Avoid issues with older Kawa versions when using quickstart.el |
Date: |
Sun, 1 Aug 2021 18:30:30 -0400 (EDT) |
branch: elpa/geiser-kawa
commit 0f5c744b873c3d0ff5921dbf979a4499bddb9f65
Author: spellcard199 <spellcard199@protonmail.com>
Commit: spellcard199 <spellcard199@protonmail.com>
Avoid issues with older Kawa versions when using quickstart.el
---
README.org | 12 ++++++++++--
quickstart.el | 4 ++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
index b7fe2d3..400431f 100644
--- a/README.org
+++ b/README.org
@@ -34,10 +34,16 @@ kawa- and java-specific:
- completion for java methods
- completion for java classes
+** Supported Kawa versions
+:PROPERTIES:
+:CUSTOM_ID: 85b51f74-b1b2-4863-a888-0b11580321f3
+:END:
+
+Only versions of Kawa > 3.1 are supported, mostly due to the fact that before
the 3.1 release some necessary Kawa classes were private.
+
** Try geiser-kawa without modifying your emacs configuration
1. Get Emacs, Cask, Maven and make them available through your $PATH
- - Kawa is optional, but if you make the =kawa= executable available in
your PATH you can use it too
2. Clone this repository
3. cd into the cloned dir
4. Tell cask to install emacs dependencies with:
@@ -45,7 +51,9 @@ kawa- and java-specific:
5. Pull [[http://gitlab.com/spellcard199/kawa-geiser][kawa-geiser]] maven
dependencies (the first time takes ~1 minute), compile them and start
geiser-kawa's scratch buffer and repl with:
: cask emacs -Q --load quickstart.el
-The reason Kawa is optional is that =quickstart.el= calls =mvn package=
(wrapped by =geiser-kawa-compile-java-dependencies=), which produces a jar that
includes the compiled [[https://gitlab.com/groups/kashell/][Kawa's master
branch]]
+The reason you don't need Kawa to try geiser-kawa is that =quickstart.el=:
+1. calls =mvn package= (wrapped by =geiser-kawa-compile-java-dependencies=),
which produces a jar that includes the compiled
[[https://gitlab.com/groups/kashell/][Kawa's master branch]]
+2. sets the variable =geiser-kawa-use-kawa-version-included-in-kawa-geiser= to
=t=, to avoid issues with [[85b51f74-b1b2-4863-a888-0b11580321f3][older kawa
versions]]
** Cask issue with geiser
diff --git a/quickstart.el b/quickstart.el
index 2ebafcb..74f99cd 100644
--- a/quickstart.el
+++ b/quickstart.el
@@ -8,8 +8,8 @@
(require 'geiser-kawa)
(require 'geiser-mode)
(defun run-kawa-after-compilation-finishes (buffer desc)
- (when (not (executable-find geiser-kawa-binary))
- (setq geiser-kawa-use-kawa-version-included-in-kawa-geiser t))
+ ;; Use included Kawa, to avoid issues with unsupported old Kawa versions (<
3.1.1)
+ (setq geiser-kawa-use-kawa-version-included-in-kawa-geiser t)
(run-kawa)
(switch-to-buffer-other-window "*scratch*")
(geiser-impl--set-buffer-implementation 'kawa)
- [nongnu] elpa/geiser-kawa 6cb6826 107/119: melpa/melpa#6858 - Change regex in geiser-impl--add-to-alist to respect convention, (continued)
- [nongnu] elpa/geiser-kawa 6cb6826 107/119: melpa/melpa#6858 - Change regex in geiser-impl--add-to-alist to respect convention, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa fe548f9 104/119: melpa/melpa#6858 - Rename non-standard "geiser-kawa-util--eval/result" to "geiser-kawa-util--eval-get-result", Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa c7c8dae 110/119: melpa/melpa#6858 - Sharp-quote "identity" function, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 52605a4 109/119: melpa/melpa#6858 - Rename 'geiser-kawa-deps--run-kawa--compil-hook' to 'geiser-kawa-deps--run-kawa--compile-hook', Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa e171876 001/119: First commit, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 2e9138c 034/119: Small refactor + update comment in GeiserEval, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 05e1eaa 029/119: Add initial support for completing java packages, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 5d8256d 041/119: Fix re-importing exception, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 4247497 007/119: Add geiser-kawa.el (project is starting to work), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa f1d6f8d 023/119: Add maven-wrapper, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 0f5c744 016/119: Avoid issues with older Kawa versions when using quickstart.el,
Philip Kaludercic <=
- [nongnu] elpa/geiser-kawa 5651a3a 031/119: Add message if no completions found, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa cebaa28 042/119: Add test, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 6495077 064/119: Fix: replace lang.getEnvironment() with Environment.user() as default environment, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa b15c4bc 069/119: TODO.org: add todo, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 56b7524 076/119: Add more elisp tests, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 0fd7c30 086/119: README.org: update, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa f8cf352 096/119: Update kawa-devutil version + add Random_notes.org, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa df35e6b 099/119: Add unwind-protect in geiser-kawa-deps--run-kawa-unadviced, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 58ef04d 089/119: Add autodoc support for LangObjType, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa d389ebd 092/119: Update README.org, Philip Kaludercic, 2021/08/01