From: Eric L. <eri...@gm...> - 2021-10-23 14:55:04
|
Hi all, There is a "mini-hack" contest going on over on MATLAB Central which you can see here. https://www.mathworks.com/matlabcentral/contests/20th-anniversary-matlab-minihack.html The goal is to write a MATLAB script that is 280 chars or less that draws something neat. Attached find an Emacs script that works with the latest version of MATLAB mode on git to display the number of characters in your mode-line. Since the contest isn't counting all characters, but instead all non-comment, non-indent characters, this script attempts to do the same counting tricks so you can develop your verbosely commented, and correctly indented code in Emacs before pasting into the contest page. And while your there, vote for my pumpkin script. :) Enjoy Eric |