[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master fe7c015b20: Support XFCE in wallpaper.el
From: |
Eli Zaretskii |
Subject: |
Re: master fe7c015b20: Support XFCE in wallpaper.el |
Date: |
Tue, 27 Sep 2022 20:14:09 +0300 |
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Tue, 27 Sep 2022 13:01:11 -0400
> Cc: visuweshm@gmail.com, thievol@posteo.net, luangruo@yahoo.com,
> emacs-devel@gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> +If the value is a function, it will be evaluated only when
> >> +needed. For example:
> >
> > What does it mean "only when needed" in this context?
>
> I wrote this rather quickly.
>
> Is "only when a %-spec needs it" more clear? It should probably say
> "called" instead of "evaluated", too.
First I think you should use "substitution", not "value", because
that's how the SPECIFICATION alist is described:
SPECIFICATION is an alist mapping format specification characters
to their substitutions.
And then I'd suggest something like
If the substitution for a specification character is a function, the
function will be called only if FORMAT uses that character.
- Re: master fe7c015b20: Support XFCE in wallpaper.el, (continued)
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Visuwesh, 2022/09/27
- 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 <=
- 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, 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, Stefan Monnier, 2022/09/29
- Re: Make format-spec accept a function as the substitution, Thierry Volpiatto, 2022/09/29