GNU bug report logs - #66702
Add easy customization for .dir-locals.el files

Previous Next

Package: emacs;

Reported by: Mauro Aranda <maurooaranda <at> gmail.com>

Date: Mon, 23 Oct 2023 14:23:01 UTC

Severity: wishlist

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 66702 <at> debbugs.gnu.org
Subject: bug#66702: Add easy customization for .dir-locals.el files
Date: Mon, 23 Oct 2023 17:43:35 -0300
On 23/10/23 14:16, Juri Linkov wrote:
>> Patch attached.
>
> I tried it out on emacs/.dir-locals.el, and one thing that I noticed 
is that
> it changes the order of modes by sorting them alphabetically.  I'm sure
> people won't like if their files will get so much changes especially
> when they intend to commit a change in a single value.

That's modify-dir-local-variable doing the sorting.

You get the same results by doing:
emacs -Q
M-x add-dir-local-variable RET nil RET foo RET t
M-x diff-buffer-with-file RET RET

Should we add a nosort option somewhere?




This bug report was last modified 1 year and 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.