From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: M-x fill-region equivalent for lists? Date: Wed, 18 Sep 2013 10:15:59 +0100 Message-ID: <87a9ja4hio.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMFbo-0000if-Th for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 07:07:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMFbg-0007PW-Id for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 07:07:48 -0400 Received: from mail14-co1on0067.outbound.messaging.microsoft.com ([157.56.73.67]:33291 helo=CO1EHSNDR003.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMFbg-0007PD-Ar for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 07:07:40 -0400 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: John Hendy Cc: emacs-orgmode John Hendy 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