[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] M-x fill-region equivalent for lists?
From: |
Eric S Fraga |
Subject: |
Re: [O] M-x fill-region equivalent for lists? |
Date: |
Wed, 18 Sep 2013 10:15:59 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
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 24.3.50.1, Org release_8.1.1-7-gaecdf5
- [O] M-x fill-region equivalent for lists?, John Hendy, 2013/09/17
- Re: [O] M-x fill-region equivalent for lists?,
Eric S Fraga <=
- Re: [O] M-x fill-region equivalent for lists?, John Hendy, 2013/09/18
- Re: [O] M-x fill-region equivalent for lists?, Nick Dokos, 2013/09/18
- [O] [OT] mail followup to (was Re: M-x fill-region equivalent for lists?), Eric S Fraga, 2013/09/19
- Re: [O] [OT] mail followup to (was Re: M-x fill-region equivalent for lists?), John Hendy, 2013/09/19
- Re: [O] [OT] mail followup to (was Re: M-x fill-region equivalent for lists?), Eric S Fraga, 2013/09/19
- Re: [O] [OT] mail followup to (was Re: M-x fill-region equivalent for lists?), John Hendy, 2013/09/19