unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mauro Aranda <maurooaranda@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: 66702@debbugs.gnu.org
Subject: bug#66702: Add easy customization for .dir-locals.el files
Date: Fri, 27 Oct 2023 08:06:26 -0300	[thread overview]
Message-ID: <a8893759-765f-4120-92a3-e286ed5f989c@gmail.com> (raw)
In-Reply-To: <867cnb8af8.fsf@mail.linkov.net>

On 25/10/23 03:48, Juri Linkov wrote:
 >>>> 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?
 >>>
 >>> The assumption was that .dir-locals.el will always be modified
 >>> by these commands.  But since it's often modified manually
 >>> with an arbitrary order, this means that the sorting order
 >>> is not important.  So we could simply remove the sorting code.
 >>
 >> Hmm, but that would be backward incompatible.  Someone out there might
 >> be relying in these commands to keep the settings sorted.
 >
 > Then we could add a simple variable, not a customizable option.
 > Then they could even set this variable in the customized .dir-locals.el!

That should be good enough, I think.





  reply	other threads:[~2023-10-27 11:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23 14:21 bug#66702: Add easy customization for .dir-locals.el files Mauro Aranda
2023-10-23 14:24 ` Mauro Aranda
2023-10-23 17:16   ` Juri Linkov
2023-10-23 20:43     ` Mauro Aranda
2023-10-24  6:58       ` Juri Linkov
2023-10-24  9:45         ` Mauro Aranda
2023-10-25  6:48           ` Juri Linkov
2023-10-27 11:06             ` Mauro Aranda [this message]
2023-10-28 17:02   ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8893759-765f-4120-92a3-e286ed5f989c@gmail.com \
    --to=maurooaranda@gmail.com \
    --cc=66702@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).