From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Dzhus Subject: Re: Numbered lists Date: Mon, 14 Jul 2008 00:25:31 +0400 Message-ID: <87bq11lef8.fsf@sphinx.net.ru> References: <9f0fec110807111035o7658116ar4296a4e57107f5d3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KI8b6-0008LG-NO for emacs-orgmode@gnu.org; Sun, 13 Jul 2008 16:55:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KI8b4-0008Kb-82 for emacs-orgmode@gnu.org; Sun, 13 Jul 2008 16:55:07 -0400 Received: from [199.232.76.173] (port=44902 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KI8b3-0008KQ-Vl for emacs-orgmode@gnu.org; Sun, 13 Jul 2008 16:55:06 -0400 Received: from main.gmane.org ([80.91.229.2]:43053 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KI8b3-0002Rb-LI for emacs-orgmode@gnu.org; Sun, 13 Jul 2008 16:55:05 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KI8b0-0005Gx-TA for emacs-orgmode@gnu.org; Sun, 13 Jul 2008 20:55:02 +0000 Received: from 93-80-225-32.broadband.corbina.ru ([93.80.225.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jul 2008 20:55:02 +0000 Received: from dima by 93-80-225-32.broadband.corbina.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jul 2008 20:55:02 +0000 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 "Stas Boukarev" writes: > When I put `1.' on the first line of a blank file, and then press > M-return I get the following: > 1. > 1. > 2. > 3. > > Is it a supposed result? Looks like it is a bug in `org-beginning-of-item-list` function: it is unable to detect the first item of list when its bullet is on the first line of file. Moreover, code indicates that it gets stuck in infinite loop when the list is indented and starts on the first line of file. -- Happy Hacking. http://sphinx.net.ru む