From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#57003: 28.1.90; Can local variables be loaded before loading major mode? Date: Sun, 14 Aug 2022 23:09:29 -0400 Message-ID: References: <87czdeoqy7.fsf@localhost> <87v8r54j3h.fsf@gnus.org> <875yj5xzou.fsf@localhost> <875yj443zy.fsf@gnus.org> <874jyo6vd6.fsf@localhost> <87k07k18ro.fsf@gnus.org> <871qts6tzy.fsf@localhost> <87bksv0ya6.fsf@gnus.org> <87edxqzzm6.fsf@localhost> <87leryzzdl.fsf@gnus.org> <87a68ezycj.fsf@localhost> <875yj2zudw.fsf@gnus.org> <871qtp64eq.fsf@localhost> <878rntskld.fsf@gnus.org> <877d3c7by7.fsf@localhost> <87h72gjr3a.fsf@gnus.org> <87ilmw5o4j.fsf@localhost> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 57003@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 15 05:10:56 2022 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 1oNQVD-0006Ml-Ox for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 05:10:55 +0200 Original-Received: from localhost ([::1]:36270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNQVC-0002SL-EH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 23:10:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNQUN-0001yQ-5G for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 23:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNQUM-0006GO-Sm for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 23:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNQUM-00056S-OY for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 23:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Aug 2022 03:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57003 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57003-submit@debbugs.gnu.org id=B57003.166053297919576 (code B ref 57003); Mon, 15 Aug 2022 03:10:02 +0000 Original-Received: (at 57003) by debbugs.gnu.org; 15 Aug 2022 03:09:39 +0000 Original-Received: from localhost ([127.0.0.1]:40213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNQTz-00055f-E8 for submit@debbugs.gnu.org; Sun, 14 Aug 2022 23:09:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNQTv-00055Q-Iz for 57003@debbugs.gnu.org; Sun, 14 Aug 2022 23:09:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNQTq-0006CW-9a; Sun, 14 Aug 2022 23:09:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=s/a4KQLGJZk8/fwuXkqvwm9P0L+5GX6lyzciUj10P3k=; b=AssYg99L+Spp UDdAXEqjb+I65+aWackr72zV06OVnEwvKKe+shrIfuC38JAjqm2uU8sYS43oCQv7l+nsi9ovlzbsA z2Jwc5N8DnMxMhrXYg/6sStjdrIn57skJOKjLQAw2inwfJ7W6orcqOJ9c/zs7ibq8G7x3qJQtvxiu E71tqPTA5iCklWSthg0v8jUiUi0rZaF5n2kS8FG7Nq/6b/Zo1cwc9iqf6MpAGj+3eZAXKkE0B7QXY DJEon7deRz+LGQ4WNi3HM3RJjvZQuErij8I7NpMAe/9KJPxamVpQc2fAesNIf8bVGEQVnx0ecV1Pq 1OrKYCnyqvNIn3+wSc+ckg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oNQTp-0006TB-JE; Sun, 14 Aug 2022 23:09:29 -0400 In-Reply-To: <87ilmw5o4j.fsf@localhost> (message from Ihor Radchenko on Sat, 13 Aug 2022 20:22:52 +0800) 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:239720 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > So I'd really prefer a new way to specify "early variables", but I have > > no idea how that'd look in practice. Perhaps just a new thing in > > .dir-local.el, making that backwards-compatible is a challenge in > > itself. > Maybe something like 'early-local property instead of 'permanent-local? > It will not break the existing cases, while allowing the major modes or > users to mark the variables that are safe to load early. Could you spell out the behavior you propose `early-local' to have? >From those three lines, I am not sure what it would do. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)