From: 813gan <813gan@protonmail.com>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: emacspy dynamic module - support request
Date: Sun, 25 Aug 2024 01:25:20 +0000 [thread overview]
Message-ID: <XpPs7aJ3YigBL7hRx6yCQn0-GcmwAQ8g7bXmJQAP-Maz_07zwpzvB3fdRCBnlPB-2SYPaLfoJwu3sg-WeNLCWlr86OXDctpHLDNXn3o9H0E=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
Hello Everyone.
I recently forked https://github.com/813gan/emacspy.
It's dynamic module that allows interacting with python using libpython (no subprocess).
My intention is to allow Emacs modes to use python modules including bindings of external libraries.
I'm facing problems with --module-assertions.
With mentioned flag enabled emacs is printing
"Emacs module assertion: Emacs value not found in 57 values of 1 environments"
and dumps core.
Crash is reproducible with Makefile target test_module_assertions (https://github.com/813gan/emacspy/blob/f61275c6d3adec7947d292b8a9df25551e40c869/Makefile#L68)
I have absolutely no idea what is going on there. Only thing i discovered is that commenting line
https://github.com/813gan/emacspy/blob/f61275c6d3adec7947d292b8a9df25551e40c869/emacspy.pyx#L140
prevents crash. It's obviously not a solution.
Otherwise module appears to work;
Despite that i don't want to ship it as i assume emacs have good reason to crash.
I would appreciate any help. If you need more information, please contact me.
Happy Hacking!
[-- Attachment #2: Type: text/html, Size: 2132 bytes --]
next reply other threads:[~2024-08-25 1:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-25 1:25 813gan [this message]
2024-08-27 13:06 ` emacspy dynamic module - support request Richard Stallman
2024-08-28 1:29 ` 813gan
2024-08-30 2:31 ` Richard Stallman
2024-08-29 11:43 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='XpPs7aJ3YigBL7hRx6yCQn0-GcmwAQ8g7bXmJQAP-Maz_07zwpzvB3fdRCBnlPB-2SYPaLfoJwu3sg-WeNLCWlr86OXDctpHLDNXn3o9H0E=@protonmail.com' \
--to=813gan@protonmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.