help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrapping an Emacs dynamic module in a package


From: Joris Vankerschaver
Subject: Wrapping an Emacs dynamic module in a package
Date: Sun, 16 Oct 2016 18:37:54 +0100

Hi all,

I have an emacs dynamic module that I would like install as part of a
multi-file package. That is, I have a shared object file _mymod.so, and
some Elisp wrappers mymod-pkg.el and mymod.el that do various bits of
initialization.

When Emacs installs my package, things go wrong when generating the
autoloads for _mymod.so. I get a

  (error "_mymod.so:0:0: error: scan-error: (Containing expression ends
prematurely 238020 238021))

This happens during autoload-generate-file-autoloads for _mymod.so.

Two questions:

1) Is there any way to avoid autoload processing shared object files?

2) Is there an example of an Emacs package that contains a dynamic module,
so I can take a look at how this works?

Please let me know if you need more info! I'm more an Emacs user than a
developer, but I'm happy to dig into the Emacs internals to get a handle on
this.

With best wishes,
Joris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]