emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: dcm@bronto.com
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: "Invalid capture target specification"
Date: Tue, 20 Jul 2010 15:05:06 -0400	[thread overview]
Message-ID: <12837.1279652706@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Dave Mason <dave.mason@bronto.com> of "Tue\, 20 Jul 2010 14\:43\:55 EDT." <AANLkTimDIevUkWwsIIUzEjPzOef6rSypqXb858Xz8FbG@mail.gmail.com>

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

      reply	other threads:[~2010-07-20 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=12837.1279652706@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=dcm@bronto.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).