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: Kim F. Storm
Subject: Re: infloop with :align-to display property
Date: 29 Mar 2004 01:14:17 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Stefan Monnier <address@hidden> writes:

> >         (+ 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.

Internally, the form is evalled by evalling the car and cdr and
multiplying them, so in effect, it can be used for more generic
multiplication (and division).

I do find it cleaner to add * (and /) as alternatives, but on the
other hand I wanted to keep this simple, and not add duplicate
functionality.

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

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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