Hi Carsten,
Hm, almost, but i get the idea!
This still fails (ok its not the same thing :)
** DONE title
- State "DONE" [2008-01-16 qua 17:48] \\
words words words words words words words words
after M-q on the end of 'words line' i get:
** DONE title
- State "DONE" [2008-01-16 qua 17:48] \\ words words words words words words
words words
but i'll look into it!
Thanks
Hugo
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