[GNU ELPA] Matlab-Mode version 7.3.3
ELPA update <[email protected]>
| Newsgroups | gmane.emacs.sources |
|---|---|
| Message-ID | <[email protected]> |
Version 7.3.3 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 and smart indentation.
• 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 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
2 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.
3 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
4 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.
2. Simplified the install of the matlab tree-sitter grammar shared
libraries. To enable *matlab-ts-mode* you install `matlab-mode' and
then `M-x matlab-ts-grammar-install'.
5 Release 7.2.1 Oct 30, 2025
════════════════════════════
1. In matlab-ts-mode, fix indent involving catch clause with a
comment.
6 Release 7.2.0 Oct 29, 2025
════════════════════════════
1. Updated matlab-ts-mode to use latest matlab tree-sitter v1.2.3
branch [abi/14] at [9a4e65d]. This fixes parse on a number of
MATLAB language constructs, which is visible behavior improvements,
so bumping revision to 7.2.0.
2. In matlab-ts-mode, don't offer to fix function/classdef names when
there are syntax errors because this can lead to changing the name
of other identifiers and not the function/classdef name.
[abi/14]
<https://github.com/acristoffers/tree-sitter-matlab/tree/abi/14>
[9a4e65d]
<https://github.com/acristoffers/tree-sitter-matlab/tree/9a4e65df4bb08e2b019ca2ef16b2d8f3d95ce978>
7 Release 7.1.2 Oct 16, 2025
════════════════════════════
1. matlab-is-matlab-file: This function identifies when the content of
a *.m file is MATLAB code, if it's not MATLAB code, Emacs defaults
to Objective-C. This fixes a case where a *.m contains MATLAB code
and the first line is a @function_handle.
8 Release 7.1.1 Oct 1, 2025
═══════════════════════════
1. matlab-ts-mode: fix semantic movement in strings. Now C-M-f, C-M-b,
C-M-SPC work when point is within strings.
9 Release 7.1.0 Sep 29, 2025
════════════════════════════
1. Improved matlab-ts-mode imenu. The imenu index now creates indices
for code sections defined by "%% heading comments". In addition,
the menu was updated to have structure:
• Class
• Function
• Section
Previously, imenu was a flat list without code sections index
entries.
10 Release 7.0.1 Sep 13, 2025
═════════════════════════════
1. emacsrunregion fix,
<https://github.com/mathworks/Emacs-MATLAB-Mode/pull/55>
11 Release 7.0.0 Sep 12, 2025
═════════════════════════════
1. New matlab-ts-mode.
matlab-ts-mode is a [tree-sitter], based MATLAB mode using
<https://github.com/acristoffers/tree-sitter-matlab>. This new
MATLAB mode is a replacement for the matlab-mode.
⁃ Improved font-lock (semantic coloring) performance, making
editing even more smooth.
• More accurate fontification, we now identify language elements
accurately and use more faces to color them.
• Fixes edge-case fontification issues when compared with
matlab-mode
Create issue for this:
┌────
│ x = [1 2; 3 4];
│ y = x'' % this is valid double transpose where matlab-mode gets it wrong
└────
Function identification, see
<https://github.com/mathworks/Emacs-MATLAB-Mode/issues/48>
• In comments, we now highlight `FIXME', `TODO', and `XXX'
markers.
• Fixed fontification of "%% section" to require that the be the
start of a comment and on their own line.
• Variable creation/assignment will be semantically colored.
• Now fontify all MATLAB/Simulink factory builtin provided
functions, class methods/properties, enums, etc. Note, if you
override a builtin function with a variable, the variable
creation/assignment will be colored as a variable, but the use
will continue to
… …
[tree-sitter] <https://tree-sitter.github.io/tree-sitter>