Hi there!
Nicolas Goaziou <m...@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