From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-mode is turning off soft word wrapping. Date: Wed, 22 Apr 2009 14:32:34 -0400 Message-ID: <87eivkwnct.fsf@gollum.intra.norang.ca> References: <269246.35478.qm@web45109.mail.sp1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwhFU-0007T0-DC for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 14:32:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwhFQ-0007Qj-OG for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 14:32:44 -0400 Received: from [199.232.76.173] (port=56412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwhFQ-0007Qa-BO for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 14:32:40 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:62276) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwhFQ-0006wQ-1A for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 14:32:40 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Good Bad Cc: emacs-orgmode@gnu.org Good Bad 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 "") '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