help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: rcd-template-eval, much is in Org mode


From: Tassilo Horn
Subject: Re: rcd-template-eval, much is in Org mode
Date: Fri, 30 Apr 2021 22:06:08 +0200
User-agent: mu4e 1.5.12; emacs 28.0.50

Jean Louis <bugs@gnu.support> writes:

> For almost 2 decades I use that for WWW publishing. Imagine:
>
> <html>
>   <body>
>     <title>⟦ (xml-escape "My new <title>") ⟧</title>
>   </body>
> </html>

If I would want to do something like that, I'd just write a lispy HTML
DSL so that I could write

(foo/html
 (foo/body
  (foo/title (xml-escape "My new <title>"))))

which is shorter, easier to type, and doesn't need `eval'.

Bye,
Tassilo



reply via email to

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