From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Filippo A. Salustri" Subject: Re: noob question about word wrap - RESOLVED Date: Sat, 8 Jan 2011 15:11:01 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0902112867==" Return-path: Received: from [140.186.70.92] (port=52322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pbf8B-00089e-I6 for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 15:11:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pbf7x-0001Mw-RR for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 15:11:19 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:43218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pbf7x-0001MI-DN for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 15:11:05 -0500 Received: by wwb17 with SMTP id 17so18983769wwb.30 for ; Sat, 08 Jan 2011 12:11:03 -0800 (PST) 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: emacs-orgmode@gnu.org --===============0902112867== Content-Type: multipart/alternative; boundary=0016e644ce0673353504995b55fa --0016e644ce0673353504995b55fa Content-Type: text/plain; charset=ISO-8859-1 Hi all, I've figured it out. I added this bit to my preferences: > (add-hook 'org-mode-hook '(lambda () (auto-fill-mode nil) (visual-line-mode t))) And that got the modes the way I like it. Cheers. Fil On 7 January 2011 12:41, Filippo A. Salustri wrote: > Hi again. > I send the msg below a few weeks ago, and got a reasonable response from > Ross Glover. > However, I'm still convinced that I would prefer to try orgmode with > different word wrapping. > I'm looking for a way to get orgmode buffers to be in visual-line-mode and > org-indent-mode only. > That is, I'm looking to turn off truncate-lines and auto-fill-mode. > > Can anyone point me in the right direction? > > Much obliged. > Cheers. > Fil Salustri > > > On 25 December 2010 00:30, Filippo A. Salustri wrote: > >> Hi, >> I'm new to org-mode (though I've been a causal emacs user for more than 10 >> yrs). >> I'm running org 7.4 on the current Aquamacs, and I prefer larger than >> normal windows (120 col x 36 rows). >> The problem is that org seems to do hard auto-fill linebreaks regardless >> of window size. >> I have honestly looked everywhere I can think of for a solution. >> The only thing I've figured out is that if org buffers seem to be set to >> org-indent-mode, truncate-lines, auto-fill-mode, and visual-line-mode. >> I seem to get the effect I desire if there's only visual-line-mode and >> org-indent-mode. >> I can set these via the menu, but I want this to be the global org way. >> So the question is: >> >> How can I turn off truncate-lines and auto-fill-mode globally for all org >> files? >> >> Cheers. >> Fil Salustri >> >> -- >> Filippo A. Salustri, Ph.D., P.Eng. >> Mechanical and Industrial Engineering >> Ryerson University >> 350 Victoria St, Toronto, ON >> M5B 2K3, Canada >> Tel: 416/979-5000 ext 7749 >> Fax: 416/979-5265 >> Email: salustri@ryerson.ca >> http://deseng.ryerson.ca/~fil/ >> > > > > -- > Filippo A. Salustri, Ph.D., P.Eng. > Mechanical and Industrial Engineering > Ryerson University > 350 Victoria St, Toronto, ON > M5B 2K3, Canada > Tel: 416/979-5000 ext 7749 > Fax: 416/979-5265 > Email: salustri@ryerson.ca > http://deseng.ryerson.ca/~fil/ > -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/ --0016e644ce0673353504995b55fa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,
I've figured it out. =A0I added this bit to my preferences:=
(add-hook 'org-mode-hook
=A0=A0 =A0 =A0 =A0 =A0'(lambda ()
=A0 =A0 (= auto-fill-mode nil)
=A0 =A0 (= visual-line-mode t)))
And that got the modes the way I lik= e it.

Cheers.
Fil

On 7 January 2011 12:41, Filippo A. Salustri <salustri@ryerson.ca> wrote:
Hi again.
I send the msg below a few weeks ago, and got a reasonable re= sponse from Ross Glover.
However, I'm still convinced that I = would prefer to try orgmode with different word wrapping.
I'm= looking for a way to get orgmode buffers to be in visual-line-mode and org= -indent-mode only.
That is, I'm looking to turn off truncate-lines and auto-fill-mode= .

Can anyone point me in the right direction?

Much obliged.
Cheers.
Fil Salustri=


On 25 December 2010 00:30, Filippo A. Salust= ri <salustri@ryerson.ca> wrote:
Hi,
I'm new to org-mode (though I've been a causal emacs user f= or more than 10 yrs).
I'm running org 7.4 on the current Aqua= macs, and I prefer larger than normal windows (120 col x 36 rows).
The problem is that org seems to do hard auto-fill linebreaks regardle= ss of window size.
I have honestly looked everywhere I can think = of for a solution.
The only thing I've figured out is that if= org buffers seem to be set to org-indent-mode, truncate-lines, auto-fill-m= ode, and visual-line-mode.
I seem to get the effect I desire if there's only visual-line-mode= and org-indent-mode.
I can set these via the menu, but I want th= is to be the global org way.
So the question is:

How can I turn off truncate-lines and auto-fill-mode globally fo= r all org files?

Cheers.
Fil Salustri

--
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Ind= ustrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Te= l: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca= /~fil/



--
Filippo A. Salustri, Ph= .D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University<= br>350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext= 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/



--
Filippo A. Salustri, Ph= .D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University<= br>350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext= 7749
Fax: 416/979-5265
Email: salustri= @ryerson.ca
http://deseng= .ryerson.ca/~fil/
--0016e644ce0673353504995b55fa-- --===============0902112867== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0902112867==--