unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: Indentation and visual-line-mode
Date: Fri, 25 Nov 2011 15:47:25 +0100	[thread overview]
Message-ID: <CANbX367icqW1=wvrYSYsp3YWGj-OeXunXv4fW_8xKWhcM9MheQ@mail.gmail.com> (raw)
In-Reply-To: <87lir4xo95.fsf@tsdh.uni-koblenz.de>

On Fri, Nov 25, 2011 at 15:36, Tassilo Horn <tassilo@member.fsf.org> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> 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"?

Yes.



  reply	other threads:[~2011-11-25 14:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25  9:34 Indentation and visual-line-mode Tassilo Horn
2011-11-25 11:52 ` Eli Zaretskii
2011-11-25 12:38   ` Stephen Berman
2011-11-25 13:54     ` Tassilo Horn
2011-11-25 14:52       ` Stefan Monnier
2011-11-25 14:58         ` Lennart Borgman
2011-11-25 15:15         ` Tassilo Horn
2011-11-25 13:49 ` Lennart Borgman
2011-11-25 14:36   ` Tassilo Horn
2011-11-25 14:47     ` Lennart Borgman [this message]
2011-11-25 15:37       ` Juanma Barranquero
2011-11-25 15:46         ` Lennart Borgman
2011-11-25 14:00 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANbX367icqW1=wvrYSYsp3YWGj-OeXunXv4fW_8xKWhcM9MheQ@mail.gmail.com' \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).