At Mon, 29 Nov 2010 11:46:07 +0000 (UTC),
Thorsten wrote:
>
> I try to set up Org capture with a default target file.
>
> from my .emacs:
> ; set file and global key for org-capture
> (setq org-directory "/home/tj1/Dropbox/.emacs.d/org")
> (setq org-default-notes-file (concat org-directory "/notes.org"))
> (define-key global-map "\C-cc" 'org-capture)
>
> C-h v org-default-notes-file gives:
> org-default-notes-file is a variable defined in `org.el'.
> Its value is
> "/home/tj1/Dropbox/.emacs.d/org/notes.org"
>
> but C-c c gives:
> org-capture-set-target-location: Invalid capture target specification
>
> To me it looks as if I just followed the manual and everything should be 
> fine. I
> do not need a capture template, don't I?
> I would appreciate any advice.

I can confirm this problem with 7.01h, but it is fixed in current
stable 7.3.

commit e3b93cda2e5717c9444a176bedf6663df7d60c25
Author: Carsten Dominik <carsten.domi...@gmail.com>
Date:   Wed Jul 21 08:28:20 2010 +0200

    Capture: Default template when no capture templates are defined

Best,
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmj...@jabber.org
Email..... dm...@ictsoc.de

Attachment: pgpBhdhWKqUWw.pgp
Description: PGP signature

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to