From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-agenda-files for calfw
Date: Fri, 28 Aug 2015 09:25:31 -0400 [thread overview]
Message-ID: <87twrj4kac.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 87zj1b21vo.fsf@free.fr
Julien Cubizolles <j.cubizolles@free.fr> writes:
> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> Nick Dokos <ndokos@gmail.com> writes:
>>
>>
>>> Bind org-agenda-files in a let before calling cfw:open-org-calendar:
>>>
>>> (let ((org-agenda-files '(...)))
>>> (cfw:open-org-calendar))
>>
>> That's exactly what I needed, thanks.
>
> I just noticed something very weird, as soon as the agenda is recreated
> (next month in a month view), the binding of org-agenda-files is lost,
> and reverts to the global value...
>
>
I admit I didn't read your original question very carefully, so I might
have overlooked something, but the behavior above is not weird: the let
binds org-agenda-files and then calls cfw:ooc - when that returns the
let binding is gone as well.
--
Nick
next prev parent reply other threads:[~2015-08-28 13:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 12:06 org-agenda-files for calfw Julien Cubizolles
2015-08-27 15:01 ` Eric S Fraga
2015-08-27 21:35 ` Julien Cubizolles
2015-08-27 22:52 ` Julien Cubizolles
2015-08-28 2:19 ` Nick Dokos
2015-08-28 9:31 ` Julien Cubizolles
2015-08-28 9:33 ` Julien Cubizolles
2015-08-28 13:25 ` Nick Dokos [this message]
2015-08-28 16:02 ` Julien Cubizolles
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=87twrj4kac.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 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.