From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Wed, 4 Feb 2015 22:49:44 +0100 Message-ID: References: <87y4t9m76w.fsf@lifelogs.com> <85k31coixa.fsf@stephe-leake.org> <85oapy5kt6.fsf@stephe-leake.org> <87k2zxyizp.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1423086593 27093 80.91.229.3 (4 Feb 2015 21:49:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 21:49:53 +0000 (UTC) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 04 22:49:53 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJ7pZ-0004k9-3O for ged-emacs-devel@m.gmane.org; Wed, 04 Feb 2015 22:49:53 +0100 Original-Received: from localhost ([::1]:38993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ7pY-0006up-J6 for ged-emacs-devel@m.gmane.org; Wed, 04 Feb 2015 16:49:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ7pT-0006rZ-Ir for emacs-devel@gnu.org; Wed, 04 Feb 2015 16:49:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJ7pS-0000v0-5h for emacs-devel@gnu.org; Wed, 04 Feb 2015 16:49:47 -0500 Original-Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:55118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ7pR-0000us-HX for emacs-devel@gnu.org; Wed, 04 Feb 2015 16:49:46 -0500 Original-Received: by mail-ie0-f171.google.com with SMTP id tr6so5591041ieb.2 for ; Wed, 04 Feb 2015 13:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=NctAaDG9taTxiX+CnWb8x65XDk2i831DeYIsGaQ1o4k=; b=LpSWfrKtH7eT1Tj9rhItSBBxeYuX4BIWfMHlE8D7dYbSRz6eXSW1jScUNJTWVqxpOl oAnEbLyNb2CevK4ulnsRNSC9OI242u+W5Kx4YQw4CBbL0cXsdy8L43EgBejOQ+Df3vGR i9TErzA7gy0uQktP2f6sVIKRwy8Pd0N9X4fuqFPkypMHwDeJFCoJioChEe6lq2mWa+61 afvx49QgL/GFkCfd5MAtmCavQmUllBchGrWS+Fc0UUu85br/jv5gxFylgb110MtnobGJ rOTu+0INp2lYcbG0jFSarwcZMnKe3Cg61XLo1AVEtL5YBsVxAS7UCYuYzOOhuC0NEp06 Tb4Q== X-Received: by 10.43.55.84 with SMTP id vx20mr4031611icb.62.1423086584266; Wed, 04 Feb 2015 13:49:44 -0800 (PST) Original-Received: by 10.36.19.71 with HTTP; Wed, 4 Feb 2015 13:49:44 -0800 (PST) In-Reply-To: <87k2zxyizp.fsf@lifelogs.com> X-Google-Sender-Auth: a5utnY1sm2KpQf-8t9FSrYOIv_k X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182406 Archived-At: On Wed, Feb 4, 2015 at 1:11 PM, Ted Zlatanov wrote: > On Sat, 31 Jan 2015 19:57:42 +0100 Aur=C3=A9lien Aptel wrote: > > AA> I'm just letting everyone know I'm working on my patch again. I've > AA> started by merging the last 2-3 months commits in master but of cours= e > AA> there are merge conflicts... It's taking more time to resolve than > AA> anticipated. > > AA> There's a macro conflict with "Qc". I had to rename Qc to Qc_ in > AA> modules/opaque/opaque.c because globals.h defines Qc to something. > > AA> I'm also working on a small test suite since I (and maintainers) > AA> quickly want to know when my code breaks. > > Great, thanks. I assume you started with the dynamic-modules-rc2 branch > I pushed to the Emacs repo? If not, take a look at it. Nope, I've used my dynamic-modules branch... fuck. Someone keeps messing with small parts of doc.c I'm also working on and each time I have to re-understand partially how the spaghetti code in Snarf_documention works to merge. Currently, the wrong prefix (sibling_xxx) is added to the doc file path which prevent the docstring to be loaded and makes emacs abort. I'm sure it's not hard but it's the third time and it tires me. I should have waited to merge or let someone else do it. Sorry for the rant. I've tried to keep every changes from master while merging, I hope I haven't skipped/reverted something. > With the test suite, I'm sure we'll be able to merge it very quickly. I've made some tests in several module test.el file using ERT. There's algo a small script in modules/tests.py which runs all the module tests. Be warned though, since the loading part is broken I've written the tests blindly. Some might fail/pass when they should/nt. The code is on my dynamic-modules branch on my github repo. $ git clone https://github.com/aaptel/emacs-dynamic-module.git $ git checkout dynamic-modules I'm sure there's a lighter way to get it (if you already have the emacs repo) involving arcane git commands. If you know them I'm interested.