emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Invalid capture target specification
@ 2010-11-29 11:46 Thorsten
  2010-11-29 20:35 ` David Maus
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten @ 2010-11-29 11:46 UTC (permalink / raw)
  To: emacs-orgmode

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. 

Thorsten

PS 
GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-03-29 on 
rothera, modified by Debian
Org-mode version 7.01h
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Invalid capture target specification
  2010-11-29 11:46 Invalid capture target specification Thorsten
@ 2010-11-29 20:35 ` David Maus
  2010-12-01  1:54   ` Thorsten
  0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2010-11-29 20:35 UTC (permalink / raw)
  To: Thorsten; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1161 bytes --]

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.dominik@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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Invalid capture target specification
  2010-11-29 20:35 ` David Maus
@ 2010-12-01  1:54   ` Thorsten
  0 siblings, 0 replies; 3+ messages in thread
From: Thorsten @ 2010-12-01  1:54 UTC (permalink / raw)
  To: emacs-orgmode

Thanks David, 
it works with org-mode 7.3
cheers
Thorsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-01  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-29 11:46 Invalid capture target specification Thorsten
2010-11-29 20:35 ` David Maus
2010-12-01  1:54   ` Thorsten

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).