Skip to content

Dynamically add files to org_agenda_files #365

@gzagatti

Description

@gzagatti

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

No response

Feature value

I usually take project notes using org, and I will keep those notes in the project folder.

It would be useful to add or drop a particular folder from org_agenda_files whenever needed. That way we do not bloat the amount of notes parsed by the plugin and allow the user to focus on the notes she/he needs at the moment.

Additional context

My guess would be to create a lua function (maybe in my init.lua) that would:

  1. change org_agenda_files
  2. call Config:get_all_files
  3. call File:reload().

Is that the way to go? Would I be missing something important?

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-featureFeature is in orgmode core

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions