emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* automatic line wrap
@ 2010-06-04 17:13 Ivanov Dmitry
  2010-06-05  0:36 ` Sebastian Rose
  0 siblings, 1 reply; 4+ messages in thread
From: Ivanov Dmitry @ 2010-06-04 17:13 UTC (permalink / raw)
  To: emacs-orgmode

How can I set the org-mode to automatically wrap the long lines, so they would fit the window size, as it is done in the fundamental mode?

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

* Re: automatic line wrap
  2010-06-04 17:13 automatic line wrap Ivanov Dmitry
@ 2010-06-05  0:36 ` Sebastian Rose
  2010-06-05  8:11   ` Re[2]: " Ivanov Dmitry
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Rose @ 2010-06-05  0:36 UTC (permalink / raw)
  To: Ivanov Dmitry; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

Ivanov Dmitry <usr345@gmail.com> writes:
> How can I set the org-mode to automatically wrap the long lines, so they would fit the window size, as it is done in the fundamental mode?

Yeesss, wrapping lines is a good idea - in emails too!!!

;)



[-- Attachment #2: Type: application/emacs-lisp, Size: 82 bytes --]

[-- Attachment #3: Type: text/plain, Size: 110 bytes --]




For me, this is done in the text-mode hook.  But then I remove
auto-fill-mode in several modes like this:


[-- Attachment #4: Type: application/emacs-lisp, Size: 225 bytes --]

[-- Attachment #5: Type: text/plain, Size: 14 bytes --]



  Sebastian

[-- Attachment #6: 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] 4+ messages in thread

* Re[2]: automatic line wrap
  2010-06-05  0:36 ` Sebastian Rose
@ 2010-06-05  8:11   ` Ivanov Dmitry
  2010-06-05 11:56     ` Michael Brand
  0 siblings, 1 reply; 4+ messages in thread
From: Ivanov Dmitry @ 2010-06-05  8:11 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-orgmode

I found the solution:

(add-hook 'org-mode-hook
	(lambda ()
		(toggle-truncate-lines)))

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

* Re: automatic line wrap
  2010-06-05  8:11   ` Re[2]: " Ivanov Dmitry
@ 2010-06-05 11:56     ` Michael Brand
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Brand @ 2010-06-05 11:56 UTC (permalink / raw)
  To: Ivanov Dmitry; +Cc: emacs-orgmode

On 10-06-05 10:11 , Ivanov Dmitry wrote:
> I found the solution:
>
> (add-hook 'org-mode-hook
> 	(lambda ()
> 		(toggle-truncate-lines)))

For the case of org-mode I would recommend this instead:
(setq org-startup-truncated nil)

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

end of thread, other threads:[~2010-06-05 11:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-04 17:13 automatic line wrap Ivanov Dmitry
2010-06-05  0:36 ` Sebastian Rose
2010-06-05  8:11   ` Re[2]: " Ivanov Dmitry
2010-06-05 11:56     ` Michael Brand

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