From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Warning (initialization): An error occurred while loading /Users//.emacs Date: Wed, 10 Oct 2012 08:58:47 +0200 Message-ID: <80a9vux17c.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Chris, Chris Henderson wrote: > I am getting this error when I add the following line to .emacs file: > > Warning (initialization): An error occurred while loading > `/Users//.emacs': > > Symbol's value as variable is void: org-directory It says it all: you're using an undefined variable (org-directory). > (setq org-default-notes-file (concat org-directory "~/org/note.org")) Adapt your code as this: --8<---------------cut here---------------start------------->8--- (setq org-directory "~/org/") (setq org-default-notes-file (concat org-directory "note.org")) --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban