emacs-devel
[Top][All Lists]
Advanced

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

Re: line/wrap-prefix patch


From: Stefan Monnier
Subject: Re: line/wrap-prefix patch
Date: Fri, 04 Jul 2008 17:25:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> If my usage above is correct, I think this approach would effectively
> need to be augmented by something like longlines.el.  If I just enable
> word wrapping and set wrap-prefix text properties as above, then as soon
> as I add enough text to force new word wrapping before a position
> indented by the wrap-prefix property, that indentation is lost.  Without
> line wrapping via post-command-hook a la longlines.el I don't see how to
> reliably retain the indentation after such changes in the previous text,
> at least at the lisp level (the alternative would be to integrate
> "adaptive indentation" into redisplay, as you did with "simple"
> indentation).

I'd expect it to be a job for jit-lock.


        Stefan




reply via email to

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