emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: Args out of range when creating TODOs
Date: Thu, 25 Oct 2007 12:25:57 +0200	[thread overview]
Message-ID: <87ejfjwkwa.fsf@baldur.tsdh.de> (raw)
In-Reply-To: 87ejfjfo0i.fsf@bzg.ath.cx

Bastien <bzg@altern.org> 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. 

  reply	other threads:[~2007-10-25 10:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25  9:05 Args out of range when creating TODOs Tassilo Horn
2007-10-25  9:21 ` Carsten Dominik
2007-10-25  9:45   ` Tassilo Horn
2007-10-25 10:40 ` Bastien
2007-10-25  9:50   ` Tassilo Horn
2007-10-25 11:10     ` Bastien
2007-10-25 10:25       ` Tassilo Horn [this message]
2007-10-25 10:57         ` Carsten Dominik
2007-10-25 11:16           ` Tassilo Horn

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=87ejfjwkwa.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --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).