[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master fe7c015b20: Support XFCE in wallpaper.el
From: |
Visuwesh |
Subject: |
Re: master fe7c015b20: Support XFCE in wallpaper.el |
Date: |
Tue, 27 Sep 2022 21:13:04 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
[செவ்வாய் செப்டம்பர் 27, 2022] Stefan Kangas wrote:
> Could we change `format-spec' to accept functions in the substitutions,
> that are then only called when actually needed?
+1. I was thinking of raising such a proposal myself. It seems wasteful to
pre-calculate all the specifications instead of lazily evaluating them.
>
> For example, from its docstring:
>
> (format-spec "su - %u %l"
> `((?u . ,(user-login-name))
> (?l . "ls")))
>
> Could then instead be:
>
> (format-spec "su - %u %l"
> `((?u . #'user-login-name)
> (?l . "ls")))
>
> Perhaps we should hide that behind a new optional argument though.
- Re: master fe7c015b20: Support XFCE in wallpaper.el, (continued)
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Thierry Volpiatto, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Thierry Volpiatto, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el,
Visuwesh <=
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Thierry Volpiatto, 2022/09/27
- 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