emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Hackney <dan@haxney.org>
To: emacs-orgmode@gnu.org
Subject: [BUG] `org-fill-paragraph' doesn't use `fill-prefix'
Date: Sat, 27 Jul 2013 14:47:26 -0400	[thread overview]
Message-ID: <CAMqXDZvu9s2UWbzS0teuLKMLc-e-xV7v8jt36cALpDEc_akk+Q@mail.gmail.com> (raw)

I proposed a fix [1] for this back in 2010, but it seems to have regressed
again. `org-fill-paragraph' no longer makes use of a `fill-prefix', so
filling things like email comments no longer works.

To test, launch =emacs -Q= and create a buffer with

#+BEGIN_EXAMPLE
> The
> cat
> in
> the
> hat
#+END_EXAMPLE

And press =M-q=. In `fundamental-mode', this results in

#+BEGIN_EXAMPLE
> The cat in the hat
#+END_EXAMPLE

In recent versions of org-mode, this results in

#+BEGIN_EXAMPLE
> The > cat > in > the > hat
#+END_EXAMPLE

I have tested the following versions of org-mode:

  | Mode                             | Working |
  |----------------------------------+---------|
  | fundamental-mode                 | Yes     |
  | org 7.9.3f (Emacs 24.3.1)        | No      |
  | org 8.0 (20130727.224 from MELPA | No      |
  | 7.8.11 (Emacs 24.2.1)            | Yes     |
  |----------------------------------+---------|

P.S. I'm not subscribed to the list, so please CC me in replies.

[1] http://permalink.gmane.org/gmane.emacs.orgmode/22705

--
Daniel Hackney

             reply	other threads:[~2013-07-27 18:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27 18:47 Daniel Hackney [this message]
2013-07-27 20:45 ` [BUG] `org-fill-paragraph' doesn't use `fill-prefix' Nicolas Goaziou
2013-07-27 21:15   ` Daniel Hackney
2013-07-27 23:16   ` Daniel Hackney
2013-07-28  8:20     ` Nicolas Goaziou

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=CAMqXDZvu9s2UWbzS0teuLKMLc-e-xV7v8jt36cALpDEc_akk+Q@mail.gmail.com \
    --to=dan@haxney.org \
    --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).