From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marco Antoniotti Newsgroups: gmane.emacs.help Subject: Re: Retrieving the "include" directory for Emacs Modules Date: Thu, 2 Jan 2025 09:01:37 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9654"; 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 Thu Jan 02 08:02:33 2025 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 1tTFE1-0002N9-1w for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 08:02:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTFDW-00039E-KN; Thu, 02 Jan 2025 02:02:02 -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 1tTFDR-00037i-1y for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 02:01:57 -0500 Original-Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTFDM-00083d-Oo for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 02:01:54 -0500 Original-Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-e4cd25eb639so1533571276.3 for ; Wed, 01 Jan 2025 23:01:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735801310; x=1736406110; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=lMYWAwDDTmzo2aC51BZ0+Tz7JaGR/S4TP8jc88Z0+vo=; b=nKTChctDx/+awzf//cWyHatF7tixtP2o8NXxahXNQU22A1hoo/5MrI0urUPFmRSF0f mtx32s2h+2TRsQjbAB7XkjDzfo5g4zfrswNK/+V04UaL2t4R3GgNVoV8XQ6ou/D33qmn +POOSNyM5sY14L2nTfOEbq70rTYm88cTT616YXwGdDJC92WkZQ4EkJzkdyGfxPeEIUMu rwrdD3c+uhrzeBeJFC6fR/iMh/NzNIgUuaDMiGPCVYB4Qk8WyZPjaCVhgAclI/bGdBfO oRJZetraxnngK9ztt+DsDzENtVBn5IJWJX1E2oRCJcdBJ11OA3U2ITVnTZ5OGvSR4IZV WENg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735801310; x=1736406110; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lMYWAwDDTmzo2aC51BZ0+Tz7JaGR/S4TP8jc88Z0+vo=; b=lrrvzv789LIpY6+PRXkITvgaSkou6pLCUUS/Huv66jaskTApAwQIuYVx/UTmd3PGL1 F1GviqHgfDfdQrVrqquzZ+vYujm7X/YXW9pwwF3z6vxtaj/SL069qQhTCw4dvvWzEdHs 2TSHzsTLp10m5FhkcoZNwD3ZO1if0/t3wPwZ395z9YRaISOzc4Tr6wT5A8oJEv3DzIzS WVc9ZP0VI485D5oh3e7IJoMFtNRpg2cG5p8IvWBCazI0jITr+rmAhSYSBQU+qVTIX4In i8E88fMroeJxPXccRbUUzgW56AOHfNwjpkMCkHUyJzI8paITuljV8XBh4FFacM+Hibe+ xWJA== X-Gm-Message-State: AOJu0YxPZk0s4q7UsS2dwz/nLUAlCG++9Fk0UuysPwRwI/cAGot/1Dyq Efllu2hXj7UlDpjGlTkKWXsMOcHnMcHLYNJAxbi/WEiMG1TyOXJYAthltWs/4dO+usKXPErYEUd uKC48lCXPBsY02q1ZCkhQpK11LNAIqHmX X-Gm-Gg: ASbGncvXN1d2Inpkww98axgqFHCpUU5hFHawq7bVm7Y7QRhakbNJ0SAO7EHjuuGuLFo 5ic5NICxnzwz9fkoa+53XzRNgoEBkOQvhp0IxcQXp X-Google-Smtp-Source: AGHT+IEQI3cSPgO4/d5CWab7jIdPbWCFRacxXuck6lWjOepYhgtSpF6yLsTM/Y6pbskjE23FezHK7sacQlCJzwFt+qI= X-Received: by 2002:a05:690c:6e82:b0:6e6:c8b:4ae3 with SMTP id 00721157ae682-6f3f8291096mr152383117b3.10.1735801310439; Wed, 01 Jan 2025 23:01:50 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=marcoxa@gmail.com; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:149107 Archived-At: Hello and Happy New (Hacking) Year. apologies if I insist on this issue. On Sun, Dec 29, 2024 at 6:53=E2=80=AFPM wr= ote: > Message: 5 > Date: Sun, 29 Dec 2024 03:03:53 +0200 > From: Bj=C3=B6rn Bidar > To: Stefan Monnier via Users list for the GNU Emacs text editor > > Cc: Stefan Monnier > Subject: Re: Retrieving the "include" directory for Emacs Modules > Message-ID: <8734i7i9l2.fsf@> > Content-Type: text/plain > > Stefan Monnier via Users list for the GNU Emacs text editor > writes: > > >> 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. > > > > Indeed, they each have their own reason to exist. And this is in Debia= n, > > i.e. a distribution which is very careful to install things in the one > > central place where they belong. > > I'm on openSUSE which is entirely unrelated same policy. In fact all > Unixes have such a policy (macOS doesn't count in this context). > ... and why exactly MacOSX (and Windows) "don't count in this context"? And what is the "context"? > > > Other relevant cases will look very different: > > Emacs.app, AppImages, Snap packages, etc... > > Who are proprietary platforms such as Snap relevant to Emacs? For these > where a sandbox is involved such as Snap or Flatpak it is not possible > to interact with external resources without breaking the security of the > sandbox. > > But anyway this is going off-topic. > > How exaclty does having include-directory (and the other variables) available, break the sandbox? Or anything else? The issue here is accommodating the wider world. Personal historical note. I first used Emacs on a Zentih z8000. The first GNU Emacs I used was on a Sun 3/60. I also used it on AIX and, if memory does not fail me, on a microVAX with VMS (this I may be wrong). These were (are) all proprietary platforms. "Unixy" but proprietary. As MacOSX. Do you want people to use Emacs? Let them have access to it without imposing needless constraints. All the best MA --=20 Marco Antoniotti Somewhere over the Rainbow