From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: agenda: "void: category-pos" Date: Wed, 24 Aug 2011 17:59:42 -0400 Message-ID: <6710.1314223182@alphaville.americas.hpqcorp.net> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwLUA-0006rq-Ui for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 17:59:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwLU9-0006Pu-MQ for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 17:59:46 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:7186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwLU9-0006Po-EY for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 17:59:45 -0400 In-Reply-To: Message from Michael Brand of "Wed, 24 Aug 2011 23:20:04 +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: Michael Brand Cc: Bastien , nicholas.dokos@hp.com, Org Mode Michael Brand wrote: > Hi all > > Since > http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=15798836e2bb84bebfb005375e08e38830fc90ee > from yesterday or with the newest release_7.7-194-gd203b61 when I try > to open the agenda with a minimal setup I get "save-excursion: > Symbol's value as variable is void: category-pos". Anybody else too? > > Michael > Yup - I patched it with a band-aid for now (I had to to get emacs started), but I haven't really looked deeper: diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index e3236e5..e26d08c 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3793,7 +3793,7 @@ (defun org-search-view (&optional todo-only string edit-at) (full-words org-agenda-search-view-force-full-words) (org-agenda-text-search-extra-files org-agenda-text-search-extra-files) regexp rtn rtnall files file pos - marker category tags c neg re boolean + marker category category-pos tags c neg re boolean ee txt beg end words regexps+ regexps- hdl-only buffer beg1 str) (unless (and (not edit-at) (stringp string) @@ -4730,7 +4730,7 @@ (defun org-agenda-get-timestamps () "\\|\\(<[0-9]+-[0-9]+-[0-9]+[^>\n]+?\\+[0-9]+[dwmy]>\\)" "\\|\\(<%%\\(([^>\n]+)\\)>\\)")) marker hdmarker deadlinep scheduledp clockp closedp inactivep - donep tmp priority category ee txt timestr tags b0 b3 e3 head + donep tmp priority category category-pos ee txt timestr tags b0 b3 e3 head todo-state end-of-match show-all) (goto-char (point-min)) (while (setq end-of-match (re-search-forward regexp nil t)) DEVS: please don't apply this without some investigation - afaik, it's just a workaround for the problem. Thanks, Nick