Re: [bug] C-u org-update-statitics-cookies errors out with "Non-existent agenda file" if current file isn't saved

2021-05-16 Thread Bastien
Nick Savage writes: > Thanks for the bug report, I can confirm this is happening. I read too hastily, I've now applied your patch against maint. Thanks! -- Bastien

Re: [bug] C-u org-update-statitics-cookies errors out with "Non-existent agenda file" if current file isn't saved

2021-05-16 Thread Bastien
Hi Nick, Nick Savage writes: > Thanks for the bug report, I can confirm this is happening. I'm now adding the X-Woof-Bug: confirmed header to track this. Thanks, -- Bastien

Re: [bug] C-u org-update-statitics-cookies errors out with "Non-existent agenda file" if current file isn't saved

2021-05-11 Thread Nick Savage
Thanks for the bug report, I can confirm this is happening. I encountered a similar bug where org-agenda-prepare-buffers was causing the same issue when the file hadn't been saved to disk, and I agree that the solution looks good. I've formatted this into a patch and attached it. Might be

[bug] C-u org-update-statitics-cookies errors out with "Non-existent agenda file" if current file isn't saved

2021-05-11 Thread mail
* Reproduction 1. emacs -Q 2. C-x C-f /tmp/new.org RET 3. Type anything 4. Type C-u C-c # (C-u org-update-statistics-cookies) to try to update all statistics cookies in the buffer 5. Notice the "Non-existent agenda file /tmp/new.org." error. This doesn't happen if the file already exists. I