From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Samuel Wales" Subject: Bug: auto-fill in a body often inserts "#" Date: Tue, 19 Aug 2008 14:56:36 -0700 Message-ID: <20524da70808191456v5370df7i24a80ebde16152a5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVZC2-0002tj-2F for emacs-orgmode@gnu.org; Tue, 19 Aug 2008 17:56:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVZBz-0002t4-Ls for emacs-orgmode@gnu.org; Tue, 19 Aug 2008 17:56:44 -0400 Received: from [199.232.76.173] (port=35065 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVZBz-0002t1-H7 for emacs-orgmode@gnu.org; Tue, 19 Aug 2008 17:56:43 -0400 Received: from nf-out-0910.google.com ([64.233.182.185]:33546) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KVZBy-00020Y-UZ for emacs-orgmode@gnu.org; Tue, 19 Aug 2008 17:56:43 -0400 Received: by nf-out-0910.google.com with SMTP id c7so78823nfi.26 for ; Tue, 19 Aug 2008 14:56:36 -0700 (PDT) Content-Disposition: inline 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: emacs-orgmode@gnu.org I am running the latest org-mode from the tar on emacs 22, installed via macports, on a mac OS X Tiger default terminal. I have turned on auto-fill and set fill-column. On the same setup with the default org-mode in emacs 22, this bug does *not* happen. Therefore, I think that it is either in the new code, or triggered by the new code. If I am at the end of a headline and press RET, then type alphabetic characters and SPC as body text until auto-fill wraps, quite often the second line will begin with a #. There are no comment lines anywhere nearby for auto-fill to adapt to. This only happens in org-mode and not in any other mode. It sometimes happens and sometimes does not happen, which is strange. I haven't tried it enough with emacs -q to be sure that it is or is not something in my .emacs that is triggering the bug. However, I have no idea what could do this. Any ideas? Thanks.