emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: auto-fill bug
Date: Mon, 11 Feb 2008 12:32:13 +0000	[thread overview]
Message-ID: <20080211123213.GA16689@atlantic.linksys.moosehall> (raw)

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!

             reply	other threads:[~2008-02-11 12:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11 12:32 Adam Spiers [this message]
2008-02-11 20:01 ` auto-fill bug Carsten Dominik
2008-02-11 23:16   ` Adam Spiers
2008-03-19  0:32     ` Jonathan Moore
  -- strict thread matches above, loose matches on Subject: below --
2012-09-01 18:44 Samuel Wales
2012-09-01 20:05 ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080211123213.GA16689@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).