[Top][All Lists]

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

Re: [O] M-x fill-region equivalent for lists?

From: John Hendy
Subject: Re: [O] M-x fill-region equivalent for lists?
Date: Wed, 18 Sep 2013 10:32:48 -0500

P.S. Oddly, reply-all to your email composes an email to myself and
the Org-mode list, but not you directly... what might be the cause of

This is the behavior I get with gmail. Just wanted to let you know.


On Wed, Sep 18, 2013 at 4:15 AM, Eric S Fraga <address@hidden> wrote:
> John Hendy <address@hidden> writes:
>> Greetings,
>> When editing lists after deleting words (shortening lines) and/or
>> concatenating one line with the one that follows (to remedy a
>> shortened line), I end up with an "unfilled" list item. Is there an
>> Org equivalent to `M-x fill-region` on paragraphs to tidy up the Org
>> document list entries?
> Doesn't fill-paragraph work?  It does for me.
> Well, to be precise, I have M-q bound to maybe-fill-paragraph which is
> defined as
> #+begin_src emacs-lisp
> (defun maybe-fill-paragraph (&optional justify region)
>   "Fill paragraph at or after point (see `fill-paragraph').
> Does nothing if `visual-line-mode' is on."
>   (interactive (progn
>          (barf-if-buffer-read-only)
>          (list (if current-prefix-arg 'full) t)))
>   (or visual-line-mode
>       (fill-paragraph justify region)))
> #+end_src
> HTH,
> eric
> --
> : Eric S Fraga (0xFFFCF67D), Emacs, Org release_8.1.1-7-gaecdf5

reply via email to

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