From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem with 7.02 - org-capture-templates not set from init file Date: Mon, 1 Nov 2010 20:48:03 +0100 Message-ID: <14F45242-D9C2-428F-AE44-2CF8ABC858D0@gmail.com> References: <86eib5b0jj.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47287 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PD0zS-0002HV-Db for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 16:28:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PD0zR-0005Uf-0S for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 16:28:26 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:47259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PD0zQ-0005Tx-Rw for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 16:28:24 -0400 Received: by mail-ey0-f169.google.com with SMTP id d26so3110219eyd.0 for ; Mon, 01 Nov 2010 13:28:24 -0700 (PDT) In-Reply-To: <86eib5b0jj.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jeffrey DeLeo Cc: emacs-orgmode@gnu.org 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