From: Felix <felixfcaf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Capture mode fails until "reload org uncompiled" is used
Date: Tue, 29 Nov 2011 20:02:22 +0000 (UTC) [thread overview]
Message-ID: <loom.20111129T204134-490@post.gmane.org> (raw)
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)
---------------------------------------------------------------------------
next reply other threads:[~2011-11-29 20:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 20:02 Felix [this message]
2011-11-30 9:48 ` Capture mode fails until "reload org uncompiled" is used David Maus
2011-11-30 12:00 ` Capture mode fails until Felix
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=loom.20111129T204134-490@post.gmane.org \
--to=felixfcaf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).