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.help Subject: Re: Retrieving the "include" directory for Emacs Modules Date: Mon, 09 Dec 2024 16:56:24 +0200 Message-ID: <86ttbcdhwn.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3233"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 09 15:57:02 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 1tKfC1-0000an-V8 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Dec 2024 15:57:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKfBZ-0001Sk-Be; Mon, 09 Dec 2024 09:56:33 -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 1tKfBX-0001S3-Bl for help-gnu-emacs@gnu.org; Mon, 09 Dec 2024 09:56:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKfBU-0000aO-HC for help-gnu-emacs@gnu.org; Mon, 09 Dec 2024 09:56:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gjVuJ2t+NEH53X+KswEU9B2JjMOVEGQXakR40LFw09Y=; b=NgVYqrDQBWUX O5Y3bP6WSuPX+UHRrMMRsBoa++QBZkmceCE3KhPp+nQv7qSQ2kDbcZWnkH82o/TosduNukEVZ1dxm Y61/gZpLaCcFMfF0dNZZ1fxkvvpxq8disQgaes/2DQgCo4JwUE/EwjPFDVBLdhklhkqb0WOn+uCgt PMaNOJAqsMq87h98G/dEV4T7mI60vo6Xcyb/Kr6gV7GDapZngejotlaORFzt9yKLRvgHXMs25nzhi IhcnOPjVJXvHtrV1PND6ktBc8zGh3VyaES27h4n3X9F8KlHCp7YM8sF3g8sSxrsLr/M5ukd2o8rLg eAcDiM7kyP298TzDvWVnuA==; In-Reply-To: (message from Marco Antoniotti on Mon, 9 Dec 2024 10:58:57 +0100) 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:148717 Archived-At: > From: Marco Antoniotti > Date: Mon, 9 Dec 2024 10:58:57 +0100 > > On my Mac, If I install emacs as a "formula" (i.e., not a s an app) things > 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. > > 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 maintainers. 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.