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

org-mode capture prevents saving when emacs looses focus #36

Open
heikkil opened this issue Dec 23, 2020 · 1 comment
Open

org-mode capture prevents saving when emacs looses focus #36

heikkil opened this issue Dec 23, 2020 · 1 comment

Comments

@heikkil
Copy link

heikkil commented Dec 23, 2020

I found this problem out at the worst possible way: writing a long text over a period of time and having emacs to crash when exiting the capture frame with C-c C-c. While writing, I kept changing focus between a PDF and the capture buffer. The file was never saved.

I've just tested it and the buffer the org capture is adding text to never gets saved unless I explicitly move focus to the main buffer.

The capture template I am using should not have anything special in it: ("n" "note" entry (file+olp+datetree "~/Dropbox/org/reference.org") "* %?\n :PROPERTIES:\n :CREATED: %U\n :END: \n%i")

Is there a way to get super-save respond to the org-mode capture buffer losing focus?

@bbatsov
Copy link
Owner

bbatsov commented Apr 18, 2022

Hmm, I'm really puzzled how what you describe could be possible and not trigger the focus-out hook. How do you switch focus between those buffers normally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants