-
Notifications
You must be signed in to change notification settings - Fork 13
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
global-auto-revert-non-file-buffers
may cause unintended buffer reverting
#52
Comments
I guess this might be related to window points, but I haven't experienced this behavior myself. If you can provide a step-by-step recipe to reproduce the problem in a clean Emacs configuration, e.g. using https://github.com/alphapapa/with-emacs.sh, maybe I can fix it. (Without using Gnus, if you can.) |
Hmm, this is getting complicated as I cannot seem to reproduce this issue using with-emacs.sh, so it's likely that some other addons causing an incompatibility with activities. I'll try to go over my addons to test, which may take a while as there are quite a few to try. |
Ok, I'll leave the issue open until you figure out what's going on. Thanks. |
Looks like somewhat I got lucky to reproduce with a minimal recipe much faster than I expected :P So it seems with
In a few seconds, the cursor will jump back to the row where the cursor was when the buffer list was opened. Hope this helps with the debugging, and let me know if more info may help. TIA! |
Thanks for the recipe. Given that the docstring for So I'd generally suggest disabling that option (does the So I think there's probably nothing to do here, except perhaps to mention this issue in the documentation. |
global-auto-revert-non-file-buffers
may cause unintended buffer reverting
Makes sense. I use On the other hand, would be great if this incompatibility is documented as you suggested so that people won't get surprised like I did :) |
Activities version: 0.7
Emacs version: 29.2
In certain cases the cursor may jump to previous location when activities is active. This happens most frequently in cases when another window is opened in the same frame from a previous selection of the current window, e.g. in buffer list or Gnus summary page.
For example, I am in the buffer list window, and I select buffer A and A was opened in a new window in the same frame, and I move cursor to buffer B in the buffer list. After a few seconds, the cursor will jump back to the buffer A entry in the buffer list window (which I assume may be a side effect of activities auto save.) Similarly in Gnus summary, if I select a message which opens it in another window in the same frame, and I navigate to another message, if I wait a few seconds, it will jump back to the previous selected message.
Would be great if this doesn't happen.
The text was updated successfully, but these errors were encountered: