Open johnhamelink opened 1 year ago
I am facing the same issue also myself, I'll take a look at it once I have a suitable timeslot for it.
Hmmm. By re-evaluating the function definition the issue solved itself (I re-evaluated the whole package, so if there were other problematic functions they got resolved in the same way), which makes me wonder if the function is being incorrectly compiled to either bytecode or native code. Are you using native compilation with your Emacs?
@nyyManni yes indeed I am. I'm working against Emacs master, specifically:
(version)
GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin20.6.0, NS appkit-2022.70 Version 11.7.5 (Build 20G1225)) of 2023-04-16
(dolist (opt (string-split system-configuration-options " ")) (message opt))
--disable-dependency-tracking
--disable-silent-rules
--enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
--infodir=/opt/homebrew/Cellar/emacs-plus@30/30.0.50/share/info/emacs
--prefix=/opt/homebrew/Cellar/emacs-plus@30/30.0.50
--with-xml2
--with-gnutls
--with-native-compilation
--without-compress-install
--with-dbus
--with-imagemagick
--with-modules
--with-rsvg
--with-xwidgets
--with-ns
--disable-ns-self-contained
’CFLAGS=-Os
-w
-pipe
-mmacosx-version-min=11
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-DFD_SETSIZE=10000
-DDARWIN_UNLIMITED_SELECT’
’CPPFLAGS=-I/opt/homebrew/opt/zlib/include
-I/opt/homebrew/opt/jpeg/include
-I/opt/homebrew/opt/libomp/include
-I/opt/homebrew/opt/icu4c/include
-I/opt/homebrew/opt/openssl@1.1/include
-isystem/opt/homebrew/include
-F/opt/homebrew/Frameworks
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk’
’LDFLAGS=-L/opt/homebrew/opt/zlib/lib
-L/opt/homebrew/opt/jpeg/lib
-L/opt/homebrew/opt/libomp/lib
-L/opt/homebrew/opt/icu4c/lib
-L/opt/homebrew/opt/openssl@1.1/lib
-L/opt/homebrew/lib
-F/opt/homebrew/Frameworks
-Wl,-headerpad_max_install_names
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk’
Please do reach out if there's anything else I can do to help!
As an aside, I've been using jiralib2
to build a Confluence -> Org one-way sync tool (working name is "effluent" 😂) which I hope to release soon.
JH
I'll take a closer look at the compilation later. For now a (bad) workaround is to manually re-evaluate the file after launch. It might also be possible to disable the compilation specifically for ejira
.
Confluence integration sounds interesting! I actually also tested my luck with it during the early days of developing ejira
, but quickly gave up due to the lack of proper markup language. Anyway, I'll definitely keep an eye out for that package!
In the meantime, I'll push a new submodule for ejira
- ejira-completion
which implements what was previously in helm-ejira
but with built-in emacs completion framework. Maybe then I can finally get ejira in melpa as I no longer need to drag the helm dependency in :)
Seems that this is happening on macOS-only. At least I cannot reproduce it on my Linux machine.
Hi there,
I'm trying to setup Ejira from scratch on a new JIRA instance, but experiencing an invalid-function error when attempting the first pull of data into org files.
A redacted stacktrace follows:
I can eval
(ejira--get-subheading (ejira--find-heading "AAAA-1693") ejira-comments-heading-name)
and get a#<marker at 676 in AAAA.org>
. If I comment outejira--sort-comments
, a crash happens at the next step which isejira--refile
.