From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joey Ezechiels Newsgroups: gmane.emacs.help Subject: Emacs 25 modules Date: Tue, 25 Oct 2016 23:06:57 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1477436473 23579 195.159.176.226 (25 Oct 2016 23:01:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2016 23:01:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 01:01:09 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzAiR-0005ZO-QT for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 01:01:07 +0200 Original-Received: from localhost ([::1]:58626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzAiU-00057N-9Q for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2016 19:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bz8wf-0003pe-3a for help-gnu-emacs@gnu.org; Tue, 25 Oct 2016 17:07:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bz8wd-0000pY-W3 for help-gnu-emacs@gnu.org; Tue, 25 Oct 2016 17:07:41 -0400 Original-Received: from mail-vk0-x230.google.com ([2607:f8b0:400c:c05::230]:35250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bz8wd-0000pB-Ps for help-gnu-emacs@gnu.org; Tue, 25 Oct 2016 17:07:39 -0400 Original-Received: by mail-vk0-x230.google.com with SMTP id q126so183824971vkd.2 for ; Tue, 25 Oct 2016 14:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=GlpeIf6YUc/uypxlqm0y/zazLmli11vYlyCdgELpWvE=; b=uYo5MjV+N7V41mDuJWUPPtaujO9kyesHxOQs0DjcZ0IJLREQ4GZlp/IJj7hiEhmtVw qwW76h/XmuNxrV/OIO5BxuGFNKJvH3qxwEpnsr+O4PVPlFokJptGC6VZB/qmTX4jH05O K3OILvkDSch03v9d5LppiDHkHljBMLLuTkH/Kt4sUW6t9JdqJiXlxDH0koUhCCiycP2s w3G9c0mIpdHcGA0IteIzD6KObUbcaQ5GiQu9vXyK4a8rOC8HfhzeVFMs7e2meTakaUDT 7+4UcdhDh9xf+5x1U7GLv48Qw5XqUElJMyJ4oekUPYEXGQPXJVUWFYHM+4XjFeLXaHpp PjhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GlpeIf6YUc/uypxlqm0y/zazLmli11vYlyCdgELpWvE=; b=I1qcKwjPE3CtpKsBe3Lzt/LcZoIvziK8d/nf8q1O0sz/FjEGUVGcNnPc24UnJaLBMQ cTsLojggT1r4/pIKEZvHgj2CUNMSTejJNkUVbtIfZ9ls2B77zrVhVhVkoCk5O4HnaDqx P3XGAdvbja488IU4T7Hflvx6v83Sg+WF3VmQDLoRTy4NPmJk5dKIymlsylnDGiTwhW/X DG2FvuTEN2HVrGnwwCoQ/5hPYPA8+IyhbsyU6FdPDGgER2PDfb+2i1ZE7m3pi5D4vXtI L+uUya2SZKdQ6Q5fxr7xDnZB9bgE610gs5jyNe8zrA+Y4Nn89mwvvPT3QyRFF8xFcARm pHxA== X-Gm-Message-State: ABUngvdzjae3BjXhy+TSOKUWxYpm/MetQY6Hk4uZCtNNx0BCElyxNjb9dCFwNNThLGlLjiBi3n0g+0LXqNKSFA== X-Received: by 10.31.81.135 with SMTP id f129mr15884021vkb.162.1477429657755; Tue, 25 Oct 2016 14:07:37 -0700 (PDT) Original-Received: by 10.31.124.8 with HTTP; Tue, 25 Oct 2016 14:06:57 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::230 X-Mailman-Approved-At: Tue, 25 Oct 2016 19:00:40 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111616 Archived-At: 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=C3=ABls