From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57003: 28.1.90; Can local variables be loaded before loading major mode? Date: Mon, 08 Aug 2022 16:23:39 +0200 Message-ID: <875yj2zudw.fsf@gnus.org> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30689"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 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 08 16:24:21 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 1oL3g5-0007oT-PS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Aug 2022 16:24:21 +0200 Original-Received: from localhost ([::1]:60204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL3g4-0005Le-BM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Aug 2022 10:24:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL3fm-0005JX-GO for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2022 10:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oL3fm-0008IE-7q for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2022 10:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oL3fm-0001at-1D for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2022 10:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Aug 2022 14:24:01 +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.16599686326103 (code B ref 57003); Mon, 08 Aug 2022 14:24:01 +0000 Original-Received: (at 57003) by debbugs.gnu.org; 8 Aug 2022 14:23:52 +0000 Original-Received: from localhost ([127.0.0.1]:41421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL3fc-0001aN-31 for submit@debbugs.gnu.org; Mon, 08 Aug 2022 10:23:52 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL3fY-0001a0-UD for 57003@debbugs.gnu.org; Mon, 08 Aug 2022 10:23:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BmrnXcCGvPpWPpMELeObgkOUFazsSH19Ho/5TcyJXQw=; b=PLgCYcHTLsMFXRoY1t+WgWV5kv HRb0dLrK2INY9ITOg3mrmOPRtrqCF+YpIAdzX11U6fswuJ5iOYMgJ9hCpXFrkv20vSLqZNNuXjBeU 1LtRbOrmLV6U9C/j/2gILJkYJekl8MjujUVx9Vpb94a2jCLbozsMJd+7htZT7ILbfjYI=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oL3fQ-0001L3-DR; Mon, 08 Aug 2022 16:23:42 +0200 In-Reply-To: <87a68ezycj.fsf@localhost> (Ihor Radchenko's message of "Mon, 08 Aug 2022 20:58:04 +0800") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVdXFx+foGenaAx Ly7////2IpWJAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YICA4WCZbXEWgAAAF1SURBVDjLlZRtmsMg CISH9QJqLhDpBch6/7vtAE3bpP5Z0sekvgz4gQJh0mqV2tK0a6voj773XVVH5/Oz/wxhKzusHvVo Og4qjmJ8wMcmpptKyfdpWwLR7H+DMmEwUQEjmDfTo3kDIlV89M3j4WKG+pUxP+3YEljf57cZ0GS0 m3HGHdK73s09wfZCRnQ3hW7GlWpOR/5OwDRy1QgceCau5aeFPkG5jDRDNd+M7Q6o6FTotlAsQD1z yFKxBv3foI0VYPWsgZdSzrzfgZ7gcQHDl3Kl8BpVVO67ALcNZyhWzIEyr4Slwiopvgcv53MH7p4v wyV0uQLLzx7F/K2Ag7oCXkEvUN5AovBersiGaSQkOFOiRD5Y7vR4+ucZ5Lx5fthPReMRojeH/nRg ikwS3T4nf4dAPRJ3bkqdXNozZlT88AE/5+g62DRxBdOMveRQubDmIEvc515KDDSmYOmBuGb8yoj/ Epo4FnFM3kB4vcD7Gr9InZf5B6vekdJLhQZ3AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA4LTA4 VDE0OjIyOjA5KzAwOjAwzMmKdwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOC0wOFQxNDoyMjow OSswMDowML2UMssAAAAASUVORK5CYII= X-Now-Playing: The Ex's _Live-Skive_: "Punk Horse" 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:239120 Archived-At: Ihor Radchenko writes: >>> Having Emacs support early setting would be much easier. >> >> You could make the relevant Org variables `permanent-local' -- then >> calling `org-mode' won't clear them out. > > Could you please elaborate on how it is going to help with loading > file-local variables before loading Org mode? Sorry, phrased that all wrong -- I meant that if we had a mechanism to read the dir-locals earlier, then if you make the variables permanently-local, then things would indeed work fine without any further scaffolding here. So perhaps we should just allow that, but I'm not sure how we'd specify this.