From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Fri, 10 Oct 2014 00:17:56 +0300 Message-ID: <83h9zdaqnv.fsf@gnu.org> References: <87y4t9m76w.fsf@lifelogs.com> <83lhopb1bp.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1412889494 10564 80.91.229.3 (9 Oct 2014 21:18:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 21:18:14 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 09 23:18:05 2014 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 1XcL65-0002Vk-7e for ged-emacs-devel@m.gmane.org; Thu, 09 Oct 2014 23:18:05 +0200 Original-Received: from localhost ([::1]:45128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcL64-0000eq-IH for ged-emacs-devel@m.gmane.org; Thu, 09 Oct 2014 17:18:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcL5l-0000eX-Mf for emacs-devel@gnu.org; Thu, 09 Oct 2014 17:17:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcL5g-0002xr-HP for emacs-devel@gnu.org; Thu, 09 Oct 2014 17:17:45 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:46338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcL5g-0002xV-9J for emacs-devel@gnu.org; Thu, 09 Oct 2014 17:17:40 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0ND700B0035J3Y00@mtaout27.012.net.il> for emacs-devel@gnu.org; Fri, 10 Oct 2014 00:12:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ND70031N48MUQA0@mtaout27.012.net.il>; Fri, 10 Oct 2014 00:12:22 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 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:175201 Archived-At: > From: Stefan Monnier > Cc: Aur=E9lien Aptel , > emacs-devel@gnu.org > Date: Thu, 09 Oct 2014 15:42:35 -0400 >=20 > > The .so extension is platform specific. Since Emacs tries to kee= p > > platform dependencies out of the Lisp level, how about chopping t= he > > extension, and adding to load-module the necessary code to look f= or > > the extension specific to the underlying platform? >=20 > I think we can circumvent this problem by changing the suffix we ad= d to > load-suffixes depending on the platform (e.g. based on dlopenext). You mean, use foo.so in Lisp and have .so changed to something else? That's ugly, and we never do that anywhere else. Why start now? Jus= t use "foo" and set up the extensions as appropriate for the platform, as we do with programs.