emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Regression in `fill-paragraph' behavior


From: Daniel Hackney
Subject: [O] Regression in `fill-paragraph' behavior
Date: Tue, 12 Mar 2013 21:10:06 -0400

A while ago, I reported a bug in `fill-paragraph' when in org-mode
which caused filling to behave incorrectly in the presence of leading
characters. This comes up when filling paragraphs of email replies,
such as

#+BEGIN_EXAMPLE
> Here is some text
> to be filled to a single line
#+END_EXAMPLE

In the version of org-mode which comes with Emacs 24.3, running
`fill-paragraph' on this yields

#+BEGIN_EXAMPLE
> Here is some text > to be filled to a single line
#+END_EXAMPLE

Whereas filling the same text in `text-mode' results in

#+BEGIN_EXAMPLE
> Here is some text to be filled to a single line
#+END_EXAMPLE

Notice the lack of the > symbol in the `text-mode' fill.

Steps to reproduce:

1. Install Emacs 24.3
2. Launch with "emacs -Q"
3. Create a buffer in `org-mode'
4. Type/yank in the example text from above
5. Press M-q for `fill-paragraph'

I probably should have checked this before the release of 24.3.

--
Daniel Hackney



reply via email to

[Prev in Thread] Current Thread [Next in Thread]