[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ask for help
From: |
Philip Kaludercic |
Subject: |
Re: ask for help |
Date: |
Tue, 19 Apr 2022 14:12:20 +0000 |
Xiang Ruan <ruanxiang@ruanxiang.net> writes:
n> Hi, Philip
>
> Thank you for the quick response.
>
> Actually, I follow the below blog
> https://pragmaticemacs.wordpress.com/2017/01/09/how-i-view-my-google-calendar-agenda-in-emacs/
> to view my google calendar agenda in Emacs.
>
> My cron updates google calendar's agenda to a local file every minute,
> and I use the above “open-gcal-agenda" command to show the agenda in a
> buffer(the buffer will open with name "gcal")
> What I want to do is, when the local file is updated by cron, I need
> Emacs automatically execute "open-gcal-agenda" to update the "gcal"
> agenda buffer.
I don't know what your `open-gcal-agenda' does, but maybe looking into
auto-revert-mode might be helpful.
--
Philip Kaludercic
Re: ask for help, Emanuel Berg, 2022/04/20