From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Dietsche Subject: Re: Error in post-command-hook: (void-variable org-ans1) Date: Thu, 15 Sep 2011 12:04:30 +0200 Message-ID: <87k49a9l5d.fsf@rat.lan> References: <20110915014706.308bf957@favadi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R48oB-000864-1A for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 06:04:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R48o9-0006GW-HF for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 06:04:39 -0400 Received: from www85.your-server.de ([213.133.104.85]:46148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R48o9-0006G6-C5 for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 06:04:37 -0400 In-Reply-To: <20110915014706.308bf957@favadi.com> (Diep Pham Van's message of "Thu, 15 Sep 2011 01:47:06 +0700") 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: Diep Pham Van Cc: emacs-orgmode@gnu.org Diep Pham Van writes: > I get this error: "Error in post-command-hook: (void-variable > org-ans1)" every time I want to use schedule or deadline. After that, > the error message appear with any command. After some minutes, this > error message disappear and I can use anny command as expected. > > This problem happens with both the version ship with emacs 23.3 or > latest version (7.7). > > This is my .emacs config. > > http://pastebin.com/sQaTYJCR > > C-h v post-command-hook before the problem appear: > > post-command-hook is a variable defined in `C source code'. > Its value is > (linum-update-current ac-handle-post-command > autopair-post-command-handler t) > > Local in buffer .emacs; global value is > (global-font-lock-mode-check-buffers global-linum-mode-check-buffers > global-auto-complete-mode-check-buffers > autopair-global-mode-check-buffers yas/global-mode-check-buffers > global-hl-line-highlight) Have you tried disabling or reducing these modes? One of them or a combination is responsible for the error you get. Regards, Olaf