[Top][All Lists]

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

Re: infloop with :align-to display property

From: Jesper Harder
Subject: Re: infloop with :align-to display property
Date: Fri, 26 Mar 2004 23:55:23 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Jesper Harder <address@hidden> writes:

> address@hidden (Kim F. Storm) writes:
>> Jesper Harder <address@hidden> writes:
>>>    (insert #(" " 0 1 (display (space :align-to x))))
>>> Using a non-numeric :align-to property is bogus of course, 
>> It is not bogus; it looks up the (buffer-local) value of variable `x'.
> Cool, I didn't realize that.

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).

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)))))


reply via email to

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