[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OrgMode Agenda empty if one of files is missing from the org-agenda-

From: Ihor Radchenko
Subject: Re: OrgMode Agenda empty if one of files is missing from the org-agenda-files
Date: Mon, 04 Dec 2023 15:09:02 +0000

"Ali M." <tclwarrior@gmail.com> writes:

> If a file added on my agenda list is deleted, Org Mode Agenda list comes
> back empty
> For example, my org agenda has two files
>  '(org-agenda-files
>    '("c:/dev/projects/one/one.org"  "c:/dev/projects/two/two.org"  ))
> Now I deleted folder two , so the folder  c:/dev/projects/two/ and its
> content is also deleted
> Now when I try C-ca and select any of the option to list my scheduled todos
> I get an empty *Org Agenda* buffer

This is not what I am seeing on my side.
For me, agenda displays a message:

Non-existent agenda file /tmp/two/two.org.  [R]emove from list or [A]bort?

If I press "r", the agenda is displayed with the existing file.
If I press "a", agenda generation is aborted.

> I think the Agenda buffer should still show me the todo items from the
> available files, and maybe just warn me about the delete file, or at least
> show nothing, but warn me about the issue

I suspect that you accidentally pressed "a" extra time, which happened
to trigger "[A]bort".

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]