[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change in files.el

From: Stefan Monnier
Subject: Re: Change in files.el
Date: Sat, 28 Jan 2017 12:42:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> Anyway, I definitely see what you mean.  I just disagree on the
>> seriousness of the problem, and on the impact of the guideline on it.
> The issue is not serious enough to prevent people from using the
> methods you'd like to see, but I question the wisdom of having a
> project-wide guidelines to _always_ use them is similar situations.

I think the benefits are the following:
- (eventually) more consistency, such as knowing that you can use
  `add-function` will work right on any *-predicate or
  *-function variable.
- until recently, it was common for such variables to have a nil
  default value.  Without an active effort to reverse this, we'll always
  end up with such new variables introduced with a nil default value
  (especially since it's very common for new such variables to have
  a trivial default behavior, and only accumulating complexity later
  on, at which point it's a lot more difficult to change the default to
  be non-nil).


reply via email to

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