bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19661: wrapping before window-width (new wrap-column text property?)


From: martin rudalics
Subject: bug#19661: wrapping before window-width (new wrap-column text property?)
Date: Fri, 23 Jan 2015 17:55:53 +0100

>> This is an example       This is yet another example sentence with 
line-prefix
>> sentence with            and wrap-prefix both set to (space :align-to 25), –
>> wrap-column set to 23.   or something like that.
>
> This is a much harder nut to crack, and having wrap-column doesn't
> help with that.

This could be done with two side-by-side windows, `follow-mode' (Anders
Lindgren would certainly help with that) and some non-trivial changes in
window layout.  You'd probably want a zero width window to display a
common vertical scroll bar, a zero height window to display a horizontal
scroll bar and two zero height windows to display common mode and header
lines.  And obviously some meta mode that turns on multicolumn display
for parts of the text and manages the window layout appropriately.

In any case you can easily try a prototype with a number of side-by-side
windows turning off all decorations but the scroll bar of the rightmost
one and enabling `follow-mode'.  And you could insert (barely visible)
window dividers and use the mouse to change the widths of the columns.

martin






reply via email to

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