From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jose A. Ortega Ruiz" Subject: Re: Problem with agenda file list Date: Sat, 26 Apr 2008 13:06:57 +0200 Message-ID: References: <87fxt9ux7n.fsf@cantor.griswold.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpiGd-0003Iz-6n for emacs-orgmode@gnu.org; Sat, 26 Apr 2008 07:08:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpiGa-0003Im-Iy for emacs-orgmode@gnu.org; Sat, 26 Apr 2008 07:08:29 -0400 Received: from [199.232.76.173] (port=56453 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpiGa-0003Ij-EY for emacs-orgmode@gnu.org; Sat, 26 Apr 2008 07:08:28 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JpiGZ-0000mL-V4 for emacs-orgmode@gnu.org; Sat, 26 Apr 2008 07:08:28 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JpiGU-0001tK-1r for emacs-orgmode@gnu.org; Sat, 26 Apr 2008 11:08:22 +0000 Received: from 84-75-99-141.dclient.hispeed.ch ([84.75.99.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 11:08:22 +0000 Received: from jao by 84-75-99-141.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 11:08:22 +0000 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: emacs-orgmode@gnu.org Dan Griswold writes: > Hello all, > > I've encountered a strange problem with the org-agenda-files > variable. > > When I start up org-mode (which I do from my .emacs) the following > unsavory events happen: > > 1. org-agenda-files is set to only the first file in the list; > 2. custom-set-variables is set to just org-agenda-files (blowing > away all other customizations); > 3. custom-set-variables and custom-set-faces are written to .emacs, > even if custom-file is set to a different file name (as in my > setup). > I've encountered problems 2) and 3). The latter can be fixed by loading custom-file before org, and i had to explicitly set the value of org-agenda-files in custom-set-variables to get the value i want. I put all my customizations in separate files and rarely use custom-set-{variables, faces}. It'd be nice if org offered the option of *not* writing any customization back (i was specially puzzled by its overwriting some of my faces, which i manage using color-theme) and be totally customizable using elisp outside the customize interface. That's already almost the case: all may other elisp settings for org work nicely. IMHO, custom-set-{variables, faces} should be modified only when *explicitly* requested by the user, either by using customize or manually editing custom-file. Cheers, jao -- "When you come to a fork in the road, take it" -Yogi Berra, baseball coach.