From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: auto-fill bug Date: Mon, 11 Feb 2008 21:01:01 +0100 Message-ID: <781F1057-16E7-44DB-81D7-7B60152C9325@science.uva.nl> References: <20080211123213.GA16689@atlantic.linksys.moosehall> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: multipart/mixed; boundary="===============0839454842==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOeq6-0006fA-Fg for emacs-orgmode@gnu.org; Mon, 11 Feb 2008 15:01:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOeq5-0006dt-Aw for emacs-orgmode@gnu.org; Mon, 11 Feb 2008 15:01:18 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOeq5-0006dq-5S for emacs-orgmode@gnu.org; Mon, 11 Feb 2008 15:01:17 -0500 Received: from fk-out-0910.google.com ([209.85.128.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOeq4-0003NO-G9 for emacs-orgmode@gnu.org; Mon, 11 Feb 2008 15:01:16 -0500 Received: by fk-out-0910.google.com with SMTP id 26so4738405fkx.10 for ; Mon, 11 Feb 2008 12:01:15 -0800 (PST) In-Reply-To: <20080211123213.GA16689@atlantic.linksys.moosehall> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Adam Spiers Cc: org-mode mailing list --===============0839454842== Content-Type: multipart/alternative; boundary=Apple-Mail-1--1032920943 --Apple-Mail-1--1032920943 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Probably you have set the value of comment-start to "#" somewhere in your customization? There is something wring with the line wrapping in combination with this setting, I have not yet understood what. So for now, leave comment-start alone. - Carsten On Feb 11, 2008, at 1:32 PM, Adam Spiers wrote: > I just found some strange behaviour with auto-fill mode on: > > --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< > --------- > #+TITLE: test title > > * First heading > - Turn this into a long sentence to see the bug. > > --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< > --------- > > If you extend the sentence by adding only words and spaces, when it > wraps, indentation is broken and a # appears from nowhere: > > --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< > --------- > #+TITLE: test title > > * First heading > - Turn this into a long sentence to see the bug. Or you can start a > #new sentence; either way you get that strange #-prefixed > outdentation. > --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< > --------- > > The odd thing is that if there is nothing in the buffer after the > point when you start (not even a newline) then the bug vanishes. > > Reproduced with a recent git clone claiming to be 5.20, and also with > 5.17. Thanks! > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-1--1032920943 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Probably you have set the value = of comment-start to "#" somewhere in your
customization?  There = is something wring with the line wrapping in 
combination = with this setting, I have not yet understood what.  So for = now,
leave comment-start alone.

- = Carsten

On Feb 11, 2008, at 1:32 PM, Adam Spiers = wrote:

I just found some strange behaviour with auto-fill mode = on:

--------- 8< --------- 8< --------- 8< --------- = 8< --------- 8< ---------
#+TITLE: test title

* First = heading
 - Turn this into a long sentence to see the = bug.

--------- 8< --------- 8< --------- 8< --------- = 8< --------- 8< ---------

If you extend the sentence by = adding only words and spaces, when it
wraps, indentation is broken = and a # appears from nowhere:

--------- 8< --------- 8< = --------- 8< --------- 8< --------- 8< ---------
#+TITLE: = test title

* First heading
 - Turn this into a long = sentence to see the bug.  Or you can start a
#new sentence; = either way you get that strange #-prefixed outdentation.
--------- = 8< --------- 8< --------- 8< --------- 8< --------- 8< = ---------

The odd thing is that if there is nothing in the buffer = after the
point when you start (not even a newline) then the bug = vanishes.

Reproduced with a recent git clone claiming to be 5.20, = and also with
5.17. =  Thanks!


_______________________________________________Emacs-orgmode mailing list
Remember: use `Reply All' to send = replies to the list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode

= --Apple-Mail-1--1032920943-- --===============0839454842== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0839454842==--