branch: externals/matlab-mode commit 4607260604a05be52c4cb80bad5c83479f94c80c Author: John Ciolfi <john.ciolfi...@gmail.com> Commit: John Ciolfi <john.ciolfi...@gmail.com>
NEWS.org: added entry for matlab-netshell --- NEWS.org | 37 ++++++++++++++++++++++++++----------- README.org | 6 +++--- doc/matlab-netshell-for-windows.org | 6 +++--- 3 files changed, 32 insertions(+), 17 deletions(-) diff --git a/NEWS.org b/NEWS.org index 83548e0698..38dac7b34a 100644 --- a/NEWS.org +++ b/NEWS.org @@ -9,14 +9,29 @@ :ORDERED: t :END: -1. Setup imenu for *.tlc files. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/7d0d26a0312cf3a7b0cb07ff982f1b5274f96424][7d0d26a]]. +1. Added [[file:doc/matlab-netshell-for-windows.org][doc/matlab-netshell-for-windows.org]]. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/b0222ac2c067292b43fba91a60b39a262c6149d3][b0222ac]]. -2. Fix imenu for ~*.m~ files and add [[file:doc/matlab-imenu.org][doc/matlab-imenu.org]] on using it. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/a54d2061bd31c9cba32fc5e0e0ecf34b900e26d1][a54d206]]. + #+begin_example + + +--------------- Emacs ----------------+ +------------ MATLAB ------------+ + | | | | + | (1) M-x matlab-netshell-server-start | | (2) connect to Emacs | + | |<=======>| >> addpath <matlab-mode>/toolbox | + | (3) Visit script *.m files and use | | >> emacsinit | + | "MATLAB -> Code Sections" menu | | >> | + | or the key bindings | | | + +--------------------------------------+ +----------------------------------+ + + #+end_example + +2. Setup imenu for *.tlc files. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/7d0d26a0312cf3a7b0cb07ff982f1b5274f96424][7d0d26a]]. + +3. Fix imenu for ~*.m~ files and add [[file:doc/matlab-imenu.org][doc/matlab-imenu.org]] on using it. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/a54d2061bd31c9cba32fc5e0e0ecf34b900e26d1][a54d206]]. Now typing ~M-g i~ (or ~M-x imenu~) when visiting a ~*.m~ file will let you quickly jump to function declarations. -3. Indent first non-help comment. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/a63e0fe398fa0e49ef0ca71eb1371a0b45ce62cd][a63e0fe]]. +4. Indent first non-help comment. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/a63e0fe398fa0e49ef0ca71eb1371a0b45ce62cd][a63e0fe]]. #+begin_src matlab function b = foo @@ -28,23 +43,23 @@ end #+end_src -4. [[https://github.com/mathworks/MATLAB-language-server][MATLAB Language Server]], matlabls, for code navigation, code completion, go to definition, +5. [[https://github.com/mathworks/MATLAB-language-server][MATLAB Language Server]], matlabls, for code navigation, code completion, go to definition, find references, and more. See [[file:doc/matlab-language-server-lsp-mode.org][doc/matlab-language-server-lsp-mode.org]]. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/e9ab4fb8b0fedc0e769f4c7e0d86bd26a08567f8][e9ab4fb]]. -5. Improved Emacs tramp remote *M-x matlab-shell*. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/64e1805d36a362111ac3518a4fd7428c60483079][64e1805]]. +6. Improved Emacs tramp remote *M-x matlab-shell*. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/64e1805d36a362111ac3518a4fd7428c60483079][64e1805]]. Prior to this commit, matlab-shell running through Emacs tramp partially. This commit enables remote matlab-shell and enables remote debugging, hyperlinks, etc. See [[https://github.com/mathworks/Emacs-MATLAB-Mode/blob/default/doc/remote-matlab-shell.org][remote-matlab-shell.org]] documentation. -6. Remove font-lock-constant-face from help comments. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/1d935b364dd90449a9dfa9a8743e275359096289][1d935b3]]. +7. Remove font-lock-constant-face from help comments. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/1d935b364dd90449a9dfa9a8743e275359096289][1d935b3]]. A general guideline for help comments is to capitalize functions such as PLOT as references and matlab-mode used to make these a font-lock-constant-face inside of comments. However, often capital items are not references and make comments look bad, so removed these. Likewise, there were other uses of font-lock-constant-face that look odd, so removed these. -7. Revamped MATLAB code sections script support issues. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/e75ebf5a88b02833d700bcf9ee4419c5888caf12][e75ebf5]]. +8. Revamped MATLAB code sections script support issues. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/e75ebf5a88b02833d700bcf9ee4419c5888caf12][e75ebf5]]. - MATLAB code sections is now a minor mode, *matlab-sections-minor-mode* which is automatically enabled when in a MATLAB script. A MATLAB script contains one or more MATLAB commands or @@ -81,16 +96,16 @@ - Added tests, [[https://github.com/mathworks/Emacs-MATLAB-Mode/issues/8][issue 8]]. -8. Enhanced *M-x matlab-shell* to search for MATLAB in standard installation locations if it is not +9. Enhanced *M-x matlab-shell* to search for MATLAB in standard installation locations if it is not on the path. If we are unable to find MATLAB, we now generate an error explaining how to setup your system to make matlab-shell work. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/9773232626919a6319e3ac36bc7e0cdd99c46585][9773232]]. -9. Improved fill-paragraph to work when point is before a comment. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/8686c85cf376f90549d3aaf8478ed381f22282aa][8686c85]]. +10. Improved fill-paragraph to work when point is before a comment. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/8686c85cf376f90549d3aaf8478ed381f22282aa][8686c85]]. -10. Add TAB completion in matlab-shell for MATLAB R2025a. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/e92fe818acd71c4bead7bdf837e791b5aa456d11][e92fe81]] and several followup +11. Add TAB completion in matlab-shell for MATLAB R2025a. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/e92fe818acd71c4bead7bdf837e791b5aa456d11][e92fe81]] and several followup commits. -11. Fixed Emacs 30 lisp compiler warnings. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/89b585e6d935fd36176791caa66d4dad0405407b][89b585e]]. +12. Fixed Emacs 30 lisp compiler warnings. Commit [[https://github.com/mathworks/Emacs-MATLAB-Mode/commit/89b585e6d935fd36176791caa66d4dad0405407b][89b585e]]. * Release 6.3 Dec 8, 2024 diff --git a/README.org b/README.org index 29515aeb72..abd4df2ea0 100644 --- a/README.org +++ b/README.org @@ -38,9 +38,9 @@ | (1) M-x matlab-netshell-server-start | | (2) connect to Emacs | | |<=======>| >> addpath <matlab-mode>/toolbox | | (3) Visit script *.m files and use | | >> emacsinit | - | "MATLAB -> Code Sections" menu | | >> | - | or the key bindings | | | - +--------------------------------------+ +----------------------------------+ + | "MATLAB -> Code Sections" menu | | >> | + | or the key bindings | | | + +--------------------------------------+ +----------------------------------+ #+end_example diff --git a/doc/matlab-netshell-for-windows.org b/doc/matlab-netshell-for-windows.org index bc2b209845..11fa846d23 100644 --- a/doc/matlab-netshell-for-windows.org +++ b/doc/matlab-netshell-for-windows.org @@ -18,9 +18,9 @@ MATLAB session using a local TCP connection: | (1) M-x matlab-netshell-server-start | | (2) connect to Emacs | | |<=======>| >> addpath <matlab-mode>/toolbox | | (3) Visit script *.m files and use | | >> emacsinit | - | "MATLAB -> Code Sections" menu | | >> | - | or the key bindings | | | - +--------------------------------------+ +----------------------------------+ + | "MATLAB -> Code Sections" menu | | >> | + | or the key bindings | | | + +--------------------------------------+ +----------------------------------+ #+end_example