emacs-devel
[Top][All Lists]
Advanced

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

Re: feature/icomplete-vertical


From: João Távora
Subject: Re: feature/icomplete-vertical
Date: Mon, 05 Oct 2020 20:19:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: João Távora <joaotavora@gmail.com>
>> Cc: ghe@sdf.org,  spacibba@aol.com,  emacs-devel@gnu.org,
>>   casouri@gmail.com,  juri@linkov.net
>> Date: Mon, 05 Oct 2020 20:03:32 +0100
>> 
>> >> I think the easiest way to make this function is to give it a buffer
>> >> where text exists as buffer text and truncate-lines is what it it.  Then
>> >> it can say exactly where it _would_ cut off.
>> >
>> > That doesn't work for displaying text with continuation lines, does
>> > it?
>> 
>> I'm not sure what you mean.  Maybe?  Can you provide an example?  The
>> idea is to use this buffer to "stage" what needs to be displayed, and
>> gather guiding information from that, not necessarily to _do_ that
>> displaying on that particular "stage".
>
> If the real buffer will be displayed without truncating lines, then
> each physical line might take more than one screen line.  You need to
> account for that when you decide where to truncate.

Yes, but presumably, the (vapourware) function we are talking about
would interpret the value of truncate-lines "in the stage", and you'd
set that to the same value that you plan to use in the "real buffer".

João



reply via email to

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