Emacs changes buffer when autosaving other window using tramp

78 views Asked by At

I have two windows open in my Emacs session. Both are remote files opened using tramp. I make a change in window A and switch to window B without saving file in window A. When Emacs decides to autosave, the buffer displayed in window B is switched to the buffer from window A that was autosaved. This only happens when using tramp, not local files.

Another thing I have noticed is, that if I have the same file opened in two windows, because I need to reference something at another position in the file and save the file, the buffer I'm in sometimes jumps to the position that the point is in the other window, so I have to move around to get back to the place where I was editing.

Is this a bug or is there some setting that I have(n't) set? I suspect it is something related to refreshing the windows when saving.

i'm using Emacs 24.3 on OSX, but I have seen this using Linux too.

1

There are 1 answers

2
Drew On BEST ANSWER

Sounds very much like a bug, to me. Can you reproduce this starting from emacs -Q (i.e., with no init file)?

If so, use M-x report-emacs-bug to give Emacs Dev the recipe. If not, bisect your init file recursively until you locate the culprit code. Then ask for more help here, if it's not clear how to fix the problem.