Closed senny closed 11 years ago
/cc @jone @tonini
I can solve the problem by turning (global-auto-revert-mode)
on. Is anyone using it already? Does it have side-effects or behavior that is tedious?
@senny I have no experience with ´(global-auto-rever-mode)` on. I will turn it on and test it out.
As far as I understand the global-auto-revert-mode
resets the file periodically, including the undo history. So the undo history would be deleted automatically after a few seconds on every buffer. Or did I get something wrong? See here.
If it deletes the undo history after every x seconds I'd be not very happy about it.. I think we need to test it carefully.
I agree we need to test it. I did not loose the undo history until now. I think it only looses it, when it actually does revert the file. this is only the case when your buffer does no longer match the file on disk. please activate it and report back.
Am 08.01.2013 um 08:39 schrieb Jonas Baumann notifications@github.com:
As far as I understand the global-auto-revert-mode resets the file periodically, including the undo history. So the undo history would be deleted automatically after a few seconds on every buffer. Or did I get something wrong? See here.
If it deletes the undo history after every x seconds I'd be not very happy about it.. I think we need to test it carefully.
— Reply to this email directly or view it on GitHub.
@senny I've been running cabbage using (global-auto-revert-mode)
for a while now and didn't observe any interference. Feel free to enable it by default.
yay! will submit a PR shortly.
I've encountered this as well. I should not have to turn on auto-revert-mode; other major modes don't require it.
Seeing this as well, doesn't happen with other major modes.
@ut-adamc @nicholasbishop sorry guys but I'm not sure what's causing the issue. If you have any insight please let me know. Activating auto-revert-mode
fixed it for us.
I got a really strange bug. When I got a buffer open, which is in
markdown-mode
and that file changes on disk. Emacs gets stuck with the question "really edit this buffer?". When this happens I can type any key but the question just re-appears. I can't answer it withy
orn
. I can't use the mouse to focus another window. The only way out is to kill the process.