From: Lennart Borgman <lennart.borgman@gmail.com>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: word-wrap (visual-line) and indents
Date: Tue, 25 May 2010 19:36:37 +0200 [thread overview]
Message-ID: <AANLkTimT0c8qgc3eO3R01G2E5HsCq5UvSfpyxZKrBh01@mail.gmail.com> (raw)
In-Reply-To: <A9812C1D-5CF8-4F01-BD49-DA1B6038EF04@gmail.com>
On Tue, May 25, 2010 at 7:29 PM, David Reitter <david.reitter@gmail.com> wrote:
> On May 25, 2010, at 12:30 PM, Lennart Borgman wrote:
>
>>
>> I have tried to implement this in `wrap-to-fill-column' (which is part
>> of nXhtml currently). Can you test it and see how it fits
>
> Can you give me a pointer to this?
> I have tried the master branch (24), in nxml-mode, and couldn't find a variable or function of this name. I don't seem to have a nxhtml-mode. Do you mean the latest release of nXhtml on ourcomments.org?
Check out nXhtml from Launchpad and just add a line
(load "nxhtml/autostart.el")
Then you have the minor mode `wrap-to-fill-column-mode'.
However it does not try to make use of fill-context-prefix yet. It has
its own way to set things up. I hope we can change that later.
> Maybe if you split it out, that'd be easiest, because then I could see how this works in other modes.
wrap-to-fill-column-mode does two things
- Sets margin so that only fill-column columns is left for the text.
- Sets 'wrap-prefix on the lines that it thinks should be indented.
So I think for testing you can use it as it is.
next prev parent reply other threads:[~2010-05-25 17:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-25 15:37 word-wrap (visual-line) and indents David Reitter
2010-05-25 16:30 ` Lennart Borgman
2010-05-25 17:29 ` David Reitter
2010-05-25 17:36 ` Lennart Borgman [this message]
2010-05-25 19:12 ` David Reitter
2010-05-25 21:34 ` Lennart Borgman
2010-05-25 17:05 ` Stefan Monnier
2010-05-25 19:39 ` Stephen Berman
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=AANLkTimT0c8qgc3eO3R01G2E5HsCq5UvSfpyxZKrBh01@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=david.reitter@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).