In the following post,
http://stackoverflow.com/questions/27872038/emacs-keyboard-macro-fails-to-invoke-org-mode-capture-template,
artscan showed that org capture templates don't work in org v.8.2.10 when
invoked from within a keyboard macro. I reproduce his results here.
The following function
(
I'm no lisp expert, but I have attempted to indent the backtrace below for
easier reading.
Debugger entered--Lisp error:
(error "Capture abort: (wrong-type-argument stringp
(file:~/org/todo.org::*Tasks Tasks))")
signal(error ("Capture abort: (wrong-type-argument stringp
(file:~/org/todo.org::*T
I am trying to use the following keyboard test macro
(fset 'jj [?\C-c ?c ?t ?j ?j return ?\C-c ?\C-c])
to invoke this capture template definition
(setq org-capture-templates '(("t" "Todo" entry (file "~/org/j.org"
Note that C-c c invokes M-x org-capture.
Unfortunately, it produce
> > The backtrace is not very useful as is because of the byte code. You
> > might try to reproduce with uncompiled code and see if it is any
> > clearer.
>
> How to do that? I had used
> C-u M-x org-reload RET
> before, as described in the org-mode documentation to get a backtrace from
> unco
> The backtrace is not very useful as is because of the byte code. You
> might try to reproduce with uncompiled code and see if it is any
> clearer.
How to do that? I had used
C-u M-x org-reload RET
before, as described in the org-mode documentation to get a backtrace from
uncompiled code. App
> It does not bother me as much as the following keyboard macro
>
> (fset 'jk
> [?\M-x ?o ?r ?g ?- ?c ?a ?p ?t ?u ?r ?e return ?t return ?\C-e ? ?j ?k
> ?\C-c ?\C-c])
>
> that should invoke the following template:
> (setq org-capture-templates '(("t" "Todo" entry (file "~/org/j.org"
>
If
> ... and where did that load-path get initialized?
According to
https://www.gnu.org/software/emacs/manual/html_node/elisp/Library-Search.html,
the load-path got initialized to default sources when emacs was compiled.
Then after I did the elpa org-mode update, the elpa directories got placed
at th
> Try loading a minimal init file (e.g. check
>
>http://thread.gmane.org/gmane.emacs.orgmode/80179/focus=80213
>
> for an example) and start emacs with
>
>emacs -q -l /path/to/minimal/.emacs
>
> If org-export-icalendar-this-file is undefined (as it should be), then
> the problem is some
> Any suggestions on how to fix the installation problems? I have placed
> package-initialize at the beginning of my .emacs but that doesn't help.
I re-installed org-mode from elpa after deleting all org-related entries
from my .emacs (I don't have init.el) and ensuring that no org buffers were
op
Hi,
I recently updated to the latest org-mode version (using M-x list-packages).
I am having some problems after installation. For example, the following
keyboard test macro
(fset 'jj [?\C-c ?c ?t ?j ?j return ?\C-c ?\C-c])
that invokes this capture template definition
(setq org-captu
> org-export-icalendar-this-file *is* undefined in versions of org >= 8.0.
> When I try M-x org-export-icalendar-this-file on a modern org, I get "No
> match". The fact that you get something else is indicative of
> installation problems as I alluded to before.
The org-export-icalendar-this-file
Thanks for your help, Nick. I found that C-c C-e c f replaces
org-export-icalendar-this-file. It would be nice if M-x
org-export-icalendar-this-file is undefined or pops up an error message
stating that it has been replaced by C-c C-e c f.
> You probably need to make sure that you install org correctly, so that
> the previous bits are shadowed completely. Read the "Using Emacs
> packaging system" subsection of the "Installation" section of the Org
> manual for important information:
>
>(info "(org) Installation")
I checked the
ise. Thank you.
Sincerely,
Felix Fernandes
Emacs : GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)
of 2014-02-22 on chindi10, modified by Debian
Package: Org-mode version 8.2.10 (8.2.10-29-g89a0ac-elpa @
/home/vadmin/.emacs.d/elpa/org-20141222/)
current state:
==
(setq
14 matches
Mail list logo