From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: org-install must precede customization [7.02trans] Date: Sat, 13 Nov 2010 00:00:06 -0600 Message-ID: References: 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=33988 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PH99t-0003Vq-Qq for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 01:00:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PH99m-0001iS-9J for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 01:00:14 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:52053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PH99m-0001iK-6r for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 01:00:10 -0500 Received: by gwj16 with SMTP id 16so2240452gwj.0 for ; Fri, 12 Nov 2010 22:00:09 -0800 (PST) In-Reply-To: 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: Anupam Sengupta Cc: David Abrahams , emacs-orgmode@gnu.org, John Wiegley On Nov 12, 2010, at 11:55 PM, Anupam Sengupta wrote: >>>>>> David Abrahams writes: > >> Is it merely the autoload of org-capture-templates, or is this a >> general rule for everything in org-install? I think I'm perfectly >> happy to work with the dependency in place as long as it's >> documented. For most people it wouldn't be an issue since >> custom-* puts its custom-set-variables call at the end of the >> file. I think you need to be using something like initsplit to >> see the problem. > > The problem also comes up when a separate file is used for storing > the `custom-set-variables', i.e., something like: > > (setq custom-file "~/emacs-custom.el") > (load custom-file) > > Because of the autoload, these statements now need to be at the very > end of the init.el file. Not a big problem, but still something > that needs to be known (and was not required prior to 7.02). It is no longer required now. Removing the autoload cookie fixes the problem. But you need to re-create org-install.el by running make. - Carsten