emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: 'Mash <mashdot@toshine.net>
To: emacs-orgmode@gnu.org
Subject: Re: org-agenda-files defvar directory "evaluation" ?
Date: Mon, 10 Jun 2013 15:00:33 +0100	[thread overview]
Message-ID: <20130610150033.159378x40k6rltkw@webmail.tuffmail.net> (raw)
In-Reply-To: <874nd6ksf5.fsf@pierrot.dokosmarshall.org>

Thanks,

I did use a comma to evaluate the variable but without the backtick  
which I believed caused that "old style backticks" warning.

Quoting Nick Dokos <ndokos@gmail.com>:

> '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 14:00 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
2013-06-10 14:00     ` 'Mash [this message]

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=20130610150033.159378x40k6rltkw@webmail.tuffmail.net \
    --to=mashdot@toshine.net \
    --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).