emacs-devel
[Top][All Lists]
Advanced

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

Re: word-wrap and wrapping before window-width


From: Ivan Shmakov
Subject: Re: word-wrap and wrapping before window-width
Date: Mon, 29 Dec 2014 15:01:47 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Stefan Monnier <address@hidden> writes:

 >> The only feature that I’m aware to be missing is the actual support
 >> for Emacs native text wrapping (as in: the word-wrap variable and
 >> wrap-prefix text property) in SHR.

 > Reminds me that while I opposed adding a ‘wrap-column’ option for
 > those people who want to do word-wrap without using the whole window
 > width, I would actually welcome a new text-property which lets the
 > wrap-column be set locally to a different value (ideally, this should
 > also allow specifying that some part of the text should be
 > word-wrapped while others should be truncated).

        There’s an minor issue of how to display word-wrapped lines
        while the window is scrolled horizontally.  Currently,
        horizontal scrolling simply inhibits word-wrap.

        Otherwise, I have very little knowledge of the Emacs display
        engine implementation to actually code support for such a
        property myself.  However, should it be implemented, I’d happily
        update my patch for #19462 to use that so that non-flowable
        content gets marked as such.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A



reply via email to

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