From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Re: Error (args out of range) when editing list
Date: Fri, 10 Jul 2020 11:08:01 +0300 [thread overview]
Message-ID: <87zh87aj32.fsf@iki.fi> (raw)
In-Reply-To: 875zav4ygg.fsf@nicolasgoaziou.fr
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
next prev parent reply other threads:[~2020-07-10 8:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2020-07-10 10:04 ` Nicolas Goaziou
2020-07-10 10:49 ` Jarmo Hurri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zh87aj32.fsf@iki.fi \
--to=jarmo.hurri@iki.fi \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).