From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-capture + autoload Date: Wed, 18 Aug 2010 15:33:44 -0400 Message-ID: <871v9v67hj.fsf@gollum.intra.norang.ca> References: <817hjo5g42.fsf@gmail.com> <8762z7di84.fsf@norang.ca> <81d3tfg7je.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=38618 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OloOZ-000842-7D for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 15:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OloOU-0007W8-6F for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 15:33:55 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:54219) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OloOU-0007W1-42 for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 15:33:50 -0400 In-Reply-To: <81d3tfg7je.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 18 Aug 2010 22:52:29 +0530") 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: Jambunathan K Cc: emacs-orgmode@gnu.org Jambunathan K writes: > >> It would be convenient if I could do a > >> > >> M-x customize-group org-capture and/or M-x customize-variable > >> org-capture-templates > >> > >> without having triggered a prior org-capture. > >> > >> For now, I trigger a capture, abort it and then proceed ahead > >> with customizing these. > > > Add > > (require 'org-capture) > > to your .emacs > > I was wondering whether the symbol could be 'autoloaded' just as the > org-capture defun is autoloaded. The org-capture file is autoloaded now the first time you use it ... and you want the definitions before you use it so you need to load it explicitly first -- which is what the above require does I think. I'm not aware of anything like that for symbols but I'm not an emacs lisp expert by any means. -Bernt