From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diep Pham Van Subject: Re: Error in post-command-hook: (void-variable org-ans1) Date: Thu, 15 Sep 2011 17:54:01 +0700 Message-ID: <20110915175401.596e728a@favadi.com> References: <20110915014706.308bf957@favadi.com> <87k49a9l5d.fsf@rat.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R49a9-0000eA-4g for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 06:54:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R49a7-0001o4-Ky for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 06:54:13 -0400 Received: from mail-pz0-f43.google.com ([209.85.210.43]:56898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R49a7-0001nu-Fl for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 06:54:11 -0400 Received: by pzd13 with SMTP id 13so1135430pzd.30 for ; Thu, 15 Sep 2011 03:54:10 -0700 (PDT) In-Reply-To: <87k49a9l5d.fsf@rat.lan> 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: Olaf Dietsche Cc: emacs-orgmode@gnu.org On Thu, 15 Sep 2011 12:04:30 +0200 Olaf Dietsche wrote: > Diep Pham Van writes: >=20 > > 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=20 > > (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) >=20 > Have you tried disabling or reducing these modes? One of them or a > combination is responsible for the error you get. >=20 > Regards, Olaf Got it. Disable linum-mode solve this problem. Update to the latest version of linum-mode, the error is still appear. How this can be? I think linum-mode is very popular. --=20 PH=E1=BA=A0M V=C4=83n =C4=90i=E1=BB=87p