From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: org-fill-paragraph invoked on column 0 Date: Tue, 31 Jul 2012 22:01:00 +0200 Message-ID: References: <87wr1kly1b.fsf@gmail.com> <874nonlpsv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIcs-0008Tv-8J for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 16:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwIco-0005PH-9T for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 16:01:06 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:43543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwIco-0005P3-02 for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 16:01:02 -0400 Received: by lahi5 with SMTP id i5so4664594lah.0 for ; Tue, 31 Jul 2012 13:01:00 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Org Mode Hi Nicolas On Tue, Jul 31, 2012 at 9:39 PM, Michael Brand wrote: > Thanks. It works except for description list. My requirement is that > it works even with unusually placed "::" which work already when point > is within the item body: In my override my-org-fill-paragraph, improved over the one in an earlier post I use #+BEGIN_SRC emacs-lisp (save-excursion (org-end-of-item) (re-search-backward "[^[:space:]]") ;; [...] #+END_SRC to achieve this. May I suggest to use the same instead of the current #+BEGIN_SRC emacs-lisp (save-excursion (end-of-line) ;; [...] #+END_SRC in org-fill-paragraph? Michael