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: Stelian Iancu
Subject: Re: [O] Bug: wrong-type-argument when changing TODO state [7.7]
Date: Mon, 29 Aug 2011 09:41:29 +0200

On Sun, Aug 28, 2011 at 19:09, Nick Dokos <address@hidden> wrote:
> 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
>

Yeah, the mode shows as org-mode. But now I get another weird one.
Everytime I open an org file, I see the following message in the
minibuffer:

File mode specification error: (wrong-type-argument keymap nil)

I'm lost ...

S.



reply via email to

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