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: Tue, 01 Mar 2011 16:43:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> (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.
>
> Won't work right for proportional fonts.

If we give it an extra character worth of whitespace, it ought to work
for most :-P



reply via email to

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