Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to exit org-gtd-engage (agenda view) and remove all buffers loaded by it? #182

Open
gusgustavsohn opened this issue Jun 15, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gusgustavsohn
Copy link

gusgustavsohn commented Jun 15, 2023

When leaving the standard org-agenda view, the user can choose to just quit (org-agenda-quit) or to exit (org-agenda-exit). See, for instance, this doc page. The difference between the two is that the second will not only remove the agenda buffer but also all buffers loaded by Emacs for the compilation of the agenda.

I tried invoking org-agenda-exit and it fails to close the buffers loaded by the org-gtd-engage. What would be the way (if there's any) to close the org-gtd-engage view so that those buffers are automatically removed?

Thanks in advance for your help.

@gusgustavsohn gusgustavsohn changed the title How to exit org-gtd-engage (agenda view) and close all buffers opened by it? How to exit org-gtd-engage (agenda view) and remove all buffers opened by it? Jun 15, 2023
@gusgustavsohn gusgustavsohn changed the title How to exit org-gtd-engage (agenda view) and remove all buffers opened by it? How to exit org-gtd-engage (agenda view) and remove all buffers loaded by it? Jun 15, 2023
@Trevoke
Copy link
Owner

Trevoke commented Jul 1, 2023

Hi! org-agenda-exit is not supported at the moment, I think, because of the extra work we do to go around org-mode and org-agenda being particularly stateful. This means I have to open the buffers separately.

This is probably something we can try to fix, but it requires going deeper into org-mode's code, so the issue is likely to remain open for a while if we don't get help with it :)

@Trevoke Trevoke added enhancement New feature or request help wanted Extra attention is needed labels Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants