From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Numbered lists Date: Mon, 14 Jul 2008 11:24:24 -0700 Message-ID: <772865B6-6D9F-4724-9938-9B79A92A21E0@uva.nl> References: <9f0fec110807111035o7658116ar4296a4e57107f5d3@mail.gmail.com> <87bq11lef8.fsf@sphinx.net.ru> Mime-Version: 1.0 (Apple Message framework v924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KISit-0000l4-Ci for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:24:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KISis-0000ko-K6 for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:24:30 -0400 Received: from [199.232.76.173] (port=40375 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KISis-0000kl-Dt for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:24:30 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:38641) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KISis-0004Ba-FW for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:24:30 -0400 In-Reply-To: <87bq11lef8.fsf@sphinx.net.ru> 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: Dmitry Dzhus Cc: emacs-orgmode@gnu.org On Jul 13, 2008, at 1:25 PM, Dmitry Dzhus wrote: > "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. > Both problems fixed, thanks. - Carsten