[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can we expand the valid location of "Local Variables" ?
From: |
Stefan Monnier |
Subject: |
Re: Can we expand the valid location of "Local Variables" ? |
Date: |
Sat, 14 Mar 2020 03:07:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> How about some form of "include" mechanism:
>
> Local Variables:
> @include: FILENAME
> End:
Sounds OK, yes.
> I would suggest implementing that with the same care, considerations,
> and restrictions as has `eval' for Locals
Indeed. There be dragons.
> Mind you, if your Local Vars sections are getting so out of hand that
> they warrant having a whole extra file to store them, you should probably
> re-think what you're doing. :-)
I think such an @include directive can be useful not just for large
sections but also to avoid duplicating settings (i.e. a kind of
alternative to .dir-locals.el, not tied to the directory hierarchy).
Stefan
- Re: Can we expand the valid location of "Local Variables" ?, (continued)
- Re: Can we expand the valid location of "Local Variables" ?, Dima Kogan, 2020/03/22
- Re: Can we expand the valid location of "Local Variables" ?, Robert Pluim, 2020/03/23
- Re: Can we expand the valid location of "Local Variables" ?, Eli Zaretskii, 2020/03/23
- Re: Can we expand the valid location of "Local Variables" ?, Robert Pluim, 2020/03/23
- Re: Can we expand the valid location of "Local Variables" ?, Eli Zaretskii, 2020/03/23
- Re: Can we expand the valid location of "Local Variables" ?, Dima Kogan, 2020/03/23
- Re: Can we expand the valid location of "Local Variables" ?, Stefan Monnier, 2020/03/23
- Re: Can we expand the valid location of "Local Variables" ?, Richard Stallman, 2020/03/23
Re: Can we expand the valid location of "Local Variables" ?, Richard Stallman, 2020/03/11
Re: Can we expand the valid location of "Local Variables" ?, Yuri Khan, 2020/03/23