emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] adding new plain lists item changes previous one it it ends in a number on a single lijne followed by a dot
Date: Wed, 2 Feb 2011 14:24:46 -0500	[thread overview]
Message-ID: <AANLkTincbAK9YdTyu+33-DQSfExLwHT-7ePyiHUeFJ-1@mail.gmail.com> (raw)
In-Reply-To: <20110202192020.GF5402@shi.workgroup>

I can reproduce this in org-mode 7.4 with emacs 24.

This occurs most often for me when listing a bibliography in a plain
list when I have auto-fill-mode on.

On Wed, Feb 2, 2011 at 2:20 PM, Gregor Zattler <telegraph@gmx.net> wrote:
> Dear org-mode developers,
>
> adding a new list item via M-RET (org-insert-heading) may change
> text in a previous list item, if this ends in a number on a
> single line followed by a dot:
>
> -------------------------------
> - Several astonishing things happened in
>  2007.
> - And then there was another item.X
> -------------------------------
>
> When typing M-RET with cursor at X I would expect the following
> outcome (again with X marking the cursor position):
>
> -------------------------------
> - Several astonishing things happened in
>  2007.
> - And then there was another item.
> - X
> -------------------------------
>
> This is the correct result when using Emacs 23.2 with its
> org-mode 6.33.
>
>
> But with today's org-mode "Org-mode version 7.5
> (release_7.4.300.g0b7c)" I instead get:
>
> -------------------------------
> - Several astonishing things happened in
>    1.
> - And then there was another item.
> - X
> -------------------------------
>
> Note that "  2007." has changed to "    1." in line 2.
>
>
> The same bug is present in the maintenance version "Org-mode
> version 7.5 (release_7.4.3.g76a2)".
>
>
> This only happens when the number is followed by a dot.  Without
> the dot both new versions of org-mode do not change the number on
> the last line of the first item.
>
>
> I did all tests with "emacs -nw -Q" and with Emacs 23.2 and
> 24.0.50 as of 2011-01-16.
>
>
> Fixing bugs in org-mode is beyond me.
>
> Ciao; Gregor
> --
>  -... --- .-. . -.. ..--.. ...-.-
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

  reply	other threads:[~2011-02-02 19:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 19:20 [BUG] adding new plain lists item changes previous one it it ends in a number on a single lijne followed by a dot Gregor Zattler
2011-02-02 19:24 ` Jeff Horn [this message]
2011-02-02 21:16 ` Nicolas Goaziou
2011-02-03 10:11   ` Christian Moe
2011-02-03 14:09     ` Nicolas Goaziou
2011-02-03 16:11       ` Jeff Horn
2011-02-03 16:47         ` Nicolas Goaziou
2011-02-03 21:22           ` Jeff Horn
2011-02-04 19:09       ` Christian Moe
2011-02-03 18:04     ` Achim Gratz
2011-02-04 16:16   ` Gregor Zattler
2011-02-05 21:04     ` 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=AANLkTincbAK9YdTyu+33-DQSfExLwHT-7ePyiHUeFJ-1@mail.gmail.com \
    --to=jrhorn424@gmail.com \
    --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).