emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diep Pham Van <imeo@favadi.com>
To: Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Error in post-command-hook: (void-variable org-ans1)
Date: Thu, 15 Sep 2011 17:54:01 +0700	[thread overview]
Message-ID: <20110915175401.596e728a@favadi.com> (raw)
In-Reply-To: <87k49a9l5d.fsf@rat.lan>

On Thu, 15 Sep 2011 12:04:30 +0200
Olaf Dietsche <olaf+list.orgmode@olafdietsche.de> wrote:

> Diep Pham Van <imeo@favadi.com> 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

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.


-- 

PHẠM Văn Điệp

  parent reply	other threads:[~2011-09-15 10:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 18:47 Error in post-command-hook: (void-variable org-ans1) Diep Pham Van
2011-09-15 10:04 ` Olaf Dietsche
2011-09-15 10:34   ` Diep Pham Van
2011-09-15 10:54   ` Diep Pham Van [this message]
2011-09-15 12:07     ` Olaf Dietsche
2011-09-15 12:37       ` Diep Pham Van
2011-09-15 14:42         ` brian powell
2011-09-15 14:53           ` Diep Pham Van

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110915175401.596e728a@favadi.com \
    --to=imeo@favadi.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=olaf+list.orgmode@olafdietsche.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).