README 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. This directory contains files for running Gnuplot from within emacs.
  2. This package was assembled by Bruce Ravel <ravel@phys.washington.edu>.
  3. See http://feff.phys.washington.edu/~ravel/gnuplot/ for the latest.
  4. Contents
  5. ========
  6. README this file
  7. INSTALL thorough installation instructions
  8. ChangeLog a log of changes by version number
  9. gnuplot.el gnuplot mode for emacs
  10. gnuplot-gui.el a GUI for setting command arguments interactively
  11. info-look.20.2.el programmer's interface to info files, old version
  12. info-look.20.3.el programmer's interface to info files, new version
  13. dot.el a short lisp file used by the Makefile
  14. gnuplot.info info version of gnuplot 3.6 help
  15. gpelcard.tex quick reference card for gnuplot mode (latex)
  16. gpelcard.ps
  17. dotemacs example .emacs lines for enabling gnuplot mode
  18. Makefile.in \
  19. Makefile.dst \
  20. aclocal.m4 \ files inherited from the gnuplot distribution
  21. configure } for making gnuplot-mode
  22. configure.in /
  23. install-sh /
  24. mkinstalldirs /
  25. Win9x/INSTALL.Win9x Extra installation instructions for Windows 95/98
  26. Win9x/pgnuplot.c Program required to run gnuplot from Emacs
  27. Soon gnuplot-mode will be included with the gnuplot 3.7 distribution.
  28. The installation instructions for the free-standing distribution have
  29. been modified to be consistent with that.
  30. Installation
  31. ============
  32. 1. Unpack the gnuplot.tar.gz and cd to the gnuplot directory.
  33. 2. Type "configure". If configure doesn't work for you, see note 7
  34. below.
  35. 3. Run "make". If you use XEmacs, run "make EMACS=xemacs" (or change
  36. the EMACS variable to "xemacs" in the Makefile, the run "make").
  37. 4. Move the lisp files to the system site_lisp directory if you are
  38. installing as root. If you are installing as a normal user move
  39. the .elc files to a place where emacs, i.e. your personal emacs
  40. directory.
  41. 5. Insert the contents of the `dotemacs' file into your .emacs file
  42. or into the system's emacs start-up file to enable gnuplot mode.
  43. 6. The function `gnuplot-info-lookup-symbol' looks at the Gnuplot
  44. info file that comes with this package or that can be made from
  45. the Gnuplot distribution. For that function to work, the file
  46. gnuplot.info must be placed somewhere where info can find it, for
  47. example /usr/info. A line like this in your .emacs allows you to
  48. put gnuplot.info any place convenient:
  49. (add-to-list 'Info-default-directory-list "/path/to/file")
  50. Wouldn't it be //great// if Emacs had some kind of systematized package
  51. installing facility? I think so, too! Oh well....
  52. NOTES
  53. =====
  54. 1. gnuplot-mode is designed for use with version 3.7 of gnuplot. It
  55. should work very well with any of the 3.6 beta versions. Only some
  56. of the specialized features will not work with version 3.5 -- the
  57. GUI interface to setting command arguments is an example.
  58. 2. To use gnuplot-mode with Emacs on Windows 95 or 98 see the
  59. instructions in the directory Win9x.
  60. 3. The installation materials used by gnuplot-mode come from the
  61. gnuplot distribution.
  62. 4. If "configure" doesn't work for you, the file "Makefile.dst" can be
  63. used. In that case do, "make -f Makefile.dst" and carry on from
  64. there.
  65. 5. If you do not have the custom library installed, you will get
  66. several harmless warnings when compiling gnuplot.el. Most of
  67. gnuplot-mode will work even without the custom library installed.
  68. 6. The file info-look.el provides the on-line help functionality.
  69. Without it, things like on-line help and keyword completion will
  70. not work. Using a tool that is a standard part of Emacs is a good
  71. idea, but this one gets complicated. This file became part of
  72. Emacs with version 20. It changed between 20.2 and 20.3. And it
  73. does not come with XEmacs. What's more, the version from 20.2 has
  74. a bug and the newer version does not work with Emacs 19. So, this
  75. distribution comes with two versions of info-look.el, the version
  76. from Emacs 20.2 patched to work correctly and the version from
  77. Emacs 20.3. Here's what happens when you run make:
  78. a. If you use Emacs 19 or XEmacs 19, then the Makefile will
  79. compile the 20.2 version.
  80. b. If you use Emacs 20.2 or lower, the Makefile will compile the
  81. 20.2 version.
  82. c. If you use XEmacs 20 or higher, the Makefile will compile the
  83. 20.3 version.
  84. d. If you use Emacs 20.3 or higher, the Makefile won't compile any
  85. version.
  86. 7. The gnuplot-mode distribution comes with the version of the gnuplot
  87. info file that gets made by gnuplot 3.7. Use it rather than the
  88. old one. If you really must use the older info file, see the
  89. document string for the variable `gnuplot-info-hook'. If you
  90. already have the info file installed on your computer, you will not
  91. need the one that comes with gnuplot-mode.
  92. 8. The interactive graphical graphical interface to setting command
  93. arguments contained in gnuplot-gui.el is experimental. It is
  94. incomplete and may make mistakes. Hopefully, you will find it
  95. useful. It *requires* that you are using a version of emacs with
  96. the widget library installed or that you have installed it
  97. yourself. Version numbers in the 20's of Emacs and XEmacs ship
  98. with the widget library. For version numbers in the 19's, it can
  99. be obtained at http://www.dina.kvl.dk/~abraham/custom/