From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [bug] org-habit-show-all-today undefined Date: Tue, 29 May 2012 11:33:35 -0400 Message-ID: <4403.1338305615@alphaville> References: <87likbslms.fsf@ucl.ac.uk> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZOQZ-0007V8-AU for emacs-orgmode@gnu.org; Tue, 29 May 2012 11:33:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZOQX-0008HH-C7 for emacs-orgmode@gnu.org; Tue, 29 May 2012 11:33:42 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:29875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZOQX-0008GF-7Y for emacs-orgmode@gnu.org; Tue, 29 May 2012 11:33:41 -0400 Received: from g1t0038.austin.hp.com (g1t0038.austin.hp.com [16.236.32.44]) by g1t0026.austin.hp.com (Postfix) with ESMTP id E564CC3B4 for ; Tue, 29 May 2012 15:33:38 +0000 (UTC) Received: from alphaville.americas.hpqcorp.net (alphaville.americas.hpqcorp.net [16.117.226.11]) by g1t0038.austin.hp.com (Postfix) with ESMTP id B982D300A7 for ; Tue, 29 May 2012 15:33:38 +0000 (UTC) Received: from alphaville (localhost [127.0.0.1]) by alphaville.americas.hpqcorp.net (Postfix) with ESMTP id D772341478 for ; Tue, 29 May 2012 11:33:35 -0400 (EDT) In-Reply-To: Message from Eric S Fraga of "Tue, 29 May 2012 13:07:31 +0930." <87likbslms.fsf@ucl.ac.uk> 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 Eric S Fraga wrote: > With the most recent update to org, > > ,---- > | Author: Max Mikhanosha > | Date: Mon May 28 14:55:32 2012 -0400 > |=20 > | Add ability to show all (even unscheduled) habits on today agenda, by > | setting `org-habit-show-all-today' to t. > |=20=20=20=20=20 > | * lisp/org-agenda.el (defvar org-habit-show-all-today): new variable > | (org-agenda-get-scheduled): show all habits if user wants it > | * lisp/org-habit.el (defcustom org-habit-show-all-today): new variable > `---- > > I get the following error as soon as I try to view my agenda. I don't > use habits at all. > > ,---- > | Debugger entered--Lisp error: (void-variable org-habit-show-all-today) Me too, with the version just pulled earlier today: Org-mode version 7.8.10 (release_7.8.10-626-g8a83e3 @ /home/nick/elisp/org-mode/lisp/) I fixed it (or maybe I should say: I "fixed" it :-) ) by giving an initial value to the variable in org-agenda.el: (defvar org-habit-show-all-today nil "... doc string ...") Nick