Markus Heller <helle...@gmail.com> wrote:

> Nick Dokos <nicholas.do...@hp.com> writes:
> 
> > Markus Heller <helle...@gmail.com> 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?
> 

Do C-h v major-mode RET  when you are visiting one of those files. What do you 
get?

Reply via email to