emacs-devel
[Top][All Lists]
Advanced

[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: Mon, 23 Mar 2020 13:24:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Possibly.  Stefan didn't say why he thought adding a variable was an
> improvement, but my guess would be ease of change in the future.

I explained that I don't really want it to be a *variable* but I think
we should remove the various occurrences of 3000 and replace them with
a reference to a centralized place where this *constant* is defined,
with a name that explains what it is.  For the usual software
engineering reasons that say that arbitrary constants should be named.

IIUC this constant is also used from Elisp so it has to be exported to
Elisp where we don't really have constants.  Also I don't see why we
should go out of our way to make it hard for the user to change it.

So an *internal variable* sounds good to me,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]