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?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.help Subject: Re: Retrieving the "include" directory for Emacs Modules Date: Tue, 24 Dec 2024 22:39:30 +0200 Message-ID: <48891.6516931326$1735072827@news.gmane.org> References: <86ttbcdhwn.fsf@gnu.org> <865xnscj0s.fsf@gnu.org> <86jzbp2r7a.fsf@gnu.org> <86zfkl11fc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) 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 Tue Dec 24 21:40:20 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 1tQBhT-0007DQ-LV for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 24 Dec 2024 21:40:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQBgr-0003Y2-6j; Tue, 24 Dec 2024 15:39:41 -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 1tQBgp-0003XE-Fk for help-gnu-emacs@gnu.org; Tue, 24 Dec 2024 15:39:39 -0500 Original-Received: from thaodan.de ([185.216.177.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQBgl-0006dx-AW; Tue, 24 Dec 2024 15:39:39 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id E0BE4D0004B; Tue, 24 Dec 2024 22:39:30 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1735072771; bh=yLY6vRQebctlRdI4YLW9b6nfA1q0SxjPMkLqfPrW5J0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=RyD8cL1OSjE1hiGAfHyeucatfDcfgg+ILfdOHEk4cqfy3STvjONarLsrEkZPX9Eew /4PPT52ftziGKLjE6tfLY1KWhli70M9DdE3NYPedDHobAG4mTHMW7tNqkqkZnprR+1 62hEym2utYU5E2BkLXxS2bLjiDAQcGUcREXGGx3NWOG2A6Td/uUE8VXBjGIaGwAJS6 /5Gn2RkiUPy6TfHNTM4ItND7GlyyvdFHxbzLWE5PaU2PSTbDxYCADh5sM/qNu8UZdl wYj0/yEFh7qjG/tUBSEUqUswZ0ZGAXf7hQTQd7nn6X6/625c7zlmoYJ0gCe1oNqm2p PnIOzYVRAe2ZoFBTHQHeVKkDGvIE+mSNLHg+Bt67hRH5BWmhrLjQOjw3bRMc4pQFAQ 8Tvg2Ym34zTw7p7ruvomrIvYvZNCpna1iJ5/GbIHIMgZBw/sUeXfYY/n+6RyHiUcLe bsojqmQE5sdB3yvJkNjSshfNEQYMNDdrTcv4b9L8XLMMSCLTR1XD5tmqkKdUCjjC7t S9Lb7AnKAwVI7bYw690gvTinKI06ngo03EHY+idVWXIJuK+yRDh1m4xhtTE9ft3dJL +bOURyGm3MxO4x60CgDvBWnmSeFRRkPHYoEDUiFLl/oElJVJjkROEqNSQ/u7afg8qm gkboAxFENwS9nDSFPaB5yxYM= In-Reply-To: <86zfkl11fc.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 Dec 2024 18:38:31 +0200") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=185.216.177.71; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, INVALID_MSGID=0.568, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:148957 Archived-At: Eli Zaretskii writes: >> Date: Tue, 24 Dec 2024 10:30:41 -0500 >> From: Stefan Monnier via Users list for the GNU Emacs text editor >> >> > Careful: the above might pick up header files private to source >> > distributions if you have them on your system (i.e., if you build >> > packages locally from sources). By contrast, this discussion is about >> > _public_ header files, ones installed with the purpose of letting >> > other packages interface with the package whose header file is >> > installed. >> >> I'll let you judge. >> >> >> Stefan >> >> >> % locate '*.h' | sed 's|[^/]*$||' | sort -u | grep -v 'monnier\|/usr/include' >> /usr/lib/clisp-2.49.93+/base/ >> /usr/lib/clisp-2.49.93+/linkkit/ >> /usr/lib/gcc/x86_64-linux-gnu/10/include/ >> /usr/lib/gcc/x86_64-linux-gnu/10/include/sanitizer/ >> /usr/lib/gcc/x86_64-linux-gnu/12/include/ >> /usr/lib/gcc/x86_64-linux-gnu/12/include/sanitizer/ >> /usr/lib/ghc/ >> /usr/lib/ghc/base-4.15.1.0/include/ >> /usr/lib/ghc/bytestring-0.10.12.1/include/ >> /usr/lib/ghc/ghc-9.0.2/include/ >> /usr/lib/ghc/ghc-bignum-1.1/include/ >> /usr/lib/ghc/include/ >> /usr/lib/ghc/include/rts/ >> /usr/lib/ghc/include/rts/prof/ >> /usr/lib/ghc/include/rts/storage/ >> /usr/lib/ghc/include/stg/ >> /usr/lib/ghc/process-1.6.13.2/include/ >> /usr/lib/ghc/time-1.9.3/include/ >> /usr/lib/ghc/unix-2.7.2.2/include/ >> /usr/lib/gprolog/include/ >> /usr/lib/grub/i386-pc/ >> /usr/lib/grub/x86_64-efi/ >> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/primitive-0.7.3.0-EikPDi9CXNiB9f5MDJybeY/include/ >> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/vector-0.12.3.1-TXkE6leK98EdYcmdk29JF/include/ >> /usr/lib/jvm/java-17-openjdk-amd64/include/ >> /usr/lib/jvm/java-17-openjdk-amd64/include/linux/ >> /usr/lib/llvm-14/lib/clang/14.0.6/include/ >> /usr/lib/llvm-14/lib/clang/14.0.6/include/openmp_wrappers/ >> /usr/lib/llvm-14/lib/clang/14.0.6/include/ppc_wrappers/ >> /usr/lib/llvm-14/lib/clang/14.0.6/include/xray/ >> /usr/lib/ocaml/caml/ >> /usr/lib/ocaml/zarith/ >> /usr/lib/python3/dist-packages/dulwich/ >> /usr/lib/python3/dist-packages/greenlet/ >> /usr/lib/python3/dist-packages/greenlet/platform/ >> /usr/lib/python3/dist-packages/lxml/ >> /usr/lib/python3/dist-packages/lxml/includes/ >> /usr/lib/swi-prolog/include/ >> /usr/lib/swi-prolog/include/sicstus/ >> /usr/lib/swi-prolog/include/Yap/ >> /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus/ >> /usr/lib/x86_64-linux-gnu/glib-2.0/include/ >> /usr/lib/x86_64-linux-gnu/perl/5.36.0/CORE/ >> /usr/lib/x86_64-linux-gnu/perl5/5.36/B/Hooks/OP/Check/Install/ >> /usr/lib/x86_64-linux-gnu/perl5/5.36/Cairo/Install/ >> /usr/lib/x86_64-linux-gnu/perl5/5.36/Encode/ >> /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Install/ >> /usr/lib/xemacs-21.4.24/x86_64-linux-gnu/include/ >> /usr/lib/xemacs-21.4.24/x86_64-linux-gnu/include/m/ >> /usr/lib/xemacs-21.4.24/x86_64-linux-gnu/include/s/ >> /usr/share/cmake-3.25/include/ >> /usr/share/cmake-3.25/Modules/ Those are cmake test headers. >> /usr/share/cups/ppdc/ >> /usr/share/doc/bison/examples/c/mfcalc/ >> /usr/share/doc/guile-3.0-dev/examples/compat/ >> /usr/share/doc/libzstd-dev/examples/ >> /usr/share/doc/nettle-dev/examples/ >> /usr/share/doc/printer-driver-pnm2ppa/pl/ >> /usr/share/doc/zlib1g-dev/examples/ >> /usr/share/gettext/ >> /usr/share/go-1.19/misc/cgo/life/testdata/ >> /usr/share/go-1.19/misc/cgo/test/ >> /usr/share/go-1.19/misc/cgo/testplugin/testdata/issue25756/plugin/ >> /usr/share/go-1.19/misc/cgo/testsovar/testdata/ >> /usr/share/go-1.19/misc/cgo/test/testdata/gcc68255/ >> /usr/share/go-1.19/misc/cgo/test/testdata/issue20266/ >> /usr/share/go-1.19/misc/cgo/test/testdata/issue26213/ >> /usr/share/go-1.19/misc/cgo/test/testdata/issue27054/ >> /usr/share/go-1.19/misc/swig/callback/ >> /usr/share/go-1.19/pkg/include/ >> /usr/share/go-1.19/src/crypto/internal/boring/ >> /usr/share/go-1.19/src/debug/dwarf/testdata/ >> /usr/share/go-1.19/src/debug/gosym/testdata/ >> /usr/share/go-1.19/src/runtime/ >> /usr/share/go-1.19/src/runtime/cgo/ >> /usr/share/grub/ >> /usr/share/libtool/ >> /usr/share/libtool/libltdl/ >> /usr/share/perl/5.36.0/Encode/ >> /usr/share/smartmontools/ >> /usr/src/libdvd-pkg/build/ >> /usr/src/libdvd-pkg/build/msvc/ >> /usr/src/libdvd-pkg/build/src/ >> /usr/src/libdvd-pkg/build/src/dvdcss/ >> /usr/src/linux-apfs-rw-0.3.0-1/ >> /usr/src/linux-apfs-rw-0.3.0-1/lzfse/ >> /var/lib/smartmontools/drivedb/ >> % > > Those under /usr/lib are looked in by the relevant compilers (they are > include directories private to those compilers, hard-coded into them > when they are built). Those under /usr/share are private to the > relevant packages, and are either examples or test suites (thus AFAIU > unrelated to the issue at hand here). Those under /usr/src are what I > mentioned: private headers needed to build a package. In addition some of them could be overlooked by distribution packagers