From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Hackney Subject: [BUG] `org-fill-paragraph' doesn't use `fill-prefix' Date: Sat, 27 Jul 2013 14:47:26 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V39Wu-0005z1-Dg for emacs-orgmode@gnu.org; Sat, 27 Jul 2013 14:47:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V39Wt-0006il-Cj for emacs-orgmode@gnu.org; Sat, 27 Jul 2013 14:47:48 -0400 Received: from mail-oa0-x234.google.com ([2607:f8b0:4003:c02::234]:55734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V39Wt-0006ie-5l for emacs-orgmode@gnu.org; Sat, 27 Jul 2013 14:47:47 -0400 Received: by mail-oa0-f52.google.com with SMTP id g12so9955598oah.39 for ; Sat, 27 Jul 2013 11:47:46 -0700 (PDT) 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: emacs-orgmode@gnu.org 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