From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Minor gotcha with org-agenda-files Date: Sat, 22 Jan 2011 17:49:15 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=54591 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pggel-0002jL-EE for emacs-orgmode@gnu.org; Sat, 22 Jan 2011 11:49:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pggef-0002Io-KN for emacs-orgmode@gnu.org; Sat, 22 Jan 2011 11:49:43 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:56219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pggef-0002Ih-Fr for emacs-orgmode@gnu.org; Sat, 22 Jan 2011 11:49:37 -0500 Received: by fxm12 with SMTP id 12so2840295fxm.0 for ; Sat, 22 Jan 2011 08:49:36 -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: Tommy Kelly Cc: emacs-orgmode@gnu.org On Sat, Jan 22, 2011 at 5:31 PM, Tommy Kelly wrote: > I just figured out why, despite having a setq in my .emacs, my > org-agenda-files wasn't what I thought it should be. > > It's because if you modify that variable using C-c [ or C-c ], then any > explicit setq is rendered obsolete by the custom-set-variables > entry that gets added automatically. > This is nothing org specific. Its how customise works. This is the reason people are encouraged to _not_ mix customise with setq. I for example use customise for everything except org settings. -- Suvayu Open source is the future. It sets us free.