emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation and visual-line-mode


From: Tassilo Horn
Subject: Re: Indentation and visual-line-mode
Date: Fri, 25 Nov 2011 15:36:38 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

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.  I'm not too tempted to install nXhtml mode just
for that single feature, when Stephen's snippet works just fine.

> 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"?

Bye,
Tassilo
-- 
(What the world needs (I think) is not
      (a Lisp (with fewer parentheses))
      but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf



reply via email to

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