emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-fill-paragraph invoked on column 0


From: Michael Brand
Subject: Re: [O] org-fill-paragraph invoked on column 0
Date: Tue, 31 Jul 2012 22:01:00 +0200

Hi Nicolas

On Tue, Jul 31, 2012 at 9:39 PM, Michael Brand
<address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]