From: Eric L. <Eri...@ma...> - 2009-09-23 15:59:39
|
Hi, I checked in a small change that fixes the above described problem in the matlab-shell buffer. If this problem was somewhere else, let me know. MATLAB Shell spends a lot of time scanning output for anchors, errors, debug output, and all sorts of other things. You could hack comint-output-filter-functions in your matlab-shell-mode-hook to exclude things you don't use to speed it up. Eric -----Original Message----- From: Eric Carlson [mailto:mat...@ca...] Sent: Tuesday, September 22, 2009 5:59 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Structure field completion problem I've recently gotten sick of running matlab as a stand-alone app and have been trying matlab-mode through emacs (actually, aquamacs on mac) and have found it to be a great alternative. Nearly everything works really well, but I'm having a couple of issues that I haven't been able to resolve... 1) the main annoyance for me is that I tend to use fairly nested structures a lot, and am addicted to the completion of field names... unfortunately, in matlab-mode while it does complete the field name successfully it erases everything before the field you wanted completed. For example, if you have a struct 'str' with fields "one" "two" and "three", and each of those have fields "one" "two" "three", if you type "str.two.o" and press tab, what you've typed is replaced with "one", when you should have "str.two.one". Is this a known bug? Is there somewhere else I should report it? 2) When running programs with a lot of output, the buffer is slow to display the output and soon freezes until the program is done. This isn't a huge deal for me, and I'm guessing it's just a side-effect of running matlab behind-the-scenes and piping input/output between emacs and matlab, but if there's a way to speed things up to be closer to how it is in matlab I'd love to hear how. |