From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 5d4c539: Add lcms2 interface Date: Wed, 13 Sep 2017 22:24:42 +0300 Message-ID: <83efrao0zp.fsf@gnu.org> References: <20170913143143.30953.94864@vcs0.savannah.gnu.org> <20170913143145.6483C2068F@vcs0.savannah.gnu.org> <83mv5yoae0.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505330770 23369 195.159.176.226 (13 Sep 2017 19:26:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 19:26:10 +0000 (UTC) Cc: mvoteiza@udel.edu, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 21:26:06 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dsDIU-0005z4-Kt for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2017 21:26:06 +0200 Original-Received: from localhost ([::1]:44264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsDIc-0005Zj-1g for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2017 15:26:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsDHb-0005UW-4Z for emacs-devel@gnu.org; Wed, 13 Sep 2017 15:25:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsDHa-0003lr-3O for emacs-devel@gnu.org; Wed, 13 Sep 2017 15:25:11 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsDHT-0003Km-96; Wed, 13 Sep 2017 15:25:03 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4062 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dsDHN-0007hT-Mo; Wed, 13 Sep 2017 15:25:00 -0400 In-reply-to: (message from Stefan Monnier on Wed, 13 Sep 2017 12:23:34 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:218213 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org, mvoteiza@udel.edu > Date: Wed, 13 Sep 2017 12:23:34 -0400 > > > To me, modules are for users to extend Emacs, not for us to add > > functionality. > > That's one of the benefits. The other is that you don't need to choose > at compile-time which libraries will be (and have to be) available at > run-time. > > In Windows, we already do dynamic-loading of libraries such as gnutls, > so the issue is less serious, but in GNU/Linux it's always a hassle. I think we should indeed welcome patches to migrate to a similar dynamic-loading scheme on Posix hosts. Most of the code can be simply lifted from the Windows port, with minimal changes. > > It makes very little sense to have anything that is in > > core via modules. I see only disadvantages there: the code is much > > less readable, and has more limitations on what it can do. > > That calls for improving the module system, not circumventing it. That would be welcome as well, but the issues were identified long ago, and no one volunteered to work on that until now. Moreover, I understand some of us actually think it would be wrong to go that way.