emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: John Hendy <jw.hendy@gmail.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>,
	Eric Fraga <e.fraga@ucl.ac.uk>
Subject: Re: M-x fill-region equivalent for lists?
Date: Wed, 18 Sep 2013 10:32:48 -0500	[thread overview]
Message-ID: <CA+M2ft-c3OvkYhLVcv9AAzLFit9nysAVwWnPAONVgQbwVHR1YA@mail.gmail.com> (raw)
In-Reply-To: <87a9ja4hio.fsf@ucl.ac.uk>

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
that?

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

John

On Wed, Sep 18, 2013 at 4:15 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> John Hendy <jw.hendy@gmail.com> 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
>

  parent reply	other threads:[~2013-09-18 15:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-18  1:49 M-x fill-region equivalent for lists? John Hendy
2013-09-18  9:15 ` Eric S Fraga
2013-09-18 15:31   ` John Hendy
2013-09-19 14:54     ` Eric S Fraga
2013-09-19 15:48       ` John Hendy
2013-09-19 19:15         ` Eric S Fraga
2013-09-18 15:32   ` John Hendy [this message]
2013-09-18 17:06     ` Nick Dokos
2013-09-19 14:48     ` [OT] mail followup to (was Re: M-x fill-region equivalent for lists?) Eric S Fraga
2013-09-19 15:40       ` John Hendy
2013-09-19 19:07         ` Eric S Fraga
2013-09-19 19:38           ` John Hendy
2013-09-20 11:18           ` Sebastien Vauban
2013-09-23 18:52             ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft-c3OvkYhLVcv9AAzLFit9nysAVwWnPAONVgQbwVHR1YA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).