emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: org-indent-mode and visual-line-mode


From: Ben Finney
Subject: [Orgmode] Re: org-indent-mode and visual-line-mode
Date: Fri, 20 Nov 2009 09:33:20 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Matt Price <address@hidden> writes:

> Visual-line-mode is a replacement for longlines-mode; it soft-wraps
> text at the screen boundary, and does a much better job than
> longlines-mode did.

I think you're confused by a (helpful) conflation.

The ‘visual-lines-mode’ is indeed a replacement for ‘longlines-mode’,
but its job is to cause editing commands to act on visual, rather than
logical lines.

The wrapping behaviour you're describing is performed by ‘word-wrap’, a
buffer-local variable that cuases lines to be visually broken at word
boundaries.

The ‘word-wrap’ variable is set by ‘visual-lines-mode’, which is why
you're seeing it happen. But ‘word-wrap’ is independent of this.

> Is that what you needed? I'm not sure where the code for
> visual-line-mode lives -- there isn't a visual-line.el anywhere that i
> can find on my system.

Fortunately, ‘visual-line-mode’ appears to be a distraction from what
you're describing; Carsten only needs to learn about ‘word-wrap’.

-- 
 \        “The flattening of underwear with pleasure is the job of the |
  `\                                  chambermaid.” —hotel, Yugoslavia |
_o__)                                                                  |
Ben Finney

Attachment: pgpKUNMEkyxcf.pgp
Description: PGP signature


reply via email to

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