mkmcc / gnuplot-mode Goto Github PK
View Code? Open in Web Editor NEWAn emacs major mode for editing gnuplot scripts.
License: GNU General Public License v3.0
An emacs major mode for editing gnuplot scripts.
License: GNU General Public License v3.0
C-c C-c hangs the editor on windows after printing 'Running gnuplot...'.
Emacs 26.2
Gnuplot 5.2.6
It's a fresh windows installation. My emacs init is minimal.
Do you have a clue of where the problem should be?
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:: }
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 this mode, by the way, it’s makes it much more pleasant to edit gnuplot code :)
Can you apply the following patch?
--- gnuplot-mode.el.orig 2017-10-04 14:10:03.632306100 +0900
+++ gnuplot-mode.el 2017-10-04 14:18:11.011043500 +0900
@@ -3,7 +3,7 @@
;; Copyright (C) 2010-2013 Mike McCourt
;;
;; Authors: Mike McCourt <[email protected]>
-;; URL: https://github.com/mkmcc/gnuplot
+;; URL: https://github.com/mkmcc/gnuplot-mode
;; Package-Version: 20170727.1339
;; Version: 1.2.0
;; Keywords: gnuplot, plotting
Could you please specify the license used by your Emacs packages?
Assuming that you want to release under "the GPL v3 or any later version", the best way to do that would be to add this to the library header:
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
You could also, or instead, add a LICENSE
file containing the text of the GPL-3. But if you only add that file, then the "or (at your option) any later version" bit won't be known. I recommend that you do both.
If this is too noisy for you, then you could also add one of these following lines to the header. (I do however recommend against doing only that - a judge might decide that this is not sufficient.)
;; License: GNU General Public License version 3, or (at your option) any later version
;; License: GNU General Public License version 3, or any later version
;; License: GNU GPL version 3, or (at your option) any later version
;; License: GPL version 3, or (at your option) any later version
;; License: GPL version 3, or any later version
;; License: GPL v3, or (at your option) any later version
;; License: GPL v3, or any later version
;; License: GPL-3+
These are your packages I am aware of that don't specify their license: gnuplot-mode
and jumblr
.
What are the differences with https://github.com/bruceravel/gnuplot-mode?
Indentation fails if using x- and yrange in the plot command
plot[-pi:pi][-1:1] sin(x),\
cos(x)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.