From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: "Invalid capture target specification" Date: Tue, 20 Jul 2010 15:05:06 -0400 Message-ID: <12837.1279652706@alphaville.usa.hp.com> References: <11539.1279649602@alphaville.usa.hp.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=41499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObI7q-0007FR-BP for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 15:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObI7o-0004qx-S4 for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 15:05:10 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:2658) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObI7o-0004qT-Ml for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 15:05:08 -0400 In-Reply-To: Message from Dave Mason of "Tue\, 20 Jul 2010 14\:43\:55 EDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: dcm@bronto.com Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Dave Mason wrote: > On Tue, Jul 20, 2010 at 2:30 PM, Dave Mason wrote: > > On Tue, Jul 20, 2010 at 2:13 PM, Nick Dokos wro= te: > >> Dave Mason wrote: > >> > >>> I'm trying to get the new org-capture set up. I did as the docs sugge= st > >>> 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 > >> > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 C-h v org-capture-templates > >> > >> and post the value you get. > > > > > > Oh, interesting - it says the value is nil > > >=20 > 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. >=20 > Guess I will need to recreate them. >=20 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