[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-kawa f8cf352 096/119: Update kawa-devutil version +
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-kawa f8cf352 096/119: Update kawa-devutil version + add Random_notes.org |
Date: |
Sun, 1 Aug 2021 18:30:45 -0400 (EDT) |
branch: elpa/geiser-kawa
commit f8cf352954ed9c07641c596139b061a8e064c39b
Author: spellcard199 <spellcard199@protonmail.com>
Commit: spellcard199 <spellcard199@protonmail.com>
Update kawa-devutil version + add Random_notes.org
---
Random_notes.org | 10 ++++++++++
pom.xml | 2 +-
src/main/java/kawageiser/kawadevutil/Complete.java | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/Random_notes.org b/Random_notes.org
new file mode 100644
index 0000000..95c4218
--- /dev/null
+++ b/Random_notes.org
@@ -0,0 +1,10 @@
+#+STARTUP:contents
+** Would something like emacs -> dynamic module -> JNI -> add kawa-geiser to
classpath -> java -> kawa -> geiser-kawa work?
+
+Yes. I tried to make some simple changes to
[[https://github.com/jbalint/emacs-gargoyle][emacs-gargoyle]] (my first and
only time writing C) and it was very fast (at least 10 times faster than
sockets).
+Limitations of using =geiser-kawa= directly from JNI:
+- Message passing is through strings: =emacs-gargoyle= makes an attempt at
establishing a way to write conversions between types, but for the minimal part
of it I explored, I used just strings
+- Due to emacs' GIL you can call java from elisp but you can't call elisp from
java (nor C): you can work around this using:
+ - for elisp->java/kawa: directly JNI: very fast
+ - for java/kawa->elisp: emacs server: slower and wouldn't require dynamic
modules anyway
+Unless I had to pass very large data between emacs and java/kawa, I would
prefer to use sockets.
diff --git a/pom.xml b/pom.xml
index 8d93f9e..4f2b31c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,7 +71,7 @@
<dependency>
<groupId>com.gitlab.spellcard199</groupId>
<artifactId>kawa-devutil</artifactId>
- <version>1fdfbc18591a068404e4cb86b4fb3c9b157dd44c</version>
+ <version>600e6b33776184c99164ff2cb8251835fd9ecef3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
diff --git a/src/main/java/kawageiser/kawadevutil/Complete.java
b/src/main/java/kawageiser/kawadevutil/Complete.java
index be13f1e..8ddb8a1 100644
--- a/src/main/java/kawageiser/kawadevutil/Complete.java
+++ b/src/main/java/kawageiser/kawadevutil/Complete.java
@@ -76,7 +76,7 @@ public class Complete {
private static LList
toLList(CompletionForClassMember completionForClassMember) {
- String ownerClassName =
completionForClassMember.getForClass().getName();
+ String ownerClassName =
completionForClassMember.getOwnerClass().getName();
ArrayList<String> modifiers = new ArrayList<>();
for (Object modifier :
completionForClassMember.getModifierMask().getRequired()) {
- [nongnu] elpa/geiser-kawa 5d8256d 041/119: Fix re-importing exception, (continued)
- [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, 2021/08/01
- [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 <=
- [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
- [nongnu] elpa/geiser-kawa 4141232 103/119: melpa/melpa#6858 - Avoid "Unused lexical argument" warnings prepending "_" to parameter names, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa c4de6bb 117/119: pom.xml - update kawa-devutil version (adds support for Java 8), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa f0f5441 002/119: README.org - Add mention about difference from geiser-kawa-scheme, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa a42e807 022/119: Fix warnings when running 'mvn package', Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 088654b 033/119: Fix function definition is void: word-at-point, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 6d4c6f5 004/119: Update .gitignore, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-kawa 274f990 024/119: Use mvnw (maven-wrapper) as default command to compile kawa-geiser, Philip Kaludercic, 2021/08/01