emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error (args out of range) when editing list
@ 2020-07-10  6:24 Jarmo Hurri
  2020-07-10  7:32 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Jarmo Hurri @ 2020-07-10  6:24 UTC (permalink / raw)
  To: emacs-orgmode


* Demo of some sort of error
  1. (take your cursor on top of the letter X after the closing
     parenthesis)X
  2. then press Alt-Enter
     1. you will notice
     2. an error
  3. saying something like args out of range



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

* Re: Error (args out of range) when editing list
  2020-07-10  6:24 Error (args out of range) when editing list Jarmo Hurri
@ 2020-07-10  7:32 ` Nicolas Goaziou
  2020-07-10  8:08   ` Jarmo Hurri
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2020-07-10  7:32 UTC (permalink / raw)
  To: Jarmo Hurri; +Cc: emacs-orgmode

Hello,

Jarmo Hurri <jarmo.hurri@iki.fi> writes:

> * Demo of some sort of error
>   1. (take your cursor on top of the letter X after the closing
>      parenthesis)X
>   2. then press Alt-Enter
>      1. you will notice
>      2. an error
>   3. saying something like args out of range

Could you try with latest master? I cannot reproduce it.

Regards,
-- 
Nicolas Goaziou


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

* Re: Error (args out of range) when editing list
  2020-07-10  7:32 ` Nicolas Goaziou
@ 2020-07-10  8:08   ` Jarmo Hurri
  2020-07-10 10:04     ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Jarmo Hurri @ 2020-07-10  8:08 UTC (permalink / raw)
  To: emacs-orgmode


Hi there!

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

>> * Demo of some sort of error
>>   1. (take your cursor on top of the letter X after the closing
>>      parenthesis)X
>>   2. then press Alt-Enter
>>      1. you will notice
>>      2. an error
>>   3. saying something like args out of range
>
> Could you try with latest master? I cannot reproduce it.

I think I am running the latest (stable) master:

Org mode version 9.3.7 (release_9.3.7-13-ge62ca4)

Then it has to be something in my system. Great. As a cry for help, here
is what I get with debug-on-error:

Debugger entered--Lisp error: (args-out-of-range -1 3)
  replace-match("2. " nil nil nil 1)
  #f(compiled-function (struct old-struct item) #<bytecode 0xf83cd9>)(((30 2 "1. " nil nil nil 112) (112 2 "2. " nil nil nil 119) (120 2 "1. " nil nil nil 187) (146 5 "1. " nil nil nil 170) (170 5 "2. " nil nil nil 187) (187 2 "2. " nil nil nil 232)) ((30 2 "1. " nil nil nil 112) (112 2 "1. " nil nil nil 119) (120 2 "2. " nil nil nil 187) (146 5 "1. " nil nil nil 170) (170 5 "2. " nil nil nil 187) (187 2 "3. " nil nil nil 232)) 187)
  org-list-struct-apply-struct(((30 2 "1. " nil nil nil 112) (112 2 "2. " nil nil nil 119) (120 2 "1. " nil nil nil 187) (146 5 "1. " nil nil nil 170) (170 5 "2. " nil nil nil 187) (187 2 "2. " nil nil nil 232)) ((30 2 "1. " nil nil nil 112) (112 2 "1. " nil nil nil 119) (120 2 "2. " nil nil nil 187) (146 5 "1. " nil nil nil 170) (170 5 "2. " nil nil nil 187) (187 2 "3. " nil nil nil 232)))
  org-list-write-struct(((30 2 "1. " nil nil nil 112) (112 2 "2. " nil nil nil 119) (120 2 "1. " nil nil nil 187) (146 5 "1. " nil nil nil 170) (170 5 "2. " nil nil nil 187) (187 2 "2. " nil nil nil 232)) ((30) (112) (120) (146 . 120) (170 . 120) (187)))
  org-insert-item(nil)
  funcall-interactively(org-insert-item nil)
  call-interactively(org-insert-item)
  org-meta-return(nil)
  funcall-interactively(org-meta-return nil)
  call-interactively(org-meta-return nil nil)
  command-execute(org-meta-return)

All the best,

Jarmo



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

* Re: Error (args out of range) when editing list
  2020-07-10  8:08   ` Jarmo Hurri
@ 2020-07-10 10:04     ` Nicolas Goaziou
  2020-07-10 10:49       ` Jarmo Hurri
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2020-07-10 10:04 UTC (permalink / raw)
  To: Jarmo Hurri; +Cc: emacs-orgmode

Jarmo Hurri <jarmo.hurri@iki.fi> writes:

> I think I am running the latest (stable) master:

Note: stable ≠ master, so you just wrote an oxymoron ;)

> Org mode version 9.3.7 (release_9.3.7-13-ge62ca4)

This is not quite HEAD. Mine is release_9.3.7-683-g95eaab.


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

* Re: Error (args out of range) when editing list
  2020-07-10 10:04     ` Nicolas Goaziou
@ 2020-07-10 10:49       ` Jarmo Hurri
  0 siblings, 0 replies; 5+ messages in thread
From: Jarmo Hurri @ 2020-07-10 10:49 UTC (permalink / raw)
  To: emacs-orgmode


Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

>> I think I am running the latest (stable) master:
>
> Note: stable ≠ master, so you just wrote an oxymoron ;)

Oops, exactly. :) I now pulled the latest _master_, and it does not have
the same issue branch _stable_ has. So I guess stable will also contain
the fix at some point.

Thanks, and all the best,

Jarmo



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

end of thread, other threads:[~2020-07-10 10:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-10  6:24 Error (args out of range) when editing list Jarmo Hurri
2020-07-10  7:32 ` Nicolas Goaziou
2020-07-10  8:08   ` Jarmo Hurri
2020-07-10 10:04     ` Nicolas Goaziou
2020-07-10 10:49       ` Jarmo Hurri

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