emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: String interpolation


From: Stefan Monnier
Subject: Re: RFC: String interpolation
Date: Thu, 08 Dec 2016 15:04:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

>>> fmt expands the strings at compile time (so they must be constant
>>> strings).
>> I've occasionally appreciated the fact that I can pass a dynamically
>> created format string to `format'... ;-) Ok, I could always use
>> `format' in such cases.
> Yes; otherwise, fmt becomes a thinly veiled eval, and that isn't great.

Not only that, but if it's a function it doesn't have access to the
variables in the lexical scope of the caller.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]