[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Easy Customization for Directory Local Variables
From: |
Eli Zaretskii |
Subject: |
Re: Easy Customization for Directory Local Variables |
Date: |
Mon, 02 Oct 2023 08:41:46 +0300 |
> From: Juri Linkov <juri@linkov.net>
> Cc: Adam Porter <adam@alphapapa.net>, emacs-devel@gnu.org
> Date: Sun, 01 Oct 2023 21:49:56 +0300
>
> >> The most suitable place for this new feature would be files-x.el
> >> where extra commands for dir-local variables are defined.
> >
> > Would customize-dir-locals be a good name for the command, if it is to
> > live in files-x.el?
>
> customize-dir-locals looks nice for the top command - as a blend of
> customize-variable and *-dir-locals from files-x.el.
>
> > What about the other names? files-x.el doesn't seem to have a prefix,
> > so I'm unsure on how to name them.
>
> There is no single prefix in files-x.el, but still names are quite
> consistent. So you could choose any prefix you think would be
> internally consistent between all your new functions and variables.
Why should this be in files-x.el? why not in custom.el, for example?