From: Guangran K. Z. <gua...@ma...> - 2011-03-17 23:42:13
|
On 11-03-16 05:32 AM, rp...@gm... wrote: > Hello everyone, > > running matlab-shell 3.3.1 in emacs 23 (ubuntu 10.04), I get the > following annoying bug: > Suppose I have to windows open side by side ( source code& matlab-shell ). > In matlab-shell when I hit Tab to autocomplete for example a function > name, if this name is not unique, it will show all options in the > other (source code) window, which is fine. However, if I continue > typing until the function name or whatever I am autocompleting is > unique, and hit tab again, the window is closed and now I only have > one window open, running the matlab-shell. This is very annoying since > I have split my window again and switch to the source code buffer each > time I hit tab. > > This only happens if the windows are split horizontally (left-right). > > I had a look at the function matlab-shell-tab in matlab.el, but I > don't know enough lisp to see what is happening there. To me it seems > that the lines (delete-windows-on *Completions*) should only be > called, if the matlab-shell actually owns these buffers. If not, it > should just close the *Completions* buffer instead of deleting the > window > > Is this standard behavior or is there something wrong with my emacs? I can confirm this behavior with a (left-right) split, with Matlab Version 7.10.0.499, matlab-shell 3.3.1, Emacs 23.1 on Ubuntu 10.04. > > Thanks > > Hans > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss -- Sincerely yours, Guangran Kevin Zhu (PhD Candidate) Computational Electromagnetics Lab McGill University Montreal, Quebec Canada H3A 2A7 Tel: (514)398-1533 |