From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Strange behavior with auto-fill Date: Sun, 2 Feb 2014 02:28:50 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c329a2b1e6a104f169e029 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9uIe-0006Ie-4a for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 05:29:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9uIZ-0004xn-LG for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 05:29:16 -0500 Received: from mail-oa0-x22a.google.com ([2607:f8b0:4003:c02::22a]:36970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9uIZ-0004xh-Fu for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 05:29:11 -0500 Received: by mail-oa0-f42.google.com with SMTP id i7so7082257oag.1 for ; Sun, 02 Feb 2014 02:29:10 -0800 (PST) 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 --001a11c329a2b1e6a104f169e029 Content-Type: text/plain; charset=ISO-8859-1 I've been observing a very annoying behavior with auto fill; it persist in the latest org from git, as well as the version shipped with Emacs 24.3 for OS X. Consider starting a clean Emacs session with emacs -Q. Start a new file, foo.org. Do M-x org-mode and M-x auto-fill-mode. Now enter the following 3 lines: --- --- --- (yes, that's a bunch of dashes). Now try putting a long line in between the second and third set of dashes, and wait for auto-fill to wrap the line. Here is what I observe: --- --- This is a long line designed to exhibit a bug in auto-fill. It's ---almost as if auto-fill thinks the dashes are a comment symbol. --- Notice how after wrapping the line acquired a leading "---"! Why does this happen, and how can it be turned off? --Leo --001a11c329a2b1e6a104f169e029 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I've been observing a very annoying behavior with auto= fill; it persist in the latest org from git, as well as the version shippe= d with Emacs 24.3 for OS X.

Consider starting a clean Em= acs session with emacs -Q. =A0Start a new file, = foo.org. =A0Do M-x org-mode and M-x auto-fill-mode. =A0Now enter the fo= llowing 3 lines:
---
---
---

(yes, that= 9;s a bunch of dashes). =A0Now try putting a long line in between the secon= d and third set of dashes, and wait for auto-fill to wrap the line. =A0Here= is what I observe:

---
---
This is a long line de= signed to exhibit a bug in auto-fill. =A0It's
---almost as if= auto-fill thinks the dashes are a comment symbol.
---

Notice how after wrapping the line acquired a leading &= quot;---"! =A0Why does this happen, and how can it be turned off?

--Leo
--001a11c329a2b1e6a104f169e029--