[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Always-true predicate?
From: |
Lars Ingebrigtsen |
Subject: |
Re: Always-true predicate? |
Date: |
Fri, 19 Feb 2021 15:05:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> But my main gripe is about options whose values can only be functions,
> and nothing else. No one will convince me that Emacs developers
> cannot come up with meaningful values that aren't functions for some
> option.
Yeah, that's true. Having nil/t values is often handy. I guess the
only reason for not adding those is laziness. I.e., every
implementation of these options end up looking like
(pcase foo-option
('nil nil)
('t t)
(_ (funcall foo-option)))
or something.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Always-true predicate?, (continued)
- Re: Always-true predicate?, Richard Stallman, 2021/02/19
- Re: Always-true predicate?, Robert Pluim, 2021/02/19
- Re: Always-true predicate?, Eli Zaretskii, 2021/02/19
- Re: Always-true predicate?, Eli Zaretskii, 2021/02/19
- Re: Always-true predicate?, Stefan Kangas, 2021/02/19
- Re: Always-true predicate?, Lars Ingebrigtsen, 2021/02/19
- Re: Always-true predicate?, Eli Zaretskii, 2021/02/19
- Re: Always-true predicate?, Lars Ingebrigtsen, 2021/02/19
- Re: Always-true predicate?, Eli Zaretskii, 2021/02/19
- Re: Always-true predicate?,
Lars Ingebrigtsen <=
- RE: [External] : Re: Always-true predicate?, Drew Adams, 2021/02/19
- Re: Always-true predicate?, Stefan Monnier, 2021/02/19
- Re: Always-true predicate?, Lars Ingebrigtsen, 2021/02/20
- Re: Always-true predicate?, Lars Ingebrigtsen, 2021/02/20
- Re: Always-true predicate?, Stefan Monnier, 2021/02/20
- Re: Always-true predicate?, Lars Ingebrigtsen, 2021/02/20
- Re: Always-true predicate?, Stefan Monnier, 2021/02/20
- Re: Always-true predicate?, Lars Ingebrigtsen, 2021/02/20
- Re: Always-true predicate?, Stefan Monnier, 2021/02/20
- Re: Always-true predicate?, Robert Pluim, 2021/02/21