emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* noob question about word wrap
@ 2010-12-25  5:30 Filippo A. Salustri
  2010-12-25 10:56 ` Ross Glover
  2011-01-07 17:41 ` Filippo A. Salustri
  0 siblings, 2 replies; 5+ messages in thread
From: Filippo A. Salustri @ 2010-12-25  5:30 UTC (permalink / raw)
  To: emacs-orgmode


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

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/

[-- Attachment #1.2: Type: text/html, Size: 1320 bytes --]

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

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: noob question about word wrap
  2010-12-25  5:30 noob question about word wrap Filippo A. Salustri
@ 2010-12-25 10:56 ` Ross Glover
  2010-12-25 14:49   ` Filippo A. Salustri
  2011-01-07 17:41 ` Filippo A. Salustri
  1 sibling, 1 reply; 5+ messages in thread
From: Ross Glover @ 2010-12-25 10:56 UTC (permalink / raw)
  To: Filippo A. Salustri, emacs-orgmode


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


On Sat, 25 Dec 2010 00:30:35 -0500, "Filippo A. Salustri" <salustri@ryerson.ca> 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.

The variable you're looking for is fill-column.  You can set it in your
.emacs file with

'(fill-column 120)

You can also do 'C-x f' to set the variable locally for a buffer.  

You might also find visual-line-mode useful; it breaks lines at buffer
edges.  I do a lot of writing and have begun to default to
visual-line-mode.

hth,

ross

-- 


Sent from an Emacs buffer.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]

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

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: noob question about word wrap
  2010-12-25 10:56 ` Ross Glover
@ 2010-12-25 14:49   ` Filippo A. Salustri
  0 siblings, 0 replies; 5+ messages in thread
From: Filippo A. Salustri @ 2010-12-25 14:49 UTC (permalink / raw)
  To: Ross Glover; +Cc: emacs-orgmode


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

I appreciate the fast response, esp given the timestamp. :-)
I'll try the fill-column thing.

Cheers.
Fil


On 25 December 2010 05:56, Ross Glover <ross@ross.mayfirst.org> wrote:

>
> On Sat, 25 Dec 2010 00:30:35 -0500, "Filippo A. Salustri" <
> salustri@ryerson.ca> 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.
>
> The variable you're looking for is fill-column.  You can set it in your
> .emacs file with
>
> '(fill-column 120)
>
> You can also do 'C-x f' to set the variable locally for a buffer.
>
> You might also find visual-line-mode useful; it breaks lines at buffer
> edges.  I do a lot of writing and have begun to default to
> visual-line-mode.
>
> hth,
>
> ross
>
> --
>
>
> Sent from an Emacs buffer.
>



-- 
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/

[-- Attachment #1.2: Type: text/html, Size: 1925 bytes --]

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

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: noob question about word wrap
  2010-12-25  5:30 noob question about word wrap Filippo A. Salustri
  2010-12-25 10:56 ` Ross Glover
@ 2011-01-07 17:41 ` Filippo A. Salustri
  2011-01-10  9:27   ` Eric S Fraga
  1 sibling, 1 reply; 5+ messages in thread
From: Filippo A. Salustri @ 2011-01-07 17:41 UTC (permalink / raw)
  To: emacs-orgmode


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

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 <salustri@ryerson.ca> 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/

[-- Attachment #1.2: Type: text/html, Size: 2618 bytes --]

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

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: noob question about word wrap
  2011-01-07 17:41 ` Filippo A. Salustri
@ 2011-01-10  9:27   ` Eric S Fraga
  0 siblings, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2011-01-10  9:27 UTC (permalink / raw)
  To: Filippo A. Salustri; +Cc: emacs-orgmode

"Filippo A. Salustri" <salustri@ryerson.ca> writes:

> 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?

I'm not entirely sure what you are asking but if all you wish to do is
turn off the automatic truncation of lines, simply type "M-x
toggle-truncate-lines RET" to turn this off if it were on and vice versa.
You can do the same for auto-fill-mode with "M-x auto-fill-mode RET".

In both cases, "M-x" stands for Meta-x: hold your Meta or Alt key down
and press x or hit the ESC key and then the x key.  RET stands for hit
the enter key.

If you want to do this for all org files you visit, you can add these
commands to org-mode-hook.

HTH.
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.4 (release_7.4.148.g8a71)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-10 10:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-25  5:30 noob question about word wrap Filippo A. Salustri
2010-12-25 10:56 ` Ross Glover
2010-12-25 14:49   ` Filippo A. Salustri
2011-01-07 17:41 ` Filippo A. Salustri
2011-01-10  9:27   ` Eric S Fraga

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).