emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103444: * lisp/facemenu.el (list


From: Chong Yidong
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103444: * lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
Date: Mon, 28 Feb 2011 22:40:28 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Johan Bockgård <address@hidden> writes:

> Chong Yidong <address@hidden> writes:
>
>> I'm thinking of something like `(space :width maximum)', i.e. a way to
>> specify a stretch glyph that's exactly wide enough to align the end of
>> the current line with the right edge of the text area.
>
>     (insert (propertize
>              " " 'display
>              '(space :align-to (- text 8))) "#123456")

Ah yes, I think this will work.  Thanks.

In the general case, the stuff after stretch glyph could have arbitrary
width, so this wouldn't work; but it's certainly good enough for what
list-colors-display needs.



reply via email to

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