From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Arsen_Arsenovi=C4=87?= Newsgroups: gmane.emacs.help Subject: Re: Retrieving the "include" directory for Emacs Modules Date: Sun, 22 Dec 2024 23:17:02 +0100 Message-ID: <868qs7xt0h.fsf@aarsen.me> References: <86ttbcdhwn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 22 23:17:51 2024 Return-path: Envelope-to: geh-help-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 1tPUGk-00056B-Nx for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Dec 2024 23:17:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPUGC-000710-9z; Sun, 22 Dec 2024 17:17:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPUGA-00070N-U9 for help-gnu-emacs@gnu.org; Sun, 22 Dec 2024 17:17:14 -0500 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tPUG8-00068Y-QG; Sun, 22 Dec 2024 17:17:14 -0500 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4YGb9Z2kTqz9sr1; Sun, 22 Dec 2024 23:17:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1734905826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TI7ZF0MWmB8S8+QxU/ooWlhOdDYYbe5jeQvQycnqOL4=; b=VblXke7zvTHfLS1rhFMAX7uQEdG5gAlSq15qDHC7uMYejTm5TgAfyYKGZMIJEvmcjzJv1A pn8fZpwZwwDb3cU469GYp7+NXRhBAwcExq5RNLCaoaF0Mt8GiLAIeN6I7pan6E0eOr/8JJ T5uYp686F2rXmMMtg4Y7zSm6Lccc1IohO0LmVyelb+IvQa6u+mdsM+ZXJ3K7MIH/exn0BY UkW1KWfKOF8Vs2RgK2Wb9b/xOVoehaTPXln9+EfNJaz5+9UCZ1zDNEMzyNR35zKq0AiPFH P+8TsLZ3El6KXZHwsLSxL/j8fp/jQVOifjnh+FRqAPPNTvrCstrVqfn4kjoc7A== In-Reply-To: <86ttbcdhwn.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Dec 2024 16:56:24 +0200") Received-SPF: pass client-ip=80.241.56.151; envelope-from=arsen@aarsen.me; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148920 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Marco Antoniotti >> Date: Mon, 9 Dec 2024 10:58:57 +0100 >>=20 >> On my Mac, If I install emacs as a "formula" (i.e., not a s an app) thin= gs >> seem installed as they should be. OTOH the brew "cask" (which installs a >> .app in the Application directory) seems to create something that Apple >> likes, but that STILL may be told to have a pointer to the include >> directory as it does to the data-directory. >>=20 >> This is obviously something that the brew folks should deal with, but the >> notion of having a variable that tracks the include directory still has >> merit. At least as an extra guideline to people like the brew maintaine= rs. > > As I tried to explain, if emacs-module.h is not installed in its > intended place, we cannot know where it is installed. We only know > that from the default installation locations we have in our Makefiles, > but if some distros modify that, we cannot know. > > And I still contend that the correct installation should put this file > where all the other header files are, and then the compiler will > always find it. Users who don't want to fight the uphill battle > against brew could simply copy the file to the compiler's include > directory, and be done. Could I suggest installing a .pc file alongside Emacs that describes this also? That way, if distros modify it, they have a method of notifying consumers of the modification also. Have a lovely day. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZ2iP3l8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTWhQBAJG1iiOyoQadmW6anBQP0olH6N4HNthJAjIM pJ06rPUbAQD8j5uQYtV5MqA4AodIODy7zQBz/ec7lnnPiU2Ij7AZAg== =RUdr -----END PGP SIGNATURE----- --=-=-=--