gnuplot-mode
gnuplot-mode copied to clipboard
An emacs major mode for editing gnuplot scripts.
E.g. #! /usr/bin/env gnuplot
The regex for variable names is based on the one in the line right above it, for variable definitions (and therefore, like it, suffers from #11), but is somewhat simplified,...
This mode’s Font Lock setup currently only highlights all-lowercase variable names, but gnuplot also permits uppercase letters in variable names, including at the beginning.
It would be nice if this mode supported syntax highlighting for gnuplot macros (`@variable`). (Does that belong in the syntax table or in the Font Lock defaults?) Thanks for writing...
What are the differences with https://github.com/bruceravel/gnuplot-mode?
indentation (and syntax highlighting) for "do for"-loops (new in gnuplot 4.6) is lacking. One would like something like: do for [ii=1:499] { splot 'file' u 1:2:($3/maxv) every :::ii:: }