emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jeffrey DeLeo <jeff.deleo@rigpa.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem with 7.02 - org-capture-templates not set from init file
Date: Mon, 1 Nov 2010 20:48:03 +0100	[thread overview]
Message-ID: <14F45242-D9C2-428F-AE44-2CF8ABC858D0@gmail.com> (raw)
In-Reply-To: <86eib5b0jj.fsf@gmail.com>


On Nov 1, 2010, at 3:06 PM, Jeffrey DeLeo wrote:

> Since moving from org-version 7.01 to 7.02, the variable
> "org-capture-templates", which I set in my .emacs.el in a
> custom-set-variables is not being set. No error is generated, just the
> variable remains nil.

Are you sure this is different in 7.1 and 7.2?  Is the variable
nil or undefined?

The think is, the custom-set-variables only stores the intended value.
If the variable is not yet defined (i.e. org-capture.el not yet loaded),
it will wait until you load the package and then set the variable to
the customized value.

- Carsten

>
> Here's how I set it:
>
> --8<---------------cut here---------------start------------->8---
> '(org-capture-templates (quote (("t" "Todo" entry (file+headline  
> "Tasks.org" "Tasks") "* TODO %?
> 	    %i
> 	    %a") ("c" "Care" entry (file+headline "Care.org" "Care Notes")  
> "* %? %U
> 	    %i
> 	    %a") ("j" "Journal" entry (file+datetree "Journal.org") "*
> %?"))))
> --8<---------------cut here---------------end--------------->8---
>
> Am I doing something funny here, or did something break?
>
> _______________________________________________
> 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	other threads:[~2010-11-01 20:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 14:06 Problem with 7.02 - org-capture-templates not set from init file Jeffrey DeLeo
2010-11-01 19:48 ` Carsten Dominik [this message]
2010-11-02 14:29   ` Jeffrey DeLeo
2010-11-02 15:30     ` Carsten Dominik
2010-11-02 17:40       ` Jeffrey DeLeo
2010-11-02 21:12         ` Anupam Sengupta

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=14F45242-D9C2-428F-AE44-2CF8ABC858D0@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jeff.deleo@rigpa.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).