emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnuplot f0b1ea7 085/184: Update lists of font-lock keyword


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot f0b1ea7 085/184: Update lists of font-lock keywords.
Date: Sun, 29 Aug 2021 11:03:20 -0400 (EDT)

branch: elpa/gnuplot
commit f0b1ea75b96f28bdb58d00cb9b674937ab547b0e
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>

    Update lists of font-lock keywords.
    
    These can be generated using the completion engine by entering an
    appropriate partial command in a gnuplot scratch buffer and doing
    something like the following:
    
    (let ((strings (with-current-buffer "plot.gp" (gnuplot-completions))))
      (dolist (str strings)
        (add-to-list 'gnuplot-keywords-builtin-functions str t)))
    
    At some point in the future it might be good to script this process, I
    guess.
---
 gnuplot.el | 35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)

diff --git a/gnuplot.el b/gnuplot.el
index 413fc0d..0c70392 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -1699,13 +1699,24 @@ characters.")
 
 ;; Lists of gnuplot keywords for syntax coloring etc.
 (defvar gnuplot-keywords-builtin-functions
-  '("abs" "acosh" "acos" "arg" "asinh" "asin" "atan" "atanh" "atan2" "besj1" 
"besj0" "besy1" "besy0" "ceil" "column" "cosh" "cos" "erfc" "erf" "exp" "floor" 
"gamma" "ibeta" "igamma" "imag" "int" "inverf" "invnorm" "lgamma" "log" "log10" 
"norm" "rand" "real" "sgn" "sinh" "sin" "sqrt" "tanh" "tan" "tm_hour" "tm_mday" 
"tm_min" "tm_mon" "tm_sec" "tm_wday" "tm_yday" "tm_year" "valid")
+  '("abs" "acosh" "acos" "arg" "asinh" "asin" "atan" "atanh" "atan2" "besj1"
+    "besj0" "besy1" "besy0" "ceil" "column" "cosh" "cos" "erfc" "erf" "exp"
+    "floor" "gamma" "ibeta" "igamma" "imag" "int" "inverf" "invnorm" "lgamma"
+    "log" "log10" "norm" "rand" "real" "sgn" "sinh" "sin" "sqrt" "tanh" "tan"
+    "tm_hour" "tm_mday" "tm_min" "tm_mon" "tm_sec" "tm_wday" "tm_yday" 
"tm_year"
+    "valid" "EllipticPi" "EllipticE" "EllipticK" "words" "word" "value"
+    "timecolumn" "substr" "strstrt" "strptime" "strlen" "stringcolumn"
+    "strftime" "sprintf" "lambertw" "gprintf" "exists" "defined" "columnhead")
+
   "List of GNUPLOT built-in functions, as strings.
 
 These are highlighted using `font-lock-function-name-face'.")
 
 (defvar gnuplot-keywords-plotting
-  '("axes" "every" "index" "lw" "lt" "ls" "linestyle" "linetype" "linewidth" 
"notitle" "pt" "ps" "pointsize" "pointtype" "smooth" "thru" "title" "using" 
"with")
+  '("axes" "every" "index" "lw" "lt" "ls" "linestyle" "linetype" "linewidth"
+    "notitle" "pt" "ps" "pointsize" "pointtype" "smooth" "thru" "title" "using"
+    "with" "noautoscale" "volatile" "matrix" "nonuniform" "binary" "fillstyle"
+    "linecolor" "pointinterval" "nosurface" "nocontours" "nohidden3d")
   "List of GNUPLOT keywords associated with plotting, as strings.
 
 These are highlighted using `font-lock-type-face'.
@@ -1713,19 +1724,33 @@ This list does not include plotting styles -- for that, 
see
 `gnuplot-keywords-plotting-styles'")
 
 (defvar gnuplot-keywords-plotting-styles
-  '("boxerrorbars" "boxes" "boxxyerrorbars" "candlesticks" "dots" "errorbars" 
"financebars" "fsteps" "histeps" "impulses" "lines" "linespoints" "points" 
"steps" "vector" "xerrorbars" "xyerrorbars" "yerrorbars")
+  '("boxerrorbars" "boxes" "boxxyerrorbars" "candlesticks" "dots" "errorbars"
+    "financebars" "fsteps" "histeps" "impulses" "lines" "linespoints" "points"
+    "steps" "vector" "xerrorbars" "xyerrorbars" "yerrorbars" "vectors"
+    "filledcurves" "labels" "rgbalpha" "rgbimage" "image" "circles" "pm3d"
+    "histograms" "xyerrorlines" "xerrorlines" "errorlines" "yerrorlines")
+
   "List of GNUPLOT plotting styles, as strings.
 
 These are highlighted using `font-lock-function-name-face'.")
 
 (defvar gnuplot-keywords-misc
-  '("bind" "cd" "clear" "exit" "fit" "help" "history" "load" "pause" "print" 
"pwd" "quit" "replot" "save" "set" "show" "unset")
+  '("bind" "cd" "clear" "exit" "fit" "help" "history" "load" "pause" "print"
+    "pwd" "quit" "replot" "save" "set" "show" "unset" "if" "else" "do" "update"
+    "undefine" "test" "system" "raise" "lower" "eval" "shell" "reset" "reread"
+    "refresh" "call")
   "List of GNUPLOT miscellaneous commands, as strings.
 
 These are highlighted using `font-lock-constant-face'.")
 
 (defvar gnuplot-keywords-negatable-options
-  '("arrow" "autoscale" "border" "clabel" "clip" "contour" "dgrid3d" "grid" 
"hidden3d" "historysize" "key" "label" "linestyle" "logscale" "mouse" 
"multiplot" "mx2tics" "mxtics" "my2tics" "mytics" "mztics" "offsets" "polar" 
"surface" "timestamp" "title" "x2dtics" "x2mtics" "x2tics" "x2zeroaxis" 
"xdtics" "xmtics" "xtics" "xzeroaxis" "y2dtics" "y2mtics" "y2tics" "y2zeroaxis" 
"ydtics" "ymtics" "ytics" "yzeroaxis" "zdtics" "zmtics" "ztics" "zzeroaxis")
+  '("arrow" "autoscale" "border" "clabel" "clip" "contour" "dgrid3d" "grid"
+    "hidden3d" "historysize" "key" "label" "linestyle" "logscale" "mouse"
+    "multiplot" "mx2tics" "mxtics" "my2tics" "mytics" "mztics" "offsets" 
"polar"
+    "surface" "timestamp" "title" "x2dtics" "x2mtics" "x2tics" "x2zeroaxis"
+    "xdtics" "xmtics" "xtics" "xzeroaxis" "y2dtics" "y2mtics" "y2tics"
+    "y2zeroaxis" "ydtics" "ymtics" "ytics" "yzeroaxis" "zdtics" "zmtics" 
"ztics"
+    "zzeroaxis")
 
   "List of gnuplot options which can be negated using `gnuplot-negate-option'")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]