From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem after updating org: C-c a a broken Date: Fri, 28 Oct 2011 15:19:44 -0400 Message-ID: <10055.1319829584@alphaville.americas.hpqcorp.net> References: <0vd3dhufnh.fsf@gmail.com> <9724.1319828957@alphaville.americas.hpqcorp.net> <0v8vo5udsk.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJrxz-0000Xw-2O for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:19:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJrxx-0000IQ-UQ for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:19:47 -0400 Received: from g6t0185.atlanta.hp.com ([15.193.32.62]:26642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJrxx-0000IK-EG for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:19:45 -0400 In-Reply-To: Message from Markus Heller of "Fri, 28 Oct 2011 12:16:59 PDT." <0v8vo5udsk.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Markus Heller Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Markus Heller wrote: > Nick Dokos writes: > > > Markus Heller 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?