emacs-devel
[Top][All Lists]
Advanced

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

Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function


From: Lars Ingebrigtsen
Subject: Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function
Date: Thu, 16 Jun 2022 14:50:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> You don't need to understand the subtleties of <blabla>, because you
> just move the code as-is and then the compiler will tell you if there's
> a problem (typically because <blabla> uses vars from the context, which
> you then need to pass as additional arguments).

Sounds good to me, but I think it'd be better if you did the adjustments
here.  😀

> [ For the same reason, most/all `<foo>-function` variables should
>   ideally have a non-nil default value.  ]

I don't agree with that in general.  As a user, it's easier to reason
about nil-as-some-default-function than an explicit one.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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