From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Problems with (defvar foo) and Emacs 23 Date: Sun, 01 Apr 2012 14:57:51 -0400 Message-ID: <87sjgngtzk.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEPyQ-0001N7-Uv for emacs-orgmode@gnu.org; Sun, 01 Apr 2012 14:58:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEPyP-0002gs-4B for emacs-orgmode@gnu.org; Sun, 01 Apr 2012 14:57:58 -0400 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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, I updated to master today e917477 ((org-xhtml.el): Removed, 2012-04-01) and am getting errors about org-clock-last-state not defined in my GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian I can see the variable in the source defined as --8<---------------cut here---------------start------------->8--- lisp/org-clock.el:(defvar org-clock-state) ;; dynamically scoped into this function --8<---------------cut here---------------end--------------->8--- but I don't get a variable definition with this code in emacs 23.2.1. If I change the definition to --8<---------------cut here---------------start------------->8--- (defvar org-clock-state nil) --8<---------------cut here---------------end--------------->8--- then it works for me. There are _lots_ of these types of definitions with no value in the org-mode source. --8<---------------cut here---------------start------------->8--- bernt@gollum:~/git/org-mode$ git grep '(defvar [a-z-]*)' | wc -l 409 --8<---------------cut here---------------end--------------->8--- Regards, Bernt