From mboxrd@z Thu Jan 1 00:00:00 1970 From: 'Mash Subject: Re: org-agenda-files defvar directory "evaluation" ? Date: Mon, 10 Jun 2013 15:00:33 +0100 Message-ID: <20130610150033.159378x40k6rltkw@webmail.tuffmail.net> References: <20130607161649.GA19899@grace.toshine.net> <20130610122945.17342ex1dq8imf8k@webmail.tuffmail.net> <874nd6ksf5.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um2eD-0004VM-8L for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 10:00:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um2eB-0001Ux-3X for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 10:00:37 -0400 Received: from mxout-08.mxes.net ([216.86.168.183]:33086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um2eA-0001Uq-Vl for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 10:00:35 -0400 Received: from wm1.irbs.net (wm1.irbs.net [216.86.168.168]) by smtp.mxes.net (Postfix) with ESMTP id 4AF62509B6 for ; Mon, 10 Jun 2013 10:00:34 -0400 (EDT) Received: from localhost (wm1.irbs.net [216.86.168.168]) by wm1.irbs.net (Postfix) with ESMTPA id 11D095004BD for ; Mon, 10 Jun 2013 10:00:34 -0400 (EDT) In-Reply-To: <874nd6ksf5.fsf@pierrot.dokosmarshall.org> Content-Disposition: inline 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 Thanks, I did use a comma to evaluate the variable but without the backtick =20 which I believed caused that "old style backticks" warning. Quoting Nick Dokos : > 'Mash writes: > >> Resolved this via stackoverflow. >> >> (setq org-agenda-files (list org-dir)) >> > > Equivalently > > (setq org-agenda-files `(,org-dir)) > > That's a backquote (on a US keyboard, it's the key to the left of the > 1 key in the top row), not a normal quote. See > > (info "(elisp) Backquote") > > The (list org-dir) form is quite readable here, but when things get > more complicated, the backquote form tends to be more readable than > manufacturing list structure by hand. > > >> http://stackoverflow.com/questions/17020119/org-mode-org-agenda-files-def= var-directory-evaluation/17021834 >> >> Quoting 'Mash : >> > >>> ... >>> But how would I do this with the variable? >>> >>> (setq org-agenda-files '(org-dir)) >>> (setq org-agenda-files '(,(org-dir)) >>> > > -- > Nick > > >