emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Re: adding new plain lists item changes previous one it it ends in a number on a single lijne followed by a dot
Date: Sat, 05 Feb 2011 22:04:28 +0100	[thread overview]
Message-ID: <87fws2qjkz.wl%n.goaziou@gmail.com> (raw)
In-Reply-To: <20110204161628.GC19946@shi.workgroup>

Hello,

> I understand that blank-number-dot starts a plain list item. But in
> my example the numbered list would be second level whilst the
> unordered list would be first level (of indentation). Org-mode
> rightly inserts a dash but why does it fiddle with another list item
> of different (second) level when inserting an new first level item?
> Is this necessary to in order to insert the next dashed item?

Before applying any modification to a list, Org will check its
integrity and correct it. It is necessary, as inserting an item can
change bullets, which in turn can change indentation. And we want this
just right.

Even if it wasn't the case, Org would still recognize the line as an
item start, and problems would arise sooner or later (for example upon
exporting).

> In my case I could see the change of "2007." to "1." because it was
> so near it was also on the display. But this may happen with list
> items which are not displayed and therefore one would not recognise
> the damage...

I understand this. But as it has already been told in this thread, "."
as bullet separator is risky and you've just encountered the risk. I
don't see a solution about it, but I'm all ears to any reasonable way
to handle this.

Regards,

--
Nicolas

      reply	other threads:[~2011-02-05 21:04 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
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 [this message]

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=87fws2qjkz.wl%n.goaziou@gmail.com \
    --to=n.goaziou@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).