emacs-devel
[Top][All Lists]
Advanced

[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 14:40:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> And then we have this annoyance from "C-h v" as well:
>
>   read-extended-command-predicate is a variable defined in ‘simple.el’.
>   Its value is
>   #f(compiled-function
>   (s b)
>   #<bytecode 0x5a5068802147c83>)
>
> That's not very useful display for a user option.

That's what prompted my query about adding something like `always'.
(Although I've been missing the predicate for years.)

I think using function values in user options is fine -- the Emacs
developers can never get cover all behavioural permutations that people
would like to see, so allowing them to supply their own code is helpful.

-- 
(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]