[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Args out of range when creating TODOs
From: |
Tassilo Horn |
Subject: |
[Orgmode] Re: Args out of range when creating TODOs |
Date: |
Thu, 25 Oct 2007 12:25:57 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Bastien <address@hidden> writes:
Hi Bastien,
> Mhh... strange, I still cannot reproduce here with a minimal config.
> Can you debug <C-c C-t> step by step in this case?
It fails in line 13497 of org.el (the call to replace-match). Here's
the edebug output so far.
--8<---------------cut here---------------start------------->8---
Edebug: edebug-anon0
Edebug: org-todo
org-todo
Result: t
Result: "\\*+ "
Result: t
Result: 3 (#o3, #x3, ?\C-c)
Result: 2 (#o2, #x2, ?\C-b) [3 times]
Result: "\\<\\(TODO\\|STARTED\\|WAITING\\|DONE\\|DEFERRED\\|CANCELLED\\)\\>"
Result: " +\\<\\(TODO\\|STARTED\\|WAITING\\|DONE\\|DEFERRED\\|CANCELLED\\)\\> *"
Result: nil
Result: t [2 times]
Result: 1 (#o1, #x1, ?\C-a)
Result: nil [5 times]
Result: t
Result: nil
Result: 2 (#o2, #x2, ?\C-b)
Result: nil [3 times]
Result: ((#1=#("TODO" 0 4 (face org-todo)) . #2=(sequence #1# "DONE"
"CANCELLED")) (#("STARTED" 0 7 (face org-todo)) . #2#) (#("WAITING" 0 7 (face
org-todo)) . #2#) (#("DONE" 0 4 (face org-done)) . #2#) (#("DEFERRED" 0 8 (face
org-done)) . #2#) (#("CANCELLED" 0 9 (face org-done)) . #2#))
Result: nil [8 times]
Result: ""
Result: nil
Result: (#("TODO" 0 4 (face org-todo)) #("STARTED" 0 7 (face org-todo))
#("WAITING" 0 7 (face org-todo)) #("DONE" 0 4 (face org-done)) #("DEFERRED" 0 8
(face org-done)) #("CANCELLED" 0 9 (face org-done)))
Result: nil [3 times]
Result: (116 115 119 100 102 99)
Result: nil [4 times]
Result: t [3 times]
Result: nil
Result: t [4 times]
[a-z..]:Set [SPC]:clear
Result: #("TODO" 0 4 (face org-todo)) [4 times]
Result: #(" TODO " 0 1 nil 1 5 (face org-todo) 5 6 nil) [2 times]
Result: nil
Result: #("TODO" 0 4 (face org-todo))
Result: 1 (#o1, #x1, ?\C-a)
Result: (:type todo-state-change :from nil :to #("TODO" 0 4 (face org-todo))
:position 1)
Result: nil [2 times]
Result: #(" TODO " 0 1 nil 1 5 (face org-todo) 5 6 nil)
Args out of range: 24, 40
--8<---------------cut here---------------end--------------->8---
> PS: I'm using Emacs 23.0.0, not latest Emacs CVS (as you do), but I
> don't think the error might come from here.
I don't know. Maybe someone with a recent 23.0.50 Emacs can check if he
can reproduce the error. And what does Carsten use?
Bye,
Tassilo
--
Chuck Norris has 12 moons. One of those moons is the Earth.