unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Deniz Dogan <deniz.a.m.dogan@gmail.com>
Cc: Bastien <bastienguerry@googlemail.com>, emacs-devel@gnu.org
Subject: Re: Unfill please!
Date: Wed, 5 Aug 2009 17:43:28 +0200	[thread overview]
Message-ID: <e01d8a50908050843y333fc85eu192ff29b0d6afc9@mail.gmail.com> (raw)
In-Reply-To: <e01d8a50908050129w8adb4d3y9e128715f748189@mail.gmail.com>

On Wed, Aug 5, 2009 at 10:29 AM, Lennart
Borgman<lennart.borgman@gmail.com> wrote:
> On Wed, Aug 5, 2009 at 10:28 AM, Deniz Dogan<deniz.a.m.dogan@gmail.com> wrote:
>> 2009/8/5 Lennart Borgman <lennart.borgman@gmail.com>:
>>> I have a minor mode that sets margins so that the width is fill-column...
>>
>> I have been looking for something like this. Would you mind sharing it?
>
>
> It is part of nXhtml, in the file ourcomments-util. But I am currently
> fighting some bugs in it. window-width seems to be buggy.


If you look in nXhtml repository in Launchpad you can find the minor
mode wrap-to-fill-column-mode in the file ourcomments-util.el. It
looks like it works ok now.

This mode does some small things that I find useful when writing text:

- Sets left and right margin so that text in displayed in the middle
of the window fill-column wide.
- Turns on visual-line-mode.
- Sets wrap-prefix so that continuation lines are indented the same
amount as the current line.




  reply	other threads:[~2009-08-05 15:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-05  0:01 Unfill please! Lennart Borgman
2009-08-05  6:34 ` Bastien
2009-08-05  6:36   ` Lennart Borgman
2009-08-05  6:45     ` Bastien
2009-08-05  7:05       ` Lennart Borgman
2009-08-05  7:10         ` Bastien
2009-08-05  7:13           ` Lennart Borgman
2009-08-05  8:13             ` David Kastrup
2009-08-05  8:28         ` Deniz Dogan
2009-08-05  8:29           ` Lennart Borgman
2009-08-05 15:43             ` Lennart Borgman [this message]
2009-08-05  8:09 ` Daniel Clemente

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=e01d8a50908050843y333fc85eu192ff29b0d6afc9@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=bastienguerry@googlemail.com \
    --cc=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.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).