emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Numbered lists
@ 2008-07-11 17:35 Stas Boukarev
  2008-07-13 20:25 ` Dmitry Dzhus
  0 siblings, 1 reply; 3+ messages in thread
From: Stas Boukarev @ 2008-07-11 17:35 UTC (permalink / raw)
  To: emacs-orgmode

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?

Emacs and org-mode from cvs and git respectively.

-- 
With Best Regards, Stas.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Numbered lists
  2008-07-11 17:35 Numbered lists Stas Boukarev
@ 2008-07-13 20:25 ` Dmitry Dzhus
  2008-07-14 18:24   ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Dzhus @ 2008-07-13 20:25 UTC (permalink / raw)
  To: emacs-orgmode

"Stas Boukarev" <stassats@gmail.com> 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^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: Numbered lists
  2008-07-13 20:25 ` Dmitry Dzhus
@ 2008-07-14 18:24   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2008-07-14 18:24 UTC (permalink / raw)
  To: Dmitry Dzhus; +Cc: emacs-orgmode


On Jul 13, 2008, at 1:25 PM, Dmitry Dzhus wrote:

> "Stas Boukarev" <stassats@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-14 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11 17:35 Numbered lists Stas Boukarev
2008-07-13 20:25 ` Dmitry Dzhus
2008-07-14 18:24   ` Carsten Dominik

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).