From mboxrd@z Thu Jan 1 00:00:00 1970 From: "George Taylor" Subject: Cannot get capture to work on Emacs 24.3.1 - Org itself does work Date: Fri, 12 Jun 2015 22:54:30 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3VyG-00028q-He for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 16:54:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3VyD-0000cD-9Y for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 16:54:36 -0400 Received: from mout.gmx.net ([212.227.15.15]:60434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3VyC-0000bQ-UR for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 16:54:33 -0400 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I cannot get Capture to work=2E Summary: I have successfully installed and used emacs on my laptop, and am happily = using Org mode=2E I cannot get Capture to work=2E I have edited my =2Eemacs file, but I am g= etting an error when starting emacs, and C-c c does not work=2E Detail: I have installed=20 24=2E3=2E1 (i386-mingw-nt6=2E1=2E7601) of 2013-03-17 on MARVIN on my lapto= p running Windows XP (Japanese)=2E Org-mode works=2E I edited my =2Eemacs file per =2E=2E=2E/manual/Setting-up-capture=2Ehtml#S= etting-up-capture by adding (setq org-default-notes-file (concat org-directory "/notes=2Eorg")) (define-key global-map "\C-cc" 'org-capture) Now, when I start emacs normally, I get the warning: =2E=2E=2E: An error occurred while loading `c:/home/=2Eemacs': Symbol's value as variable is void: org-directory To ensure normal operation=2E=2E=2E I restarted emacs by running=20 runemacs=2Eexe --debug-init and got the foolowing Backtrace: Debugger entered--Lisp error: (void-variable org-directory) (concat org-directory "/notes=2Eorg") (setq org-default-notes-file (concat org-directory "/notes=2Eorg")) eval-buffer(# nil "c:/home/=2Eemacs" nil t) ; Reading a= t buffer position 1168 load-with-code-conversion("c:/home/=2Eemacs" "c:/home/=2Eemacs" t t) load("~/=2Eemacs" t t) #[0 "=08\205\262 (and a lot of other code conversions that don't seem to= copy and paste) I have referred to the org manual, and read the FAQ=2E I do not see this p= roblem addressed=2E I hope you can help me=2E Why is the variable org-directory void? Do I need to edit some file other than =2Eemacs? Is there something else I should do?