emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-agenda-files defvar directory "evaluation" ?
Date: Mon, 10 Jun 2013 09:26:54 -0400	[thread overview]
Message-ID: <874nd6ksf5.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 20130610122945.17342ex1dq8imf8k@webmail.tuffmail.net

'Mash <mashdot@toshine.net> 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-defvar-directory-evaluation/17021834
>
> Quoting 'Mash <mashdot@toshine.net>:
>

>> ...
>> But how would I do this with the variable?
>>
>> (setq org-agenda-files '(org-dir))
>> (setq org-agenda-files '(,(org-dir))
>>

-- 
Nick

  reply	other threads:[~2013-06-10 13:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07 16:16 org-agenda-files defvar directory "evaluation" ? 'Mash
2013-06-10 11:29 ` 'Mash
2013-06-10 13:26   ` Nick Dokos [this message]
2013-06-10 14:00     ` 'Mash

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nd6ksf5.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).