From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anupam Sengupta Subject: Re: Problem with 7.02 - org-capture-templates not set from init file Date: Wed, 03 Nov 2010 02:42:58 +0530 Message-ID: References: <86eib5b0jj.fsf@gmail.com> <14F45242-D9C2-428F-AE44-2CF8ABC858D0@gmail.com> <86y69bajer.fsf@gmail.com> <73399AAD-C15F-4444-A76C-44EF9394E223@gmail.com> <86bp67bp3y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44112 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDOAI-0007Nu-Pg for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 17:13:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDOAH-0001by-An for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 17:13:10 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:42200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDOAH-0001bT-7m for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 17:13:09 -0400 Received: by gwb11 with SMTP id 11so5359161gwb.0 for ; Tue, 02 Nov 2010 14:13:08 -0700 (PDT) In-Reply-To: <86bp67bp3y.fsf@gmail.com> (Jeffrey DeLeo's message of "Tue, 02 Nov 2010 13:40:49 -0400") 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 >>>>> Jeffrey DeLeo writes: > OK, I found the problem. In my emacs init file, further down I > had: (require 'gnus-load) ;; for dev gnus (require 'message) > (require 'bbdb) (require 'org-install) (require 'org-icalendar) > (require 'org-mobile) ... > Removing these requires results in working org and not stomping on > org-capture-templates. I am somewhat confused here. Why would removal of the `require' statements fix the problem? Should we not *have* (require 'org-install) in order to have the latest org-mode be activated and loaded? Actually, I am having the same problem here after upgrading to 7.02. Hitting C-cc does run `org-capture' correctly, but the value of `org-capture-templates' (which was set using the customize interface, and has been saved to a separate emacs-custom.el file) does not have the set value. Using C-h v on `org-capture-templates', I get: ,---- | org-capture-templates is a variable defined in `org-capture.el'. | Its value is nil | | Documentation: | Templates for the creation of new entries. `---- Specifically, the value of this variable remains as `nil', and attempting to view the value via `customize-variable' returns a state of "CHANGED outside Customize". However, the actual value is empty. ,---- | Org Capture Templates: | INS | State: CHANGED outside Customize; operating on it here may be unreliable. | Templates for the creation of new entries. `---- I am running GNU Emacs 23.2.50 and org-version does confirm org-7.02. BTW, whats with the org-7.3 on http://orgmode.org? Regards, -- Anupam Sengupta