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 13:39:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

martin rudalics <address@hidden> writes:

>> Of course, another way to look at it is that the buffer's content should
>> be independent from the window, and if it needs to be displayed
>> differently according to the window size, then this should be done
>> within the redisplay so that if that same buffer is displayed in several
>> windows, they all look "right".  But the current redisplay features
>> probably aren't sufficient for that.
>
> It's merely that code like `list-colors-print' would get confused.  We'd
> have to run it for every window where the buffer is shown so an overlay
> with a window property inserting the necessary amount of spaces would be
> needed.

One possibility is to improve the redisplay engine to provide a way to
specify a stretch glyph that stretches as far as possible.  The logic
should be pretty similar to the implementation of word wrap, though I'm
not sure how it would interact with word wrap, or with bidirectional
display.



reply via email to

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