emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Problem after updating org: C-c a a broken


From: Markus Heller
Subject: Re: [O] Problem after updating org: C-c a a broken
Date: Fri, 28 Oct 2011 12:19:36 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (windows-nt)

Markus Heller <address@hidden> writes:

> Nick Dokos <address@hidden> writes:
>
>> Markus Heller <address@hidden> wrote:
>>
>>> Hello all,
>>> 
>>> just pulled from git.
>>> 
>>> When I type C-c a a to pull up the agenda, I get the error shown below.
>>> 
>>> This used to work prior to the update.
>>> 
>>> Org version is 7.7, pulled 5 min ago on emacs 23.3.1.
>>> 
>>> Help please, can't access my agenda anymore :(
>>> 
>>> Thanks
>>> Markus
>>> 
>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>   format(nil "COMMENT")
>>>   (setq re (format org-heading-keyword-regexp-format org-comment-string))
>>
>> I can't reproduce this: Org-mode version 7.7 (release_7.7.485.gcfed6.dirty)
>> (this is a pull from about 30mins ago plus Eric Schulte's code block 
>> keywords patch).
>>
>> org-heading-keyword-regexp-format is initialized to nil and made
>> buffer-local in org.el It is set to a non-nil value in
>> org-set-regexps-and-options which is called from org-mode.  So if the
>> visited files's major mode is indeed org, I cannot imagine how this
>> error can come about.
>>
>> What happens if you visit the three files in your agenda list and *then*
>> do C-c a a?  While visiting each file, do C-h v
>> org-heading-keyword-regexp-format RET and see if it is nil or not.
>>
>
> Hi Nick,
>
> I've visited all 3 agenda files.  C-c a a doesn't work in any of them,
> and org-heading-keyword-regexp-format is NIL in all 3 of them.
>
> Other thoughts?
>
> Markus

Hm, so ok, restarting emacs actually solved it.

Kinda weird, because I never had to do this when updating org (I don't
compile the sources, I just do C-c C-x !).

Seems a bit odd to me but it's working again so I'm happy :)

I apologize for the noise.




reply via email to

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