[Top][All Lists]

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

Re: Indentation and visual-line-mode

From: Lennart Borgman
Subject: Re: Indentation and visual-line-mode
Date: Fri, 25 Nov 2011 15:47:25 +0100

On Fri, Nov 25, 2011 at 15:36, Tassilo Horn <address@hidden> wrote:
> Lennart Borgman <address@hidden> writes:
> Hi Lennart,
>>> Checking the docs, I think something like that can be achieved using
>>> the variables or text properties `line-prefix' and `wrap-prefix', but
>>> what is a stretch-glyph?
>> I think I have told here that there is and have been for several years
>> a minor mode in nXhtml that does this: wrap-to-fill-column-mode.
> Hm, I've just downloaded wrap-to-fill.el, but it depends on mumamo and
> possibly other files.

It does not depend on mumamo.el. I just forgot to remove the
(eval-when-compile (require 'mumamo)) line.

> I'm not too tempted to install nXhtml mode just
> for that single feature, when Stephen's snippet works just fine.

They do not do the same thing.

>> I have attached an image of how it can look in org-mode.  There are
>> two lines in this image, one in org-mode itself and one in a comment
>> in org-mode. Both are wrapped the way you want it.
> Oh, are the second and third # in the comment artifical, i.e., logically
> it's only "# one comment starter followed by a very long line"?


reply via email to

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