Ihor, if you're not already looking at this one I can investigate and put together a patch.
Cheers, Derek On Thu, Oct 8, 2026 at 1:22 PM Ihor Radchenko <[email protected]> wrote: > Robert <[email protected]> writes: > > > I am surprised by the interaction between org-agenda-files and > customization behaviour. > > > > - org-agenda-files can be directories, which are scanned for org > > files. This is set in my init.el config. > > - when another org file is added with org-agenda-file-to-front (C-c [) > > the directories in org-agenda-files are expanded to a list of files in > in the > > customisation/custom.el file. > > - when later an org file is added to the directory it is not clear why > > it is not picked up, since it is now missing from the expanded list. > > > > Expected behaviour: a new org file added to a directory specified in > > org-agenda-files should be picked up by the agenda without needing to > > use org-agenda-file-to-front. But org-agenda-file-to-front should > > still be available for files not in that directory. > > Confirmed. > This situation needs to be handled in `org-store-new-agenda-file-list', > but it is not. > > -- > Ihor Radchenko // yantar92, > Org mode maintainer, > 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> > > -- +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+
