From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45012: 27.1.50; Emacs 27.1 release archive missing emacs-module.h Date: Sun, 06 Dec 2020 21:12:18 +0200 Message-ID: <83k0tuagvh.fsf@gnu.org> References: <83v9dkf594.fsf@gnu.org> <83tut4f46r.fsf@gnu.org> <83sg8of3ag.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8335"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45012@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 06 20:14:58 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klzUo-000222-Gi for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 20:14:58 +0100 Original-Received: from localhost ([::1]:50988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klzUn-0000Me-FZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 14:14:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klzSw-0007yM-EF for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 14:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klzSw-0007YE-6c for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 14:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klzSw-0006JF-29 for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 14:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Dec 2020 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45012 X-GNU-PR-Package: emacs Original-Received: via spool by 45012-submit@debbugs.gnu.org id=B45012.160728195824223 (code B ref 45012); Sun, 06 Dec 2020 19:13:02 +0000 Original-Received: (at 45012) by debbugs.gnu.org; 6 Dec 2020 19:12:38 +0000 Original-Received: from localhost ([127.0.0.1]:51304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klzSY-0006Id-AR for submit@debbugs.gnu.org; Sun, 06 Dec 2020 14:12:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klzSW-0006IN-KI for 45012@debbugs.gnu.org; Sun, 06 Dec 2020 14:12:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41274) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klzSQ-0007Ov-Jh; Sun, 06 Dec 2020 14:12:31 -0500 Original-Received: from [176.228.60.248] (port=1847 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klzSP-0001Lk-KW; Sun, 06 Dec 2020 14:12:30 -0500 In-Reply-To: (message from Philipp Stephani on Sun, 6 Dec 2020 18:13:30 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195155 Archived-At: > From: Philipp Stephani > Date: Sun, 6 Dec 2020 18:13:30 +0100 > Cc: 45012@debbugs.gnu.org > > > I'm making a step back and asking why you thought it was a problem > > that emacs-module.h was not part of the release tarball. It gets > > built as part of Emacs, so once Emacs is built, the header is > > available. So why do you want it to be in the tarball? > > Concretely, I'm using emacs-module.h for my Go bindings to the module > API (https://godoc.org/github.com/phst/emacs). The compilation of the > library naturally requires emacs-module.h, but not Emacs. So you will build the module, but never test it or use it? Is that a reasonably practical use case? > Somewhat more abstractly, Emacs modules are independent from Emacs, > and Emacs isn't needed (and shouldn't be needed) to build them. If you just build a module and never use it, perhaps. Once you want to use it, you need Emacs. > Moreover, the build process for Emacs is rather involved, requiring > multiple steps lots of external binaries such as the GNU Autotools, > etc., while building a module only requires a C compiler (or compiler > for whatever language the module is written in) and a linker that > produces shared objects. Most people nowadays don't build their Emacs, they get it from a distribution. That distribution will (or should) provide emacs-module.h as well. So I'm still not sure we have a good reason to revert the decision we made for Emacs 27 regarding emacs-module.h exclusion.