From: Carsten Dominik <carsten.dominik@gmail.com>
To: Martin Pohlack <mp26@os.inf.tu-dresden.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Smart(er) word wrapping with org-mode and visual-line-mode
Date: Fri, 15 Jan 2010 08:25:13 +0100 [thread overview]
Message-ID: <9965043F-EE8D-47A7-B5C5-E3500AC305C7@gmail.com> (raw)
In-Reply-To: <4B4A25E3.4020401@os.inf.tu-dresden.de>
On Jan 10, 2010, at 8:09 PM, Martin Pohlack wrote:
> Hi Carsten and Matthew,
>
> On 08.01.2010 18:24, Carsten Dominik wrote:
>> On Jan 6, 2010, at 4:25 PM, Martin Pohlack wrote:
>>> I just tried this out (only for headlines up to now) and it seems to
>>> work great.
>>>
>>> Are there any plans to integrate something like this into upstream?
>>> Especially the wrapping of headlines would enable extensive tag
>>> usage.
>>
>> I have been thinking about that, but not arrived at a conclusion.
>> One
>> thing is the interaction with org-indent-mode. That mode already
>> does
>> the wrapping for headlines correctly by adding `wrap-prefix', and it
>> will look really good if you set the variable word-wrap to t.
>
> Ah, I wasn't aware of that. I think the documentation to org-indent
> doesn't mention wrapping (14.6 A cleaner outline view). How about
> something like this:
>
> org-indent-mode also sets the wrap-prefix property, such that
> visual-line-mode (or purely setting word-wrap) wraps long lines
> (including headlines) correctly indented.
I have added this, thank you very much for not only asking
for improvement but actually formulating the sentence and
pointing out where it should go.
> [...]'m using Matthew's module right now for two reasons.
>
> * I had some trouble configuring org-indent-mode to only handle
> line-wrapping for headlines, i.e., it shall only set wrap-prefix and
> do nothing else. It always wanted to indent my headlines and body
> texts additionally. Is this possible?
Not yet. One way would be to make setting org-indent-indentation-per-
level
to 0, but that currently does not work.
>
> * Also, emacs segfaulted deterministically after globally collapsing
> all trees with org-indent-mode active. I have to look into this ...
>
> Cheers,
> Martin
- Carsten
prev parent reply other threads:[~2010-01-15 7:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 10:14 Smart(er) word wrapping with org-mode and visual-line-mode Matthew Dempsky
2009-12-03 14:23 ` Carsten Dominik
2009-12-03 19:10 ` Matthew Dempsky
2010-01-06 15:25 ` Martin Pohlack
2010-01-08 17:24 ` Carsten Dominik
2010-01-10 19:09 ` Martin Pohlack
2010-01-10 21:07 ` Carsten Dominik
2010-01-15 7:25 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9965043F-EE8D-47A7-B5C5-E3500AC305C7@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mp26@os.inf.tu-dresden.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.