Hi Hugo,
you need to look at the variables paragraph-start and paragraph-
separate.
You can use org-mode-hook to change them.
I believe the following might do the trick
(add-hook 'org-mode-hook
(lambda ()
(org-set-local 'paragraph-separate "\f\\|\\*+ \\|[ ]*$\\|
[ \t]*[:|]\\|^[ \t]+\\[[0-9]\\{4\\}-")
;; The paragraph starter includes hand-formatted lists.
(org-set-local 'paragraph-start
"\f\\|[ ]*$\\|\\*+ \\|\f\\|[ \t]*\\([-+*][ \t]+\\|[0-9]+[.)][ \t]
+\\)\\|[ \t]*[:|]\\|^[ \t]+\\[[0-9]\\{4\\}-")))
Hope this helps.
- Carsten
On Jan 28, 2008, at 11:54 AM, Hugo Schmitt wrote:
Hi everyone. There is a little issue that I keep having with org-mode.
Say the cursor is on <> :
* TODO Title
Words words words words words words words words words words words
words words words words<>
[2008-01-25 sex]
After you press M-q you get this:
* TODO Title
Words words words words words words words words words words words
words words
words words [2008-01-25 sex]
... while what i really wanted was this:
* TODO Title
Words words words words words words words words words words words
words words
words words
[2008-01-25 sex]
Sure, it only takes a <RET> to fix, but anyway, if anyone has a
solution for this, please share with me.
Thanks,
Hugo
_______________________________________________
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
_______________________________________________
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