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#15658: 24.1; (wishlist) Easy way to make a file-local variable also permanent-local Date: Wed, 11 May 2022 13:47:52 +0200 Message-ID: <8735hgcmtz.fsf@gnus.org> References: <87lev9fmia.fsf@gnus.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="7751"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 15658@debbugs.gnu.org To: yary Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 11 13:49:41 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 1nokqb-0001qO-TX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 13:49:41 +0200 Original-Received: from localhost ([::1]:48216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nokqa-0003g5-L6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 07:49:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nokpy-0002vM-1B for bug-gnu-emacs@gnu.org; Wed, 11 May 2022 07:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nokpx-00026V-OK for bug-gnu-emacs@gnu.org; Wed, 11 May 2022 07:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nokpx-00054A-Mp for bug-gnu-emacs@gnu.org; Wed, 11 May 2022 07:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2022 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15658 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15658-submit@debbugs.gnu.org id=B15658.165226968319352 (code B ref 15658); Wed, 11 May 2022 11:49:01 +0000 Original-Received: (at 15658) by debbugs.gnu.org; 11 May 2022 11:48:03 +0000 Original-Received: from localhost ([127.0.0.1]:36286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nokp1-000522-H8 for submit@debbugs.gnu.org; Wed, 11 May 2022 07:48:03 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nokp0-00050v-1c for 15658@debbugs.gnu.org; Wed, 11 May 2022 07:48:02 -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:In-Reply-To:Date: References: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=cblrX7QWoDIs5QZC+mEiGsJDNPzl7sifya9f+qY1s4Y=; b=FFYea1fdCO1F+0IRiAmWs0fXhH 9aN/4eE5IN3iMYawWRX0n/1iHKnscXnK2j6kUlxvbbaSRTjDueu31rkUtqGdej4HSNGqvU09y9qOB J3teJsmQxJ8QneSMAffGTmiSnB2Kp9lyqAcT/Zx7QJji2sT68yMsb3wqqsW36lrfLhfc=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nokor-0007gq-WC; Wed, 11 May 2022 13:47:56 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEUBAQIVGCUlIy9W UGEtM0tMOEOblqjbubLk09drcZOegX/99/mdaV94hav///+wQeS2AAAAAWJLR0QOb70wTwAAAAd0 SU1FB+YFCwseHjEztxMAAAGDSURBVDjL5ZK/T8JAFMfvqovbvaYxjhSJiU7qlYgjbTFxkxDq4nyA u9Ag+13S0V+piYMDcWGGJre4uBhnEgf+F1t+lpYYBzbfeJ/7vve+d1+E1l0YdAKgQ1jLQDFK5d1j W6O5XALoiGCAtOK3KZgAAbwC5DJ6RlXJ2n39YaeiZiJl1WTbMtFZlWZSYJOCWnFcfpQiz6peaQkv eE2cKw9ZuPSklMHhMrCyAAUZVX95BUsDqI+BvFkCWw1aup0A/h4HO5xVvQkYtOPNHLd5MDmXQesj BvYEd+agF9usIMSJOwW8012AuhC1qUK6na+LmELywdigJwXvVefzt5nLB9G+/ZoctNpXc8k+fQwf KlKI0EnrcwZww3gS3tQI7y46WaeM1WUIguu8HnOxcW86+TfmBc1y4md1EkXNKqa+CQjBCqUWtU2I +pNphLENSFX9sEbfPtUJUmfZzobX4NwfDRljdybB86iGeqxY/suQDRt5gyRypEW9fCNnogQAzbbD 4UDQf6gfbvaVdAPpCWcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDUtMTFUMTE6MzA6MzArMDA6 MDBifCELAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTExVDExOjMwOjMwKzAwOjAwEyGZtwAA AABJRU5ErkJggg== X-Now-Playing: Joni Mitchell's _Night Ride Home_: "Slouching Towards Bethlehem" In-Reply-To: (yary's message of "Tue, 10 May 2022 15:54:00 -0400") 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:231900 Archived-At: yary writes: > I was working on this about 5 years ago, before 24.1, and the use case > I had for this doesn't apply to my current situation. So it might > already work as I wanted it, and my wants have changed! OK to close > this. Phil Sainty writes: > This changed in `normal-mode' in 26.1 for bug #23460, so I'd expect > testing to have been different in 25.1. > > The relevant NEWS entry is: > > ** File local and directory local variables are now initialized each > time the major mode is set, not just when the file is first visited. > These local variables will thus not vanish on setting a major mode. Thanks; there doesn't seem to be anything more to do here, then, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no