[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gnuplot 7830b22 156/184: Add configuration instructions in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gnuplot 7830b22 156/184: Add configuration instructions in README.org. Remove dotemacs.el. |
Date: |
Sun, 29 Aug 2021 11:03:35 -0400 (EDT) |
branch: elpa/gnuplot
commit 7830b222111fb64cc88557c049d6b3ca613881b5
Author: Maxime Tréca <maxime.treca@gmail.com>
Commit: Maxime Tréca <maxime.treca@gmail.com>
Add configuration instructions in README.org. Remove dotemacs.el.
First commit in order to clean up the gnuplot repository.
This commit removes the pretty useless dotemacs.el file and instead
transfers its content to the README so that new users can quickly
install and configure the package.
---
INSTALL.org | 4 +---
Makefile.am | 2 +-
Makefile.in | 2 +-
README.org | 27 +++++++++++++++++++++++++++
dotemacs.el | 21 ---------------------
5 files changed, 30 insertions(+), 26 deletions(-)
diff --git a/INSTALL.org b/INSTALL.org
index 6a4f7df..7535ac4 100644
--- a/INSTALL.org
+++ b/INSTALL.org
@@ -55,9 +55,7 @@
~dvips gpelcard.dvi~, or ~pdflatex gpelcard.tex~.
* Post-installation setup
- 1. Insert the contents of the ~dotemacs.el~ file into your
- ~.emacs~ or into the system's emacs start-up file to enable
- gnuplot mode.
+ 1. Enable gnuplot mode from your emacs configuration (see README.org).
2. The function ~gnuplot-info-lookup-symbol~ looks at the Gnuplot
info file that comes with this package or that can be made from
diff --git a/Makefile.am b/Makefile.am
index b500d48..2c81a39 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = foreign
dist_lisp_LISP = gnuplot.el gnuplot-gui.el gnuplot-context.el
-EXTRA_DIST = dotemacs.el gpelcard.dvi gpelcard.pdf gpelcard.ps gpelcard.tex
+EXTRA_DIST = gpelcard.dvi gpelcard.pdf gpelcard.ps gpelcard.tex
CLEANFILES = gpelcard.pdf gpelcard.ps gpelcard.dvi gpelcard.log gpelcard.aux
DISTCLEANFILES =
diff --git a/Makefile.in b/Makefile.in
index 05860b3..5504140 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -260,7 +260,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign
dist_lisp_LISP = gnuplot.el gnuplot-gui.el gnuplot-context.el
-EXTRA_DIST = dotemacs.el gpelcard.dvi gpelcard.pdf gpelcard.ps gpelcard.tex
+EXTRA_DIST = gpelcard.dvi gpelcard.pdf gpelcard.ps gpelcard.tex
CLEANFILES = gpelcard.pdf gpelcard.ps gpelcard.dvi gpelcard.log gpelcard.aux
DISTCLEANFILES =
SUFFIXES = .el .elc .pdf .ps .tex
diff --git a/README.org b/README.org
index 1ade48b..afa249d 100644
--- a/README.org
+++ b/README.org
@@ -41,6 +41,33 @@
*** Installing from cloned repository or .tar.gz
See the file INSTALL.org for details.
+** Documentation
+*** Configuration Example
+
+First of all, make sure that =gnuplot.el= is in your load-path (this is
automatic if using a package helper like use-package). To do so manually, us
something like
+
+#+begin_src emacs-lisp
+(add-to-list 'load-path "/path/to/gnuplot")
+#+end_src
+
+A basic gnuplot configuration can be found below.
+
+#+begin_src emacs-lisp
+;; these lines enable the use of gnuplot mode
+(autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t)
+(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t)
+
+;; this line automatically causes all files with the .gp extension to be
loaded into gnuplot mode
+(setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) auto-mode-alist))
+
+;; This line binds the function-9 key so that it opens a buffer into gnuplot
mode
+(global-set-key [(f9)] 'gnuplot-make-buffer)
+#+end_src
+
+*** Reference Card
+
+ A reference card for gnuplot-mode can be compiled using the =gpelcard.tex=
file included in this package.
+
** New features for gnuplot-mode 0.7
Version 0.7 of gnuplot-mode is designed for use with gnuplot
version 4.4 and up. It will also mostly work fine with older
diff --git a/dotemacs.el b/dotemacs.el
deleted file mode 100644
index 310cf03..0000000
--- a/dotemacs.el
+++ /dev/null
@@ -1,21 +0,0 @@
-;;--------------------------------------------------------------------
-;; Lines enabling gnuplot-mode
-
-;; move the files gnuplot.el to someplace in your lisp load-path or
-;; use a line like
-;; (setq load-path (append (list "/path/to/gnuplot") load-path))
-
-;; these lines enable the use of gnuplot mode
-(autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t)
-(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t)
-
-;; this line automatically causes all files with the .gp extension to
-;; be loaded into gnuplot mode
-(setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) auto-mode-alist))
-
-;; This line binds the function-9 key so that it opens a buffer into
-;; gnuplot mode
-(global-set-key [(f9)] 'gnuplot-make-buffer)
-
-;; end of line for gnuplot-mode
-;;--------------------------------------------------------------------
- [nongnu] elpa/gnuplot 08fe8e0 117/184: Try to make tests runnable on older Emacs, (continued)
- [nongnu] elpa/gnuplot 08fe8e0 117/184: Try to make tests runnable on older Emacs, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 7f53432 132/184: Clarify `gnuplot-comint-complete` docstring, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 2442835 127/184: Use completion-at-point in comint buffers in recent Emacs, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot f3734b6 136/184: Add Jon as author, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 3f28986 134/184: Fix compiler warnings, comments and docstrings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 21f9046 135/184: Bind appropriate completion command in comint mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 3f569ef 137/184: Remove gnuplot-bug-report, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a406143 140/184: Merge pull request #41 from conao3/re-pr-28, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 55e3f75 142/184: Merge pull request #42 from conao3/add-toolbar-make-button-check, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 3fc4020 147/184: solve package-lint/byte-compile/check-doc warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 7830b22 156/184: Add configuration instructions in README.org. Remove dotemacs.el.,
ELPA Syncer <=
- [nongnu] elpa/gnuplot 402d487 152/184: Support indent with tab in gnuplot script, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 5fdef54 151/184: Merge pull request #47 from conao3/remove-weird-char, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 9894505 153/184: Ignore backward-sexp error when get completion, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 2c6137c 159/184: Merge pull request #53 from conao3/add-github-actions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 496c6e4 145/184: Change LICENSE; GPLv2 -> GPLv3, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 290c332 162/184: Revert "[WIP] Remove Xemacs support", ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot f73abe1 165/184: Merge pull request #57 from dkogan/fix-comint-process-echoes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot fc302fd 167/184: set fail-fast strategy as false, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot ac8ab77 173/184: Move changelog to a dedicated org file., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 1488629 174/184: Fix font-lock not loading., ELPA Syncer, 2021/08/29