emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cut the lines in the end
@ 2009-09-14  9:25 Adrien Poupin
  2009-09-14 10:59 ` Rémi Vanicat
       [not found] ` <e0e1fe620909140241y3791579bob0b8f389ad67cf1c@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Adrien Poupin @ 2009-09-14  9:25 UTC (permalink / raw)
  To: emacs-orgmode


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

Hi everybody,
(I hope you will forgive my lack of english words...)
I just discovered org-mode and really enjoy it. And I would like to use it
especially for my writing tasks. To do that I need the end of lines to break
in the end.
But I want Emacs only *presents* me the long line cut (with little arrows to
say it is actually one long line). I don't want Emacs to put a \n character.
I hope that's kind of clear. In fact that is much simple, but I cannot find
the way to do this.

I would have liked this functionality to be added by default to org-mode ;
how could I tweak that ?

Thank a lot by advance.

-- 
Le Barde.

[-- Attachment #1.2: Type: text/html, Size: 689 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

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

* Re: Cut the lines in the end
  2009-09-14  9:25 Cut the lines in the end Adrien Poupin
@ 2009-09-14 10:59 ` Rémi Vanicat
  2009-09-14 15:22   ` Adrien Poupin
       [not found] ` <e0e1fe620909140241y3791579bob0b8f389ad67cf1c@mail.gmail.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Rémi Vanicat @ 2009-09-14 10:59 UTC (permalink / raw)
  To: emacs-orgmode

Adrien Poupin <adrien.poupin@gmail.com> writes:

> Hi everybody,

> I just discovered org-mode and really enjoy it. And I would like to use it
> especially for my writing tasks. To do that I need the end of lines to break
> in the end.

You want long line to not be truncated by org mode: you have to set
org-startup-truncated to nil, by example adding

(setq org-startup-truncated nil) somewhere in you .emacs

Note that "tables look terrible when wrapped."

You might also want to set word-wrap to t if you don't want word to be
cut in their middle, but line to be only cut between word (when possible
of course)

-- 
Rémi Vanicat

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

* Re: Cut the lines in the end
       [not found]     ` <e0e1fe620909140532j4ed2eecq15c794d52d7ac049@mail.gmail.com>
@ 2009-09-14 13:22       ` Adrien Poupin
  0 siblings, 0 replies; 4+ messages in thread
From: Adrien Poupin @ 2009-09-14 13:22 UTC (permalink / raw)
  To: emacs-orgmode


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

Thank you very much Scot, the trick helped me. I've put the
*'(global-visual-line-mode
t)* line inside the custom-set-variables block.
I am going to see what I can do to cleanly get the org-indent-mode.

Have a nice day everybody.

2009/9/14 Scot Becker <scot.becker@gmail.com>

> Somehow I thought visual line mode was on in Emacs 23 by default, but
> I do this which turns it on everywhere (see below), then turn it off
> manually on those occasions (looking at code when your buffer width is
> shorter than line length) when I want it off.  A simple M-x
> visual-line-mode toggles it. (And there is also an option in the
> pull-down menus as well.)
>
>  '(global-visual-line-mode t)
>
> No disturbance at all, I just thought if what you wanted was something
> else, I'd help you find where to look.  You might send a brief one
> liner to the list (reply-all) to my last message, saying that visual
> line mode did the trick, just so no one spends time working out help
> you don't need.  This is a very helpful list.
>
> And you might be interested in the new org-indent-mode, with dynamic
> outline indentation under Emacs 23.  I haven't had the chance to try
> it yet.  I think it does soft INdenting, as well, so long headlines
> look prettier.
>
> Keep very well.
>
> Scot
>



-- 
Adrien Poupin.

[-- Attachment #1.2: Type: text/html, Size: 1729 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

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

* Re: Re: Cut the lines in the end
  2009-09-14 10:59 ` Rémi Vanicat
@ 2009-09-14 15:22   ` Adrien Poupin
  0 siblings, 0 replies; 4+ messages in thread
From: Adrien Poupin @ 2009-09-14 15:22 UTC (permalink / raw)
  To: Rémi Vanicat; +Cc: emacs-orgmode


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

Thank you. This is also what I wanted. Problem solved ;-)
Bye all.
Adrien.

2009/9/14 Rémi Vanicat <vanicat@debian.org>

> Adrien Poupin <adrien.poupin@gmail.com> writes:
>
> > Hi everybody,
>
> > I just discovered org-mode and really enjoy it. And I would like to use
> it
> > especially for my writing tasks. To do that I need the end of lines to
> break
> > in the end.
>
> You want long line to not be truncated by org mode: you have to set
> org-startup-truncated to nil, by example adding
>
> (setq org-startup-truncated nil) somewhere in you .emacs
>
> Note that "tables look terrible when wrapped."
>
> You might also want to set word-wrap to t if you don't want word to be
> cut in their middle, but line to be only cut between word (when possible
> of course)
>
> --
> Rémi Vanicat
>
>
>
> _______________________________________________
> 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
>



-- 
Adrien Poupin.

[-- Attachment #1.2: Type: text/html, Size: 1717 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

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

end of thread, other threads:[~2009-09-14 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-14  9:25 Cut the lines in the end Adrien Poupin
2009-09-14 10:59 ` Rémi Vanicat
2009-09-14 15:22   ` Adrien Poupin
     [not found] ` <e0e1fe620909140241y3791579bob0b8f389ad67cf1c@mail.gmail.com>
     [not found]   ` <74f0497b0909140330p3aec2cd6i9f56cde6e7651f2d@mail.gmail.com>
     [not found]     ` <e0e1fe620909140532j4ed2eecq15c794d52d7ac049@mail.gmail.com>
2009-09-14 13:22       ` Adrien Poupin

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