all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joey Ezechiels <joey.ezechiels@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Emacs 25 modules
Date: Tue, 25 Oct 2016 23:06:57 +0200	[thread overview]
Message-ID: <CAPHE4DOB0OHoyoSp=ohDaC9jkoUSa-F3UN_Rf_Rd7qt2XUOypA@mail.gmail.com> (raw)

Hello there,

I've written an Emacs 25 module that uses a dynamic library in order to
function. In order to verify that the module loads correctly, I log every
function I register in the module, and these logs appear in *Messages*.
Most of my work has been done on an OS X machine and there Emacs 25 will
load the module just fine, no issues there.

But recently I've been trying to get it to work on Linux, and there I just
get completely garbled output in the spot where the log messages should be.
Not even proper text.
Needless to say, the functionality my module is supposed to provide is not
available.

Just to make sure it is not the dynamic library causing the garbling, I've
created some small programs that use the very same .so/.dylib file as the
Emacs module uses. When I run those programs, they work as they should,
both in Linux and in OS X.
To eliminate another factor: Both on OS X and on Linux I have compiled
Emacs 25 from source with the --with-modules flag passed to the configure
script.

So my current hypothesis is that somehow Emacs, while built correctly,
doesn't load the module correctly on Linux, but I'm stumped as to what
could cause that.
I would really appreciate any help I could get on this. The reason I'm
posting here rather than filing a bug report is that I'm not entirely
convinced it's a bug, either. I certainly have no in-depth knowledge,
though I can reproduce the issue flawlessly every time in my Ubuntu VM.


Met vriendelijke groet / Best regards,
Joey Ezechiëls


             reply	other threads:[~2016-10-25 21:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25 21:06 Joey Ezechiels [this message]
2016-10-26  2:39 ` Emacs 25 modules Eli Zaretskii
2016-10-26 11:33   ` Aurélien Aptel
  -- strict thread matches above, loose matches on Subject: below --
2016-10-26 17:34 Joey Ezechiels
2016-11-02  7:32 ` Zhang Jun
2016-11-07 20:51   ` Joey Ezechiels

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='CAPHE4DOB0OHoyoSp=ohDaC9jkoUSa-F3UN_Rf_Rd7qt2XUOypA@mail.gmail.com' \
    --to=joey.ezechiels@gmail.com \
    --cc=help-gnu-emacs@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.