* OrgMode Agenda empty if one of files is missing from the org-agenda-files
@ 2023-12-03 19:48 Ali M.
2023-12-04 15:09 ` Ihor Radchenko
0 siblings, 1 reply; 3+ messages in thread
From: Ali M. @ 2023-12-03 19:48 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 878 bytes --]
Hi ,
This is a repost, the first i sent this to the mailing list i
wasnt subscribed so it is pending review, but it's been almost a week, so i
sending this again after i subscribed
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
Removing the deleted folder from my org-agenda-files, fixes the issue
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
Thanks
Ali
[-- Attachment #2: Type: text/html, Size: 1136 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: OrgMode Agenda empty if one of files is missing from the org-agenda-files
2023-12-03 19:48 OrgMode Agenda empty if one of files is missing from the org-agenda-files Ali M.
@ 2023-12-04 15:09 ` Ihor Radchenko
2023-12-05 1:42 ` Ali M.
0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2023-12-04 15:09 UTC (permalink / raw)
To: Ali M.; +Cc: emacs-orgmode
"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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: OrgMode Agenda empty if one of files is missing from the org-agenda-files
2023-12-04 15:09 ` Ihor Radchenko
@ 2023-12-05 1:42 ` Ali M.
0 siblings, 0 replies; 3+ messages in thread
From: Ali M. @ 2023-12-05 1:42 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]
You are right
I tried again, and this time, i checked the echo/mini buffer area, and it
had the options you mentioned above
my bad
My agenda windows open on the side, not the bottom (not sure why), so i
guess this why i didnt notice the warning in the echo area before
also a bit unfortunate that a is for abort because i might have kept
pressing a when i first got a blank windows (also a being the first option
for agenda, and the thing you will most likely try as a new user)
Anyway, thanks
On Mon, Dec 4, 2023 at 10:06 AM Ihor Radchenko <yantar92@posteo.net> wrote:
> "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>
>
[-- Attachment #2: Type: text/html, Size: 2967 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-05 1:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-03 19:48 OrgMode Agenda empty if one of files is missing from the org-agenda-files Ali M.
2023-12-04 15:09 ` Ihor Radchenko
2023-12-05 1:42 ` Ali M.
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).