From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: Problem after updating org: C-c a a broken Date: Fri, 28 Oct 2011 12:16:59 -0700 Message-ID: <0v8vo5udsk.fsf@gmail.com> References: <0vd3dhufnh.fsf@gmail.com> <9724.1319828957@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJrva-0008TE-Di for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJrvZ-0008GD-5l for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:17:18 -0400 Received: from lo.gmane.org ([80.91.229.12]:49693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJrvY-0008G4-Sg for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:17:17 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RJrvU-0002ld-LN for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 21:17:12 +0200 Received: from mail.cdrd.ca ([142.103.191.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Oct 2011 21:17:12 +0200 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Oct 2011 21:17:12 +0200 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: emacs-orgmode@gnu.org 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? Markus