all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: org-agenda-files: using variables
Date: Tue, 17 Jan 2023 16:10:14 +0100	[thread overview]
Message-ID: <87ilh52o4p.fsf@debian-BULLSEYE-live-builder-AMD64> (raw)

Hi,

I have

  (setq lb/org-directory "~/org/"))
  (setq lb/gtd-file (expand-file-name "gtd.org" lb/org-directory))
  (setq lb/refile-file (expand-file-name "refile.org" lb/org-directory))
  (setq org-agenda-files '(lb/gtd-file lb/refile-file))

But generating the agenda fails with

  Wrong type argument: stringp, lb/gtd-file  

What is the correct syntax to use the variables in the list?

Cheers,

Loris

-- 
This signature is currently under constuction.


             reply	other threads:[~2023-01-17 15:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17 15:10 Loris Bennett [this message]
2023-01-17 16:08 ` org-agenda-files: using variables Nick Dokos
2023-01-18  6:55   ` Loris Bennett

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

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

  git send-email \
    --in-reply-to=87ilh52o4p.fsf@debian-BULLSEYE-live-builder-AMD64 \
    --to=loris.bennett@fu-berlin.de \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.