From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Thu, 15 Oct 2015 14:25:24 -0500 Message-ID: <868u74vsrf.fsf@stephe-leake.org> References: <83pp9cwky8.fsf@gnu.org> <85a90ggf2d.fsf@stephe-leake.org> <54E0A40F.5080603@dancol.org> <83sie7un20.fsf@gnu.org> <54E0D181.2080802@dancol.org> <83r3trulse.fsf@gnu.org> <54E0D7E0.305@87.69.4.28> <83h9unukbg.fsf@gnu.org> <54E0DEF8.7020901@dancol> <83egpruiyp.fsf@gnu.org> <54E0FF93.2000104@dancol.org> <5610ED13.1010406@dancol.org> <56117F37.9060808@dancol.org> <561ED963.4050207@dancol.org> 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 1444937196 7782 80.91.229.3 (15 Oct 2015 19:26:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 19:26:36 +0000 (UTC) Cc: Philipp Stephani , Daniel Colascione , Eli Zaretskii , Emacs development discussions To: =?utf-8?Q?Aur=C3=A9lien?= Aptel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 15 21:26:24 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 1ZmoAQ-0002US-PI for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 21:26:22 +0200 Original-Received: from localhost ([::1]:49316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoAQ-0007AG-1f for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 15:26:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoA1-00078Y-Nc for emacs-devel@gnu.org; Thu, 15 Oct 2015 15:25:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmoA0-00016y-9o for emacs-devel@gnu.org; Thu, 15 Oct 2015 15:25:57 -0400 Original-Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:57302) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZmoA0-00010c-43 for emacs-devel@gnu.org; Thu, 15 Oct 2015 15:25:56 -0400 Original-Received: (qmail 1277 invoked by uid 0); 15 Oct 2015 19:25:48 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy5.mail.unifiedlayer.com with SMTP; 15 Oct 2015 19:25:48 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw4 with id VXRa1r00Y2UdiVW01XRdd3; Thu, 15 Oct 2015 13:25:48 -0600 X-Authority-Analysis: v=2.1 cv=IekUBwaa c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=IkcTkHD0fZMA:10 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=5lJygRwiOn0A:10 a=pGLkceISAAAA:8 a=uPZiAMpXAAAA:8 a=FVxJCQow9xbncDOYrEoA:9 a=QEXdDO2ut3YA:10 Original-Received: from [76.218.37.33] (port=52513 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1Zmo9e-0001Br-8w; Thu, 15 Oct 2015 13:25:34 -0600 In-Reply-To: (=?utf-8?Q?=22Aur=C3=A9lien?= Aptel"'s message of "Thu, 15 Oct 2015 12:50:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 67.222.38.55 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:191679 Archived-At: Aur=C3=A9lien Aptel writes: > On Thu, Oct 15, 2015 at 3:05 AM, Philipp Stephani = wrote: >> According to http://stackoverflow.com/a/2339910/178761 there are two typ= es: >> bundles and dynamic libraries. The differences were bigger in the past (= only >> bundles could be loaded dynamically), but now they are mostly equivalent. >> Apparently .so and .bundle are usually used for bundles and .dylib for >> dynamic libraries, but e.g. your example modules compile as dynamic >> libraries with an .so extension and Emacs is totally happy. So supporting >> .so should be enough. > > OK. > >> I'd prefer using the conventional extensions. A custom extension might >> confuse users and clash with existing meanings of that extension. > > Fair enough. > >> (put 'module-func 'function-documentation "docstring") >> >> ? With that the basics should already be there. > > True, but we lose the jump-to-definition feature. "jump-to-definition" relies on `load-history' (see elisp-mode.el elisp--xref-find-definitions and subr.el symbol-file). So module initialization functions can add the appropriate entries in `load-history'. --=20 -- Stephe