[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make format-spec accept a function as the substitution
From: |
Stefan Kangas |
Subject: |
Re: Make format-spec accept a function as the substitution |
Date: |
Thu, 29 Sep 2022 09:34:23 -0700 |
Thierry Volpiatto <thievol@posteo.net> writes:
>> Code should be quoted with `lambda` (which you run with `funcall` or
>> `apply`), not with `quote` (for which you need to use `eval`).
>
> Ok, that's what was proposed initially and is indeed probably the best,
> however I was wondering if an implementation of format-spec not
> evaluating the whole alist at once but only the needed specs would be
> better.
We could do it with a new macro like `read-format-spec-lazy' of course,
but I'm not sure it's worth it. Using a lambda seems easy enough.
- Re: master fe7c015b20: Support XFCE in wallpaper.el, (continued)
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Eli Zaretskii, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Eli Zaretskii, 2022/09/27
- Make format-spec accept a function as the substitution, Stefan Kangas, 2022/09/27
- Re: Make format-spec accept a function as the substitution, Thierry Volpiatto, 2022/09/29
- Re: Make format-spec accept a function as the substitution, Stefan Monnier, 2022/09/29
- Re: Make format-spec accept a function as the substitution, Stefan Kangas, 2022/09/29
- Re: Make format-spec accept a function as the substitution, Philip Kaludercic, 2022/09/29
- Re: Make format-spec accept a function as the substitution, Stefan Kangas, 2022/09/29
- Re: Make format-spec accept a function as the substitution, Thierry Volpiatto, 2022/09/29
- Re: Make format-spec accept a function as the substitution,
Stefan Kangas <=
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/29