when i run brew link gnu plot i get this:
Linking /usr/local/Cellar/gnuplot/4.6.5_1...
Error: Could not symlink share/emacs/site-lisp/gnuplot-gui.el
Target /usr/local/share/emacs/site-lisp/gnuplot-gui.el
already exists. You may want to remove it:
rm /usr/local/share/emacs/site-lisp/gnuplot-gui.el
To force the link and overwrite all conflicting files:
brew link --overwrite gnuplot
To list all files that would be deleted:
brew link --overwrite --dry-run gnuplot
That file is not actually part of gnuplot. It belongs to the emacs "gnuplot mode". Gnuplot used to provide it as a convenience, but we have recently stopped doing so because the project is now hosted and maintained elsewhere. If you are not using gnuplot from emacs, just delete that file and forget about it. If you are, then you probably should replace it with a more recent version.
Here is the README.emac from current gnuplot source:
Older versions of gnuplot included a lisp subdirectory containing
a copy of Bruce Ravel's gnuplot-mode plugin for emacs.
This is now maintained and distributed elsewhere.
From the (2013) source:
================================================================
The emacs gnuplot-mode is a major mode for composing gnuplot scripts and
displaying their results using gnuplot. It can be obtained from MELPA or
from a distribution such as Debian or Ubuntu. Otherwise, the source
lives at
https://github.com/bruceravel/gnuplot-mode
This mode offers several tools to help you compose your scripts,
including font-lock syntax colorization, a syntax table appropriate
to gnuplot, key bindings, pull-down menus, indentation, keyword
completions and variable customization using the Custom package.
Once the script is composed, there are several function for sending
some or all of the script to gnuplot. The interaction with the
gnuplot process is within a comint buffer. Plots can optionally be
displayed within Emacs.
Ticket moved from /p/gnuplot/bugs/1487/