* "Invalid capture target specification" @ 2010-07-20 17:53 Dave Mason [not found] ` <dave.mason@bronto.com> 0 siblings, 1 reply; 5+ messages in thread From: Dave Mason @ 2010-07-20 17:53 UTC (permalink / raw) To: emacs-orgmode 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? Thanks! Dave ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <dave.mason@bronto.com>]
* Re: "Invalid capture target specification" [not found] ` <dave.mason@bronto.com> @ 2010-07-20 18:13 ` Nick Dokos 2010-07-20 18:30 ` Dave Mason 0 siblings, 1 reply; 5+ messages in thread From: Nick Dokos @ 2010-07-20 18:13 UTC (permalink / raw) To: dcm; +Cc: nicholas.dokos, emacs-orgmode Dave Mason <dave.mason@bronto.com> 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. Nick ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "Invalid capture target specification" 2010-07-20 18:13 ` Nick Dokos @ 2010-07-20 18:30 ` Dave Mason 2010-07-20 18:43 ` Dave Mason 0 siblings, 1 reply; 5+ messages in thread From: Dave Mason @ 2010-07-20 18:30 UTC (permalink / raw) To: nicholas.dokos; +Cc: emacs-orgmode On Tue, Jul 20, 2010 at 2:13 PM, Nick Dokos <nicholas.dokos@hp.com> wrote: > Dave Mason <dave.mason@bronto.com> 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 Dave ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "Invalid capture target specification" 2010-07-20 18:30 ` Dave Mason @ 2010-07-20 18:43 ` Dave Mason 2010-07-20 19:05 ` Nick Dokos 0 siblings, 1 reply; 5+ messages in thread From: Dave Mason @ 2010-07-20 18:43 UTC (permalink / raw) To: nicholas.dokos; +Cc: emacs-orgmode On Tue, Jul 20, 2010 at 2:30 PM, Dave Mason <dave.mason@bronto.com> wrote: > On Tue, Jul 20, 2010 at 2:13 PM, Nick Dokos <nicholas.dokos@hp.com> wrote: >> Dave Mason <dave.mason@bronto.com> 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. Thanks for your help. Dave ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "Invalid capture target specification" 2010-07-20 18:43 ` Dave Mason @ 2010-07-20 19:05 ` Nick Dokos 0 siblings, 0 replies; 5+ messages in thread From: Nick Dokos @ 2010-07-20 19:05 UTC (permalink / raw) To: dcm; +Cc: nicholas.dokos, emacs-orgmode Dave Mason <dave.mason@bronto.com> wrote: > On Tue, Jul 20, 2010 at 2:30 PM, Dave Mason <dave.mason@bronto.com> wrote: > > On Tue, Jul 20, 2010 at 2:13 PM, Nick Dokos <nicholas.dokos@hp.com> wrote: > >> Dave Mason <dave.mason@bronto.com> 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-07-20 19:05 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-07-20 17:53 "Invalid capture target specification" Dave Mason [not found] ` <dave.mason@bronto.com> 2010-07-20 18:13 ` Nick Dokos 2010-07-20 18:30 ` Dave Mason 2010-07-20 18:43 ` Dave Mason 2010-07-20 19:05 ` Nick Dokos
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).