[Top][All Lists]
[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: |
28 Mar 2004 19:54:18 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Jesper Harder <address@hidden> writes:
> Hmm, it's not clear to me exactly what is allowed here. Any
> expression that evaluates to an appropriate number, or what? (I
> couldn't find anything about it in the manual).
It's not yet in the manual. Did you read the description in NEWS ?
>
> Something like this works:
>
> (insert #(" " 0 1 (display (space :align-to (- fill-column 5)))))
>
> But this doesn't work:
>
> (defun two () 2)
> (insert #(" " 0 1 (display (space :align-to (two)))))
>
> Why?
The only arithmetic that is allowed is:
(+ expr expr ...)
(- expr expr ...)
(expr . expr) => multiplies CAR and CDR.
Actually, :align-to (two) means to take value of "two" and use it as a
number of pixels, where :align-to two takes the value of "two" and
uses it as a number of (default width) characters.
--
Kim F. Storm http://www.cua.dk
- infloop with :align-to display property, Jesper Harder, 2004/03/24
- Re: infloop with :align-to display property, Kim F. Storm, 2004/03/25
- Re: infloop with :align-to display property, Jesper Harder, 2004/03/26
- Re: infloop with :align-to display property, Jesper Harder, 2004/03/26
- Re: infloop with :align-to display property,
Kim F. Storm <=
- Re: infloop with :align-to display property, Stefan Monnier, 2004/03/28
- Re: infloop with :align-to display property, Kim F. Storm, 2004/03/28
- Re: infloop with :align-to display property, Stefan Monnier, 2004/03/28
- Re: infloop with :align-to display property, Kim F. Storm, 2004/03/29
- Re: infloop with :align-to display property, Kim F. Storm, 2004/03/28