emacs-devel
[Top][All Lists]
Advanced

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

Re: Display-based word wrapping


From: Chong Yidong
Subject: Re: Display-based word wrapping
Date: Sun, 22 Jun 2008 18:24:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

David Reitter <address@hidden> writes:

> On 22 Jun 2008, at 21:33, Chong Yidong wrote:
>>>
>>> Yes, I would find this quite impractical to not have a
>>> wrap-column'. I do not want to resize windows just to edit text in a
>>> comfortable way.
>>
>> Introducing a wrap-column variable is almost exactly the same as
>> changing the window width, or equivalently the right fringe width.  I
>> don't see the advantage in further complicating this part of the code
>> to introduce a new way to do the same thing.
>
> How does the specification of a wrap column work with variable-width
> fonts?

In the current patch that I'm working with, the wrap occurs at the
window edge, calculated using pixel positions.  So it DTRT with respect
to variable-width fonts.

If a wrap-column is introduced, it will probably specify a number of
pixels equal to N standard-width columns.




reply via email to

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