From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Subject: Capture mode fails until "reload org uncompiled" is used Date: Tue, 29 Nov 2011 20:02:22 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVTtA-00022Q-2a for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 15:02:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVTt5-0006iY-Vk for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 15:02:48 -0500 Received: from lo.gmane.org ([80.91.229.12]:51933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVTt5-0006iQ-I2 for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 15:02:43 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RVTt3-0008R8-CO for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 21:02:42 +0100 Received: from host020.samsungtelecom.com ([host020.samsungtelecom.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2011 21:02:41 +0100 Received: from felixfcaf by host020.samsungtelecom.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2011 21:02:41 +0100 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 When I fire up emacs and use C-c c t to enter a task (see .emacs below), I get the message "Capture template `t': org-called-interactively-p" and nothing happens. However, if I use the menu option "Org->Refresh/Reload->Reload Org Uncompiled", then C-c c t works correctly every time. I have provided a backtrace below (without "reload org uncompiled", since that fixes the problem). Any suggestions to fix this so that I don't have to "reload org uncompiled" every time I start emacs? Thanks. -------------------------------------------------------------------------- .EMACS: ;;; org-mode (require 'org-install) (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (define-key global-map "\C-cl" 'org-store-link) (define-key global-map "\C-ca" 'org-agenda) (define-key global-map "\C-cc" 'org-capture) (setq org-log-done nil); to not log the time for an completed task. (setq org-directory "~/") (setq org-agenda-files (list "~/todo.org")) (setq org-agenda-start-on-weekday nil); start agenda from the current day. (setq org-agenda-start-with-follow-mode t) (setq org-capture-templates (quote (("t" "Todo" entry (file+headline "~/todo.org" "Tasks") "* TODO %?\n %i\n %a") ("j" "Journal" entry (file+datetree "~/journal.org") "* %?\nEntered on %U\n %i\n %a")))) -------------------------------------------------------------------------- BACKTRACE (Without "reload org uncompiled"): Debugger entered--Lisp error: (error "Capture template `t': org-called-interactively-p") signal(error ("Capture template `t': org-called-interactively-p")) error("Capture template `%s': %s" "t" org-called-interactively-p) byte-code("..." [error buffer-base-buffer string-match "\\`CAPTURE-" buffer-name kill-buffer set-window-configuration org-capture-get :return-to-wconf "Capture template `%s': %s" :key] 4) org-capture(nil) call-interactively(org-capture nil nil) ---------------------------------------------------------------------------