[GNU ELPA] Matlab-Mode version 8.0.5

ELPA update <[email protected]>
Newsgroups gmane.emacs.sources
Message-ID <[email protected]>
Version 8.0.5 of package Matlab-Mode has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Matlab-Mode describes itself as:

  ====================================
  Major mode for MATLAB(R) dot-m files
  ====================================

More at https://elpa.gnu.org/packages/matlab-mode.html

## Summary:

  1 Emacs MATLAB-mode
  ═══════════════════

    [MathWorks] MATLAB® and [GNU Emacs] integration:

    1. MATLAB mode, *matlab-ts-mode* or *matlab-mode*, for editing `*.m'
       files.

       • Edit MATLAB code with syntax highlighting, indentation (code
	 formatting), and semantic movement.
       • Lint MATLAB code with fix-it's using the MATLAB Code Analyzer.

       The *matlab-ts-mode* is a more capable, performant, and accurate
       than *matlab-mode*.

    2. *Code navigation and more*

       • The [MATLAB Language Server with Emacs], matlabls, provides code
	 navigation, code completion, go to definition, find references,
	 and more.

       • Imenu support for quickly jumping to function declarations in the
	 current `*.m' or `*.tlc' file.  See [doc/matlab-imenu.org].

## Recent NEWS:

1 Release 8.0.5 Feb-14-2026
═══════════════════════════

  This release fixes a build issue when using matlab-mode with Emacs
  that doesn't have tree-sitter. In addition, several lisp cleanups were
  performed (no behavior changes).


2 Release 8.0.4 Feb-7-2026
══════════════════════════

  This release fixes a minor issue when using matlab-ts-mode with point
  location when indenting (TAB) a multi-output variable line of the
  form:

  ┌────
  │ a([   1, 2], :) = ...
  │     [  3,   4,   5; ...
  │      300, 400, 500];
  └────

  If point is on the `1' and we indent the line (TAB), the point will
  remain on the `1' and the result will be:

  ┌────
  │ a([1, 2], :) = ...
  │     [  3,   4,   5; ...
  │      300, 400, 500];
  └────


3 Release 8.0.3 Feb-5-2026
══════════════════════════

  This release updates to the latest tree-sitter-matlab grammar which
  addresses a couple issues in matlab-ts-mode related to indent and
  font-lock.


4 Release 8.0.2 Jan-31-2026
═══════════════════════════

  This release:

  1. Improves robustness of matlab-ts-mode electric indent in Emacs 30.1
     build 1 v.s. build 2.

     Electric indent is now robust to varying behavior from tree-sitter
     matlab parse tree access.  Two different builds of Emacs 30.1 on
     Debian 12 are producing different results for the identical parse
     trees created using the same libtree-sitter-matlab.so. We see cases
     where treesit-node-next-sibling and treesit-node-parent return
     different results on same parse tree.

  2. Updates to tree-sitter-matlab grammar from 2026-01-31.


5 Release 8.0.1 Jan-30-2026
═══════════════════════════

  Minor /electric indent/ fix to correct comma placement in struct field
  alignment and also to fix non-positional name = value arguments and
  attributes.


6 Release 8.0.0 Jan-29-2026
═══════════════════════════

  This release updates matlab-ts-mode indent to /electric indent
  code/. This is sometimes called pretty printing code or formatting
  code.

  To indent a MATLAB `*.m' file,

  ┌────
  │ C-x h           or  M-: (mark-whole-buffer)
  │ C-M-\           or  M-x indent-region
  └────


  See [doc/matlab-code-indent.org - MATLAB Indent (Code Format)]


[doc/matlab-code-indent.org - MATLAB Indent (Code Format)]
<file:doc/matlab-code-indent.org>


7 Release 7.4.2 Dec 29, 2025
════════════════════════════

  Fix bug in tramp (remote) matlab-shell when matlab is installed in a
  custom location.


8 Release 7.4.1 Nov 26, 2025
════════════════════════════

  1. Fix indent bug. In following typing RET after the argument end
     statement, the indent now goes to the 4th column and not the 8th
     column:

     ┌────
     │ function test(A)
     │     arguments
     │         A
     │     end
     │ end
     └────


9 Release 7.4.0 Nov 26, 2025
════════════════════════════

  1. Place the `matlab-*-face' definitions in customize matlab-ts-faces
     group.

  2. Add `M-x matlab-ts-describe-faces' along with menu item

     ┌────
     │ MATLAB -> Describe faces
     └────


     that will bring up a help buffer containing the faces used by
     matlab-ts-mode.  From there you can customize them. This differs
     from viewing the matlab-ts-faces group in that it contains both
     matlab-*-faces plus other built-in faces such as
     font-lock-type-face. This help buffer also contain more information
     on when the faces are used.


10 Release 7.3.4 Nov 25, 2025
═════════════════════════════

  1. Add the source and build instructions for the
     libtree-sitter-matlab.SLIB_EXT binaries found in [./matlab-ts-bin]
     and used by `M-x matlab-ts-grammar-install'.


[./matlab-ts-bin] <file:matlab-ts-bin>


11 Release 7.3.3 Nov 23, 2025
═════════════════════════════

  1. Update to latest
     <https://github.com/acristoffers/tree-sitter-matlab> which improves
     matlab-ts-mode: matlab-ts-abi14-20251122-90ce9da


12 Release 7.3.2 Nov 21, 2025
═════════════════════════════

  1. Update to latest
     <https://github.com/acristoffers/tree-sitter-matlab> which improves
     matlab-ts-mode.  The changes fix parsing errors up through issues
     141 in matlab tree-sitter.


13 Release 7.3.1 Nov 14, 2025
═════════════════════════════

  1. Fixed M-q (fill-paragraph) in comments when there no space after
     the '%' character.

  2. Improved t-utils-view-parse-tree

  3. Made matlab-ts-mode show-paren-mode robust to extra `\n' nodes


14 Release 7.3.0 Nov 12, 2025
═════════════════════════════

  1. Updated matlab-ts-mode to work with tree-sitter-matlab commit
     9d16fcf. This fixes many known issues in matlab-ts-mode.
  …  …
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.