From: John C. <Joh...@ma...> - 2016-10-10 20:42:41
|
Also before I forget, I put a comments into the matlab.el near matlab-shell-tab on what to test for tab completion. If you try some of them, they won't work with the current matlab.el: ;; Test cases (using R2016b): ;; ;; >> h=figure; ;; >> h.Num<TAB> Should show Number ;; >> h.Number<TAB> Should show Number and NumberTitle ;; >> h.Num<TAB> Should do same. The extra white space shouldn't mess things up. ;; ;; >> h.NumberTitle<TAB> Should display message "No completions" ;; >> set(h,'<TAB> Should display a long list ;; type P<TAB> Should narrow to Parent, Position, ... ;; ;; >> !touch file.ext Assuming no other fil* names in current directory. ;; >> !mv file.<TAB> Should complete to file.ext ;; >> !mv file.ext<TAB> Should do nothing ;; ;; >> !/usr/b<TAB> Should complete to /usr/bin ;; >> !/usr/bin/cpp-4.<TAB> Should complete to something like /usr/bin/cpp-4.9 ;; ;; >> ls /usr/include/byteswap.<TAB> Some file with a '.' should complete correctly ;; ;; >> !touch foo.ext1 foo.ext2 ;; >> ! mv foo.<TAB> Should give options foo.ext1 foo.ext2 ;; >> ! mv foo.ext1<TAB> Should say no completions ;; >> ! mv foo.ext1 <TAB> Should say no completions (note the space before the TAB) ;; ;; >> vdp ;; >> get_param('vdp','Pos<TAB> Should show several completions Thanks John ________________________________ From: John Ciolfi Sent: Monday, October 10, 2016 4:40:12 PM To: Uwe Brauer Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] Fixes for tab completion, debugging in with R2015b and later On github, my id is JohnC32 (I don't have one on source forge) and have only used the github id to comment a couple times, so I have a little learning to do. Thanks John ________________________________ From: Uwe Brauer <ou...@ma...> Sent: Monday, October 10, 2016 4:36:56 PM To: John Ciolfi Cc: Uwe Brauer; mat...@li... Subject: Re: [Matlab-emacs-discuss] Fixes for tab completion, debugging in with R2015b and later >>> "John" == John Ciolfi <Joh...@ma...> writes: > I'm somewhat familiar with git/github, so if I could get a branch to > push to then you could pull that would be best. I sporadically work on > emacs and while not the best at elisp, I'm good enough to produce > decent quality changes and I can get Eric to look at them ahead of > time. Good, I just realized, that although I have write access I don't have admin rights for the sourceforge repo, which is the primary one anyhow. I just asked Eric to add you, could you please provide us with our sourceforge uid? If you prefer github I have to contact a different person because again I have write but no admin access as I only discovered by now. > The tab completion fixes won't hurt any compatibility problems. > Neither will the debugging change. The change is simply to use the > standard MATLAB editor for R2015b and onward. I'm looking to see if we > can support native debugging in Emacs which requires MATLAB to give > file/line number info when it stops. Oh yes I agree, although I am not too impressed by the native Matlab editor. > The warnings fixes shouldn't have altered Xemacs, but I didn't test > Xemacs. I just asked because you explicitly said that you removed support for GNU emacs < 21. So I wanted to make sure whether you did that also for Xemacs, but I am glad to hear that you did not (not that there very many Xemacs left). |