emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Good Bad <nbko3@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode is turning off soft word wrapping.
Date: Wed, 22 Apr 2009 14:32:34 -0400	[thread overview]
Message-ID: <87eivkwnct.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 269246.35478.qm@web45109.mail.sp1.yahoo.com

Good Bad <nbko3@yahoo.com> writes:

> When I visit a text file, a C file or a TeX file, it is in soft word wrapping
> mode, i.e. long lines get wrapped, but without really inserting newlines.
>
> But when I visit an org file, it is not in word wrapping mode, i.e. longs lines
> never gets wrapped, you can't see the whole line if the line is too long.
>
> 1. How do I turn on soft word wrapping in org-mode?

I have a function key mapped to this.  There is a function
(set-truncate-lines) that toggles wrapping on and off.

,----[ from my .emacs ]
| (global-set-key (kbd "<f7>") 'set-truncate-lines)
`----

I personally like the not-wrapped default but if I need to read a long
line I just hit F7, read it, and then unwrap it with F7 again.

> 2. If org-mode automatically turning off word wrapping is a feature, what is the
> reason non-wrapping mode should be prefered in org-mode? I can see why in ediff
> mode tho.
>
> I don't know what word wrapping mode and non-word wrapping mode are called in
> emacs speak.

Having lines not wrap when viewing wide org-mode tables is a good thing.

HTH,
-Bernt

  reply	other threads:[~2009-04-22 18:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 18:01 org-mode is turning off soft word wrapping Good Bad
2009-04-22 18:32 ` Bernt Hansen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-23 13:18 Good Bad
2009-04-23 13:22 ` Bernt Hansen
2009-04-24  9:54 ` Mathias Schenner

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=87eivkwnct.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=nbko3@yahoo.com \
    /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).