emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] "Invalid capture target specification"


From: Nick Dokos
Subject: Re: [Orgmode] "Invalid capture target specification"
Date: Tue, 20 Jul 2010 15:05:06 -0400

Dave Mason <address@hidden> wrote:

> On Tue, Jul 20, 2010 at 2:30 PM, Dave Mason <address@hidden> wrote:
> > On Tue, Jul 20, 2010 at 2:13 PM, Nick Dokos <address@hidden> wrote:
> >> Dave Mason <address@hidden> wrote:
> >>
> >>> I'm trying to get the new org-capture set up. I did as the docs suggest
> >>> and imported my remember templates - then I removed the remember
> >>> elements from my .emacs except for making the C-cr keystroke point to
> >>> capture.
> >>>
> >>> However, now when I M-x org-capture - I get "Invalid capture target
> >>> specification" error.
> >>>
> >>> I don't understand the message - help?
> >>>
> >>>
> >>
> >> org-capture tried to figure out where the capture should be stored
> >> (which file, which headline etc) and failed (in the function
> >> org-capture-set-target-location).
> >>
> >> Probably an error in your spec for org-capture-templates. Do
> >>
> >>         C-h v org-capture-templates
> >>
> >> and post the value you get.
> >
> >
> > Oh, interesting - it says the value is nil
> >
> 
> So I suppose the issue here is that
> org-capture-import-remember-templates  didn't work for me - though
> after I did it I viewed them with customize-variable and they all
> seemed to be in order.
> 
> Guess I will need to recreate them.
> 

Did you save it after you viewed it? The import sets the variable
for the current session, but it needs to be saved in some initialization
file for future sessions. Just click on 'Save for future sessions'.

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]