From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Fill-paragraph and orgmode Date: Thu, 31 Jan 2008 10:16:07 +0100 Message-ID: <886B9BE3-2139-4C2E-9A4D-E234AF0F7274@science.uva.nl> References: <2f1c7d020801280254w4d3b86eeq35abf6282fff7540@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKVWm-0002yM-FG for emacs-orgmode@gnu.org; Thu, 31 Jan 2008 04:16:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKVWk-0002wq-Mr for emacs-orgmode@gnu.org; Thu, 31 Jan 2008 04:16:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKVWk-0002wg-Ga for emacs-orgmode@gnu.org; Thu, 31 Jan 2008 04:16:10 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JKVWk-0003PF-FE for emacs-orgmode@gnu.org; Thu, 31 Jan 2008 04:16:10 -0500 Received: by ug-out-1314.google.com with SMTP id a2so755165ugf.48 for ; Thu, 31 Jan 2008 01:16:09 -0800 (PST) In-Reply-To: <2f1c7d020801280254w4d3b86eeq35abf6282fff7540@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hugo Schmitt Cc: emacs-orgmode@gnu.org 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 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