emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: wrong-type-argument when changing TODO state [7.7]


From: Nick Dokos
Subject: Re: [O] Bug: wrong-type-argument when changing TODO state [7.7]
Date: Sun, 28 Aug 2011 13:09:49 -0400

Stelian Iancu <address@hidden> wrote:

> 
> I am trying to switch between TODO and DONE states with Shift-Right
> Arrow and I get a (wrong-type-argument stringp nil) error.
> 
> Please find attached the backtrace.
> 
> 
> Emacs  : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
>  of 2010-12-11 on raven, modified by Debian
> Package: Org-mode version 7.7
> 

> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   looking-at(nil)
>   (save-excursion (beginning-of-line 1) (looking-at org-todo-line-regexp))
>   (and (outline-on-heading-p) (not (bolp)) (save-excursion (beginning-of-line 
> 1) (looking-at org-todo-line-regexp)) (< (point) (+ 2 ...)))
>   (if (and (outline-on-heading-p) (not ...) (save-excursion ... ...) (< ... 
> ...)) (progn (goto-char ...) (and ... ...)))
>   (let* ...)
>   (catch (quote exit) ...)
>   (save-excursion (catch (quote exit)...)
>   (let ...)
>   org-todo(right)
>   call-interactively(org-todo)
>   (let ((current-prefix-arg arg)) (call-interactively command))
>   org-call-with-arg(org-todo right)
>   (let ...)
>   (cond ...)
>   org-shiftright(nil)
>   call-interactively(org-shiftright nil nil)

The problem is that org-todo-line-regexp is nil. This variable is
made buffer-local and initialized when the buffer's mode is set 
to org-mode.

Are you sure that your buffer's major mode is org-mode?

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]