-
Notifications
You must be signed in to change notification settings - Fork 36
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
Bizarre conflict with auto-revert-mode #97
Comments
Actually, I think this is still happening :( |
I wonder if it has anything to do with syl20bnr/spacemacs#5413 ? |
I'll leave this issue closed unless I can come up with some productive way to provide directions to reproduce. |
This was a manifestation of the buggy behavior of cc @Malabarba I suggest modifying the code currently in |
I've been gradually driven crazy over the last several months with the symptoms of this problem, but it wasn't until you introduced the
aggressive-indent-sit-for-time
variable (thanks!) that I was finally able to track it down reproducibly. Now, it appears to me that the issue may have been fixed just a few hours ago in commit 2f54a58 (in which case this can be closed), but I had to deal with this problem for a long time and couldn't find any information about how to reproduce it, so I think it should be reported.Here is what you need to do from
emacs -Q
with a pre- 2f54a58aggressive-indent
:Now, the problem still exists without increasing
aggressive-indent-sit-for-time
, but it's virtually impossible to reproduce consistently with the default settings since the behavior only occurs when you press a key withinaggressive-indent-sit-for-time
.Here are a few of the funky things that start happening once all of the above setup is done:
OC
is inserted instead of the cursor moving. Withaggressive-indent-sit-for-time
increased to one second, you can mash the arrow keys to get a long string ofOAOBOAOCOD
inserted into your buffer, as long as the delay between successive keypresses is less than one second. I bet this is because theESC
keypress is being dropped as per the previous bullet point.My experience before figuring this out was that as long as
aggressive-indent-mode
was enabled, sometimes (perhaps once every few days, with no discernible pattern), my keypresses would start occasionally being silently dropped, or A-D would occasionally be inserted into my buffer when I pressed an arrow key, or the meta key would be pressed for me (turning e.g.previous-line
intoparedit-splice-sexp-killing-backward
-- very fun). I now think that the occurrences must have been roughly correlated with the performance ofaggressive-indent
(which would of course be very nondeterministic and difficult to predict). That is, whenaggressive-indent
was running slowly, it would have the same effect as increasingaggressive-indent-sit-for-time
.Hope this information helps.
The text was updated successfully, but these errors were encountered: