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:19:36 -0700 Message-ID: <0vlis4j54n.fsf@gmail.com> References: <0vd3dhufnh.fsf@gmail.com> <9724.1319828957@alphaville.americas.hpqcorp.net> <0v8vo5udsk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJryN-00014j-Ot for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:20:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJryM-0000Oq-RJ for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:20:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:55829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJryM-0000Oj-HJ for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 15:20:10 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RJryL-0004Gw-H3 for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 21:20:09 +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:20:09 +0200 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Oct 2011 21:20:09 +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 Markus Heller writes: > 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 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.