orgmode icon indicating copy to clipboard operation
orgmode copied to clipboard

Refresh agenda each time an agenda file has changed

Open lyz-code opened this issue 1 year ago • 0 comments

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

No response

Feature value

I'm used to have an open window with the agenda and do changes on the other window. With the current refresh rate of the agenda I'm running into some UI issues:

  1. Saving an agenda file:
  • If I press enter on an agenda item it gets open in the other window
  • Then if I do changes on that file and save the result is not refreshed in the agenda until you press r.
  • If you for example mark another element of the agenda as done or as archived, the actions are going to be done on the wrong item
  1. Archiving an agenda item: If you have 3 items in the agenda that belong to the first file
  • If you archive the first element of the agenda it does not get refreshed until you press r
  • If you then act on the rest of the agenda elements you are going to again act on the wrong item.

Right now manually refreshing the agenda is kind of slow for me, so the need to do it after processing each element of the agenda is breaking my workflow.

Additional context

Maybe we could use something like inotify to monitor the changes in the files.

Could be related to https://github.com/nvim-orgmode/orgmode/issues/596

lyz-code avatar Jan 26 '24 20:01 lyz-code