emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ben Finney <ben+emacs@benfinney.id.au>
To: emacs-orgmode@gnu.org
Subject: Re: org-indent-mode and visual-line-mode
Date: Fri, 20 Nov 2009 09:33:20 +1100	[thread overview]
Message-ID: <87zl6ign67.fsf@benfinney.id.au> (raw)
In-Reply-To: 1258644001.29221.1095.camel@gont


[-- Attachment #1.1: Type: text/plain, Size: 1298 bytes --]

Matt Price <matt.price@utoronto.ca> 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 #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-11-19 22:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18 20:07 org-indent-mode and visual-line-mode Matt Price
2009-11-19 13:17 ` Carsten Dominik
2009-11-19 15:20   ` Matt Price
2009-11-19 22:33     ` Ben Finney [this message]
2009-11-20  2:12       ` Matt Price
2009-11-20  2:17         ` Ben Finney
2009-11-20  7:28         ` Carsten Dominik
2009-11-20 13:03           ` Matt Price
2009-11-20 13:21             ` Carsten Dominik
2009-11-20 13:54             ` Carsten Dominik
2009-11-20 15:10               ` Matt Price

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87zl6ign67.fsf@benfinney.id.au \
    --to=ben+emacs@benfinney.id.au \
    --cc=emacs-orgmode@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/org-mode.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).