emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Version 7.5: C-c C-t <anything> fails with "args out of range"
@ 2011-03-08 23:08 Josh Berry
  2011-03-08 23:25 ` Nick Dokos
  2011-03-09  5:49 ` David Maus
  0 siblings, 2 replies; 10+ messages in thread
From: Josh Berry @ 2011-03-08 23:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi list,

I just upgraded from org-mode 7.4 to 7.5, and I can't set or change
TODO states at all with C-c C-t now; an args-out-of-range error gets
raised.  I've tried doing a "make clean" in my org-mode checkout, to
no avail.

I'm running GNU emacs 23.2.1 on Mac OSX (in Aqua), installed via
Homebrew.  Debugger backtrace is pasted below.

[[BTW, please forgive me if this isn't a well-formed bug report; I'm
relatively new to Emacs and don't know Elisp.  Just let me know if you
need anything else.]]

----------
Debugger entered--Lisp error: (args-out-of-range 1 4913)
  narrow-to-region(1 4913)
  (prog2 (widen) (run-hook-with-args-until-failure (quote
org-blocker-hook) change-plist) (narrow-to-region beg end) (goto-char
pos))
  (let ((beg ...) (end ...) (pos ...)) (prog2 (widen)
(run-hook-with-args-until-failure ... change-plist) (narrow-to-region
beg end) (goto-char pos)))
  (org-with-wide-buffer (run-hook-with-args-until-failure (quote
org-blocker-hook) change-plist))
  (progn (org-with-wide-buffer (run-hook-with-args-until-failure ...
change-plist)))
  (unwind-protect (progn (org-with-wide-buffer ...)) (set-match-data
save-match-data-internal (quote evaporate)))
  (let ((save-match-data-internal ...)) (unwind-protect (progn ...)
(set-match-data save-match-data-internal ...)))
  (save-match-data (org-with-wide-buffer
(run-hook-with-args-until-failure ... change-plist)))
  (save-excursion (save-match-data (org-with-wide-buffer ...)))
  (if (save-excursion (save-match-data ...)) nil (if (interactive-p)
(error "TODO state change from %s to %s blocked" this state) (message
"TODO state change from %s to %s blocked" this state) (throw ...
nil)))
  (unless (save-excursion (save-match-data ...)) (if (interactive-p)
(error "TODO state change from %s to %s blocked" this state) (message
"TODO state change from %s to %s blocked" this state) (throw ...
nil)))
  (progn (setq org-last-todo-state-is-todo (not ...)) (unless
(save-excursion ...) (if ... ... ... ...)))
  (if org-blocker-hook (progn (setq org-last-todo-state-is-todo ...)
(unless ... ...)))
  (when org-blocker-hook (setq org-last-todo-state-is-todo (not ...))
(unless (save-excursion ...) (if ... ... ... ...)))
  (let* ((match-data ...) (startpos ...) (logging ...) (org-log-done
org-log-done) (org-log-repeat org-log-repeat) (org-todo-log-states
org-todo-log-states) (this ...) (hl-pos ...) (head ...) (ass ...)
(interpret ...) (done-word ...) (final-done-word ...) (last-state ...)
(completion-ignore-case t) (member ...) (tail ...) (state ...) (state
...) (next ...) (change-plist ...) dolog now-done-p) (when
org-blocker-hook (setq org-last-todo-state-is-todo ...) (unless ...
...)) (store-match-data match-data) (replace-match next t t) (unless
(pos-visible-in-window-p hl-pos) (message "TODO state changed to %s"
...)) (unless head (setq head ... ass ... interpret ... done-word ...
final-done-word ...)) (when (memq arg ...) (message "Keyword-Set
%d/%d: %s" ... ... ...)) (setq org-last-todo-state-is-todo (not ...))
(setq now-done-p (and ... ...)) (and logging (org-local-logging
logging)) (when (and ... ... ...) (setq dolog ...) (if ... ...) (when
... ...) (when ... ... ...) (when ... ...))
(org-todo-trigger-tag-changes state) (and org-auto-align-tags (not
org-setting-tags) (org-set-tags nil t)) (when
org-provide-todo-statistics (org-update-parent-todo-statistics))
(run-hooks (quote org-after-todo-state-change-hook)) (if (and arg ...)
(setq head ...)) (put-text-property (point-at-bol) (point-at-eol)
(quote org-todo-head) head) (when now-done-p (when ... ...)
(org-auto-repeat-maybe state)) (if (and ... ... ... ...) (progn ...
...)) (when org-trigger-hook (save-excursion ...)))
  (catch (quote exit) (org-back-to-heading t) (if (looking-at
outline-regexp) (goto-char ...)) (or (looking-at ...) (looking-at "
*")) (let* (... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... dolog now-done-p) (when org-blocker-hook
... ...) (store-match-data match-data) (replace-match next t t)
(unless ... ...) (unless head ...) (when ... ...) (setq
org-last-todo-state-is-todo ...) (setq now-done-p ...) (and logging
...) (when ... ... ... ... ... ...) (org-todo-trigger-tag-changes
state) (and org-auto-align-tags ... ...) (when
org-provide-todo-statistics ...) (run-hooks ...) (if ... ...)
(put-text-property ... ... ... head) (when now-done-p ... ...) (if ...
...) (when org-trigger-hook ...)))
  (save-excursion (catch (quote exit) (org-back-to-heading t) (if ...
...) (or ... ...) (let* ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ...)))
  (let ((org-blocker-hook org-blocker-hook) (case-fold-search nil))
(when (equal arg ...) (setq arg nil org-blocker-hook nil)) (when (and
org-blocker-hook ...) (setq org-blocker-hook nil)) (save-excursion
(catch ... ... ... ... ...)))
  org-todo(nil)
  call-interactively(org-todo nil nil)
----------

Can you please advise me on what (if anything) I should do next?
Thanks in advance for your help!

-- Josh

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

end of thread, other threads:[~2011-03-09  9:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 23:08 Version 7.5: C-c C-t <anything> fails with "args out of range" Josh Berry
2011-03-08 23:25 ` Nick Dokos
2011-03-09  0:35   ` Josh Berry
2011-03-09  2:14     ` Nick Dokos
2011-03-09  3:11       ` Josh Berry
2011-03-09  5:49 ` David Maus
2011-03-09  6:55   ` Carsten Dominik
2011-03-09  7:16     ` Josh Berry
2011-03-09  9:57     ` Bastien
2011-03-09  9:59   ` Bastien

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