I use the MATLAB mode for Emacs as described here.
My problem is the following:
I have several frames open, one on the left, running the matlab-shell
, and one on the right showing my code.
When I am in the matlab-shell
and hit TAB for auto-completion, if there are several choices, Emacs will show those in my right frame. When I continue typing until the word is unique, and hit TAB again, the right frame is closed. This is very annoying as I have to reopen the frame and change the buffer almost every time I hit TAB for auto-completion.
Any hints on how to make this开发者_如何学Python work like standard auto-completion (like for file names when opening files) does, where the frame is used, and as soon as the completion succeeds the frame status returns to the same situation it was in before the completion?
That is almost certainly a serious bug with Matlab mode — which means, unfortunately, that the only fix will be to go into its Emacs Lisp code and reform it so that it handles transitory window creation and deletion properly, instead of trying to use the other open frame without knowing whether it really owns it or not.
Edit: Here is its bug tracker, by the way: http://sourceforge.net/tracker/?group_id=154105&atid=790446
精彩评论