emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: infloop with :align-to display property


From: Stefan Monnier
Subject: Re: infloop with :align-to display property
Date: 28 Mar 2004 17:39:37 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> >         (+ expr expr ...)
>> >         (- expr expr ...)
>> >         (expr . expr)  => multiplies CAR and CDR.
>> 
>> Why not (* expr expr) ?
>> The (expr . expr) form seems pretty future-unfriendly.

> Originally, the (.) form is there so you can say e.g (5 . mm) to get a
> width of 5 mm.

You mean it was there before?  Has it been used somewhere already?
How about declaring it obsolete or even just removing it and adding
the * form instead?

> Also, I didn't want to give the impression that it is possible to
> specify arbitrary lisp forms there.

I like the idea of reusing a subset of elisp, so that in case someone feels
like extending it to full Lisp, it'll still work.
Extending it to full Lisp could be done by eval'ing those forms at the same
place where fontification-function is called (i.e. evalling them in advance
before rendering a chunk and storing the results somewhere so we can
retrieve them when we need them inside the rendering itself where Lisp is
not allowed).


        Stefan




reply via email to

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