debian/0000755000000000000000000000000011702644641007173 5ustar debian/install0000644000000000000000000000024111702644641010561 0ustar gnuplot.el usr/share/emacs/site-lisp/gnuplot-mode gnuplot-gui.el usr/share/emacs/site-lisp/gnuplot-mode info-look.20.3.el usr/share/emacs/site-lisp/gnuplot-mode debian/rules0000755000000000000000000000015111702644641010250 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build override_dh_auto_configure override_dh_installinfo: debian/control0000644000000000000000000000206311702644641010577 0ustar Source: gnuplot-mode Section: math Priority: optional Maintainer: Vincent Fourmond Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/users/fourmond/packages/gnuplot-mode.git Vcs-Browser: http://git.debian.org/?p=users/fourmond/packages/gnuplot-mode.git Homepage: http://xafs.org/BruceRavel/GnuplotMode Package: gnuplot-mode Architecture: all Depends: emacs23 | emacs22 | xemacs21 | emacsen, gnuplot-nox | gnuplot-x11, ${misc:Depends} Suggests: gnuplot-doc Description: Yet another Gnuplot mode for Emacs Gnuplot is a major mode for Emacs flavours with the following features: - Functions for plotting lines, regions, entire scripts, or entire files - Graphical interface to setting command arguments - Syntax colorization - Completion of common words in Gnuplot - Code indentation - On-line help using Info for Gnuplot functions and features - Interaction with Gnuplot using comint - Pull-down menus plus a toolbar in XEmacs - Distributed with a quick reference sheet in postscript. debian/patches/0000755000000000000000000000000011702644641010622 5ustar debian/patches/500_gnuplot.el_make-variable-buffer-local.diff0000644000000000000000000000200011702644641021236 0ustar Fixing a make-variable-buffer-local into a function font-lock-defaults is already buffer-local when set in any fashion. diff -urNad gnuplot-mode-0.6.0~/gnuplot.el gnuplot-mode-0.6.0/gnuplot.el --- gnuplot-mode-0.6.0~/gnuplot.el 2002-12-13 22:40:51.000000000 +0100 +++ gnuplot-mode-0.6.0/gnuplot.el 2007-11-16 16:25:41.000000000 +0100 @@ -1837,7 +1837,6 @@ ;;(if (not (fboundp 'hilit-set-mode-patterns)) (if (featurep 'font-lock) (progn - (make-variable-buffer-local 'font-lock-defaults) (setq font-lock-defaults '(gnuplot-font-lock-keywords t t)) (if gnuplot-xemacs-p (turn-on-font-lock)))) ;;(if (featurep 'kw-compl) @@ -2515,7 +2514,6 @@ (if gnuplot-xemacs-p ; deal with font-lock (if (fboundp 'turn-on-font-lock) (turn-on-font-lock)) (progn - (make-variable-buffer-local 'font-lock-defaults) (setq font-lock-defaults '(gnuplot-font-lock-keywords t t)))) ;; (if (and gnuplot-xemacs-p gnuplot-toolbar-display-flag) ;; (condition-case () ; deal with the toolbar debian/patches/901_gnuplot.el.info-look.diff0000644000000000000000000000416411702644641016035 0ustar Fix the links to gnuplot info nodes. Patch courtesy of Kevin Ryde Index: gnuplot-mode/gnuplot.el =================================================================== --- gnuplot-mode.orig/gnuplot.el 2011-02-13 00:29:05.298324517 +0100 +++ gnuplot-mode/gnuplot.el 2011-02-13 00:30:21.897990896 +0100 @@ -2172,14 +2172,15 @@ '((gnuplot-mode "[a-zA-Z][_a-zA-Z0-9]*" nil (("(gnuplot)Top" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Commands" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Functions" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Command_Index" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Function_Index" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Options_Index" nil "[_a-zA-Z0-9]+") ("(gnuplot)plot" nil "[_a-zA-Z0-9]+") ("(gnuplot)set-show" nil "[_a-zA-Z0-9]+") ("(gnuplot)data-file" nil "[_a-zA-Z0-9]+") ("(gnuplot)smooth" nil "[_a-zA-Z0-9]+") ("(gnuplot)style" nil "[_a-zA-Z0-9]+") - ("(gnuplot)terminal" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+") ;;("(gnuplot)General Index" nil "[_a-zA-Z0-9]+") ) "[_a-zA-Z0-9]+" ))) )) (t ; newer version @@ -2187,14 +2188,15 @@ :mode 'gnuplot-mode :topic 'symbol :regexp "[a-zA-Z][_a-zA-Z0-9]*" :doc-spec '(("(gnuplot)Top" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Commands" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Functions" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Command_Index" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Function_Index" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Options_Index" nil "[_a-zA-Z0-9]+") ("(gnuplot)plot" nil "[_a-zA-Z0-9]+") ("(gnuplot)set-show" nil "[_a-zA-Z0-9]+") ("(gnuplot)data-file" nil "[_a-zA-Z0-9]+") ("(gnuplot)smooth" nil "[_a-zA-Z0-9]+") ("(gnuplot)style" nil "[_a-zA-Z0-9]+") - ("(gnuplot)terminal" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+") ) ))) ;; this hook is my best way of working with info-look and ;; allowing multiple versions of the gnuplot-info file. debian/patches/series0000644000000000000000000000033611702644641012041 0ustar 450_gnuplot.el_make-local-hook.diff 500_gnuplot.el_make-variable-buffer-local.diff 850_gnuplot.el_fix-obsolete-backquotes.diff 900_gnuplot.el_fix_indentation.diff 901_gnuplot.el.info-look.diff 902_automatic_info_look.diff debian/patches/900_gnuplot.el_fix_indentation.diff0000644000000000000000000000230711702644641017377 0ustar Fix the indentation of gnuplot-mode diff -urNad gnuplot-mode~/gnuplot.el gnuplot-mode/gnuplot.el --- gnuplot-mode~/gnuplot.el 2010-02-01 22:31:00.096603264 +0100 +++ gnuplot-mode/gnuplot.el 2010-02-01 22:31:41.928609093 +0100 @@ -2051,23 +2051,21 @@ (save-excursion (save-excursion (end-of-line 0) - (if (bobp) () - (re-search-backward "^[ \t]*." (point-min) "to_limit") - (back-to-indentation) - (setq indent (current-column)) - (if (looking-at "s?pl\\(o?\\|\\(ot\\)?\\)[ \t]+.?") - (let ((plus (1- (length (match-string 0))))) - (end-of-line) - (backward-char 1) - (if (looking-at (regexp-quote "\\")) - (setq indent (+ plus indent))))))) + (if (bobp) + (set indent 0) + (beginning-of-line) + (if (looking-at "\\([^ \t\n]*[ \t]+\\).*\\\\$") + (setq indent (length (match-string 1))) + (setq indent 0)) + ) + ) + (beginning-of-line) (if (= (current-indentation) indent) () - (beginning-of-line) (delete-horizontal-space) - (insert (make-string indent ? )))) - (if (looking-at "[ \t]+$") - (end-of-line)))) + (insert (make-string indent ? ))) + ) + )) ;; FWIW, here are all the options which can be negated: ;; (insert (format "%s" debian/patches/850_gnuplot.el_fix-obsolete-backquotes.diff0000644000000000000000000000333211702644641020757 0ustar DP: No longer use obsolete old-style backquotes Fixes this warning: In toplevel form: gnuplot.el:331:1:Warning: !! The file uses old-style backquotes !! This functionality has been obsolete for more than 10 years already and will be removed soon. See (elisp)Backquote in the manual. From the emacs-lisp manual: In old Emacs versions, before version 19.29, ``' used a different syntax which required an extra level of parentheses around the entire backquote construct. Likewise, each `,' or `,@' substitution required an extra level of parentheses surrounding both the `,' or `,@' and the following expression. The old syntax required whitespace between the ``', `,' or `,@' and the following expression. diff -urNad gnuplot-mode-0.6.0~/gnuplot.el gnuplot-mode-0.6.0/gnuplot.el --- gnuplot-mode-0.6.0~/gnuplot.el 2007-11-19 14:18:21.000000000 +0100 +++ gnuplot-mode-0.6.0/gnuplot.el 2007-11-19 14:19:42.000000000 +0100 @@ -342,16 +342,16 @@ (if (fboundp 'defface) nil (defmacro defface (var values doc &rest args) - (` (progn - (defvar (, var) (quote (, var))) - ;; To make colors for your faces you need to set your .Xdefaults - ;; or set them up ahead of time in your .emacs file. - (make-face (, var)) - )))) + `(progn + (defvar ,var (quote ,var)) + ;; To make colors for your faces you need to set your .Xdefaults + ;; or set them up ahead of time in your .emacs file. + (make-face , var) + ))) (if (fboundp 'defcustom) nil (defmacro defcustom (var value doc &rest args) - (` (defvar (, var) (, value) (, doc))))))) + `(defvar ,var ,value ,doc))))) ;; (eval-and-compile ;; (condition-case () debian/patches/902_automatic_info_look.diff0000644000000000000000000000433411702644641016077 0ustar Index: gnuplot-mode/gnuplot.el =================================================================== --- gnuplot-mode.orig/gnuplot.el 2011-02-13 01:21:07.410324240 +0100 +++ gnuplot-mode/gnuplot.el 2011-02-13 01:22:41.386983103 +0100 @@ -2183,21 +2183,8 @@ ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+") ;;("(gnuplot)General Index" nil "[_a-zA-Z0-9]+") ) "[_a-zA-Z0-9]+" ))) )) - (t ; newer version - (info-lookup-maybe-add-help - :mode 'gnuplot-mode :topic 'symbol - :regexp "[a-zA-Z][_a-zA-Z0-9]*" - :doc-spec '(("(gnuplot)Top" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Command_Index" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Function_Index" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Options_Index" nil "[_a-zA-Z0-9]+") - ("(gnuplot)plot" nil "[_a-zA-Z0-9]+") - ("(gnuplot)set-show" nil "[_a-zA-Z0-9]+") - ("(gnuplot)data-file" nil "[_a-zA-Z0-9]+") - ("(gnuplot)smooth" nil "[_a-zA-Z0-9]+") - ("(gnuplot)style" nil "[_a-zA-Z0-9]+") - ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+") - ) ))) + (t ; newer version +)) ;; this hook is my best way of working with info-look and ;; allowing multiple versions of the gnuplot-info file. ;; yes, this is a hassle. @@ -2490,6 +2477,21 @@ (use-local-map gnuplot-mode-map) (setq major-mode 'gnuplot-mode mode-name "Gnuplot") + (eval-after-load "info-look" + '(info-lookup-maybe-add-help + :mode 'gnuplot-mode :topic 'symbol + :regexp "[a-zA-Z][_a-zA-Z0-9]*" + :doc-spec '(("(gnuplot)Top" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Command_Index" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Function_Index" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Options_Index" nil "[_a-zA-Z0-9]+") + ("(gnuplot)plot" nil "[_a-zA-Z0-9]+") + ("(gnuplot)set-show" nil "[_a-zA-Z0-9]+") + ("(gnuplot)data-file" nil "[_a-zA-Z0-9]+") + ("(gnuplot)smooth" nil "[_a-zA-Z0-9]+") + ("(gnuplot)style" nil "[_a-zA-Z0-9]+") + ("(gnuplot)Terminal_Index" nil "[_a-zA-Z0-9]+") + ) )) (set (make-local-variable 'comment-start) "# ") (set (make-local-variable 'comment-end) "") (set (make-local-variable 'comment-column) 32) debian/patches/450_gnuplot.el_make-local-hook.diff0000644000000000000000000000244311702644641017161 0ustar 'local does not automatically make hook buffer-local in XEmacs. For XEmacs we need to explicitly make a hook buffer local by means of (make-local-hook). For FSF Emacs passing non-nil as local option will automatically do this. For FSF Emacs 24 (make-local-hook) is no longer provided as of 2010-10-03 (bzr r101741). Use it conditionally for XEmacs and explicitly put 'local instead of t for clarity. diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gnuplot-mode~/gnuplot.el gnuplot-mode/gnuplot.el --- gnuplot-mode~/gnuplot.el 2010-10-14 15:44:53.000000000 +0200 +++ gnuplot-mode/gnuplot.el 2010-10-14 15:45:56.000000000 +0200 @@ -1863,8 +1863,10 @@ (process-kill-without-query gnuplot-process nil) (save-excursion (set-buffer gnuplot-buffer) - (make-local-hook 'kill-buffer-hook) - (add-hook 'kill-buffer-hook 'gnuplot-close-down nil t) + ;; 'local does not automatically make hook buffer-local in XEmacs. + (if (featurep 'xemacs) + (make-local-hook 'kill-buffer-hook)) + (add-hook 'kill-buffer-hook 'gnuplot-close-down nil 'local) (gnuplot-comint-start-function) (make-local-variable 'comint-output-filter-functions) (setq comint-output-filter-functions debian/copyright0000644000000000000000000000221011702644641011121 0ustar This package was debianized by Ryuichi Arafune on Tue, 28 Mar 2000 13:23:58 +0900. It was downloaded from http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html Upstream Author: Bruce Ravel Copyright: 1998-2002 Bruce Ravel This program 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 2 of the License, or (at your option) any later version. This program 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. In Debian system, You can find the full text of the GNU General Public licences version 2 and 3 in /usr/share/common-licenses/GPL-2 and /usr/share/common-licenses/GPL-3 debian/docs0000644000000000000000000000004211702644641010042 0ustar README gpelcard.tex gpelcard.pdf debian/changelog0000644000000000000000000001467511702644641011062 0ustar gnuplot-mode (1:0.6.0-8) unstable; urgency=low * Do not mess up emacs's auto-mode-alist when the packaged is uninstalled (but not purged), thanks to Kevin Ryde for noticing and to Agustin Martin to provide the patch (closes: #653253) * Add .gnuplot to auto-mode-alist * Bump to standards 3.9.2 -- Vincent Fourmond Mon, 09 Jan 2012 21:05:59 +0100 gnuplot-mode (1:0.6.0-7) unstable; urgency=low * Update to newer location of the homepage * Switching to 3.0 (quilt) - dropping build-dep on dpatch - and debian/README.source, now useless * Switching to dh 7 * Fix links to gnuplot info, thanks to Kevin Ryde (closes: 602557) -> 901_gnuplot.el.info-look.diff * Try to apply the suggestion of Kevin Ryde to get rid of the need for gnuplot-setup-info-look (closes: 602561) -> 902_automatic_info_look.diff (and it seems I even got it right !) -- Vincent Fourmond Sun, 13 Feb 2011 01:24:14 +0100 gnuplot-mode (1:0.6.0-6) unstable; urgency=low [ Agustin Martin Domingo ] * patches/450_gnuplot.el_make-local-hook: Call (make-local-hook) only for XEmacs, (add-hook) local option will already make hook buffer local for FSF Emacs (Closes: #600185). [ Vincent Fourmond ] * Many thanks for Agusting Martin Domingo for providing the fix to #600185 ! * Bumping to standards version 3.9.1 -- Vincent Fourmond Thu, 14 Oct 2010 21:32:35 +0200 gnuplot-mode (1:0.6.0-5) unstable; urgency=low * patches/900_gnuplot.el_fix_indentation to fix indentation (closes: #554964) * Add dependency on ${misc:Depends} to take care of possible dh-induced dependencies * Conforms to standards 3.8.4 -- Vincent Fourmond Mon, 01 Feb 2010 22:28:40 +0100 gnuplot-mode (1:0.6.0-4) unstable; urgency=low * Do not ignore any flavor of emacs by default (closes: #540810) * Now conforms to standards 3.8.3 * Choose emacs23 as first choice for dependencies * Bump debhelper compatibility level -- Vincent Fourmond Mon, 17 Aug 2009 21:11:42 +0200 gnuplot-mode (1:0.6.0-3) unstable; urgency=low * New maintainer (closes: 503549). Many thanks to Ryuichi Arafune for maintaining gnuplot-mode before and Agustin Martin Domingo and Romain Francoise for their NMUs * Using a git repository for tracking * Added a Homepage field * Added a debian/README.source file, so that package now conforms to standards 3.8.0 * Clarified debian/copyright to actually include a copyright notice * Fixed upstream's download location in debian/copyright * Adding emacs22 | xemacs21 as an alternative to the virtual package emacsen -- Vincent Fourmond Wed, 18 Feb 2009 00:28:06 +0100 gnuplot-mode (1:0.6.0-2.3) unstable; urgency=low * Non-maintainer upload. * debian/{compat,rules} use compat file and raise level. * debian/rules: - Move package build debhelper commands to build-indep - Add dpatch support. - Remove some unneeded commands. * debian/control: - Raise debhelper dependency and add dpatch one. - Raised Standards value. * debian/emacsen-startup: - Fix regexp (Closes: #446172). - Use debian-pkg-add-load-path-item * debian/conffiles: Removed, dh_installemacsen will take care. * debian/{postinst,prerm}: Removed. debhelper will take care. * debian/copyright: Fixed copyright version. * debian/patches/500_gnuplot.el_make-variable-buffer-local.dpatch (new): - No need to explicitly set buffer-local font-lock-defaults, it will automatically be set (Closes: #384977). * debian/patches/850_gnuplot.el_fix-obsolete-backquotes.dpatch (new): - Do not use obsolete old-style backquotes and ',' markers (Closes: #451942). -- Agustin Martin Domingo Mon, 19 Nov 2007 14:34:42 +0100 gnuplot-mode (1:0.6.0-2.2) unstable; urgency=low * Non-Maintainer upload. * debian/emacsen-install: - Support emacs22 (Closes: #432185). - Set symlinks to .el files and do not load site files when byte-compiling (Closes: #401687). - Reorganize script for clarity. * debian/control: - debhelper should be in Build-Depends, not Build-Depends-Indep. * debian/rules: - Do not blindly ignore make clean error if a makefile is available. * debian/changelog: - Remove trailing whitespace - Remove obsolete Local Variables section. -- Agustin Martin Domingo Fri, 16 Nov 2007 13:20:01 +0100 gnuplot-mode (1:0.6.0-2.1) unstable; urgency=low * NMU * debian/emacsen-install: Support emacs-snapshot (closes: #341285, #348878). -- Romain Francoise Thu, 19 Jan 2006 17:59:40 +0100 gnuplot-mode (1:0.6.0-2) unstable; urgency=low * Change dependency due to the gnuplot package separation. closes: #312294 -- Ryuichi Arafune Tue, 7 Jun 2005 16:07:37 +0900 gnuplot-mode (1:0.6.0-1) unstable; urgency=low * New upstream version. * closes: fix typo in Description. closes: #203487 -- Ryuichi Arafune Thu, 31 Jul 2003 11:14:49 +0900 gnuplot-mode (1:0.5r-1) unstable; urgency=low * New upstream version. * Not globally bind the [f9] key. closes: #154435 -- Ryuichi Arafune Tue, 30 Jul 2002 18:47:19 +0900 gnuplot-mode (1:0.5q-2) unstable; urgency=low * 50gnuplot-mode.el as conffile. closes: #132205 -- Ryuichi Arafune Mon, 4 Feb 2002 21:10:21 +0900 gnuplot-mode (1:0.5q-1) unstable; urgency=low * new upstream verion. -- Ryuichi Arafune Tue, 17 Jul 2001 19:06:39 +0900 gnuplot-mode (1:0.5n-1) unstable; urgency=low * New upstream version. -- Ryuichi Arafune Wed, 31 Jan 2001 11:29:48 +0900 gnuplot-mode (1:0.5k-2) unstable; urgency=low * (control) Revise Depends:emacsen, gnuplot closes: #70885 -- Ryuichi Arafune Sat, 9 Sep 2000 16:43:43 +0900 gnuplot-mode (1:0.5k-1) unstable; urgency=low * This is *not* Debian Native Packages. closes: #64849. -- Ryuichi Arafune Mon, 7 Aug 2000 12:46:54 +0900 gnuplot-mode (0.5k-2) unstable; urgency=low * Follow the policy 6.6. (copyrgith) Add a pointer to /usr/share/common/licences/GPL -- Ryuichi Arafune Sat, 8 Apr 2000 09:30:01 +0900 gnuplot-mode (0.5k-1) unstable; urgency=low * Initial Release. -- Ryuichi Arafune Tue, 28 Mar 2000 13:23:58 +0900 debian/emacsen-startup0000644000000000000000000000273311702644641012236 0ustar ;; -*-emacs-lisp-*- ;; ;; Emacs startup file for the Debian GNU/Linux gnuplot-mode package ;; ;; Originally contributed by Nils Naumann ;; Modified by Dirk Eddelbuettel ;; Adapted for dh-make by Jim Van Zandt ;; The gnuplot-mode package follows the Debian/GNU Linux 'emacsen' policy and ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, ;; xemacs19, emacs20, xemacs20...). The compiled code is then ;; installed in a subdirectory of the respective site-lisp directory. (if (not (file-exists-p "/usr/share/emacs/site-lisp/gnuplot-mode")) (message "Package gnuplot-mode removed but not purged. Skipping setup") ;; We have to add this to the load-path: (debian-pkg-add-load-path-item (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/gnuplot-mode")) ;; 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) ("\\.gnuplot\\'" . 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) ) debian/compat0000644000000000000000000000000211702644641010371 0ustar 7 debian/info0000644000000000000000000000001511702644641010045 0ustar gnuplot.info debian/source/0000755000000000000000000000000011702644641010473 5ustar debian/source/format0000644000000000000000000000001411702644641011701 0ustar 3.0 (quilt) debian/emacsen-install0000644000000000000000000000172211702644641012177 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/gnuplot-mode # Written by Jim Van Zandt , borrowing heavily # from the install scripts for gettext by Santiago Vila # and octave by Dirk Eddelbuettel . FLAVOR=$1 PACKAGE=gnuplot-mode if [ ${FLAVOR} = emacs ]; then exit 0; fi echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} SITEFLAG="-no-site-file" # Do not load site files when byte-compiling FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} install -m 0755 -d ${ELCDIR} cd ${ELDIR} FILES=`echo *.el` cd ${ELCDIR} for i in $FILES; do ln -sf ${ELDIR}/$i . done cat << EOF > path.el (setq load-path (cons "." load-path) byte-compile-warnings nil) (require 'font-lock) (defun hilit-repaint-command (foo)) EOF ${FLAVOR} ${FLAGS} ${FILES} rm -f path.el exit 0 debian/dirs0000644000000000000000000000014211702644641010054 0ustar usr/bin usr/sbin usr/share/doc usr/share/doc/gnuplot-mode usr/share/emacs/site-lisp/gnuplot-mode debian/emacsen-remove0000644000000000000000000000074311702644641012030 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/gnuplot-mode FLAVOR=$1 PACKAGE=gnuplot-mode if [ ${FLAVOR} != emacs ]; then # if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} # install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/gnuplot-mode.info.gz # fi echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi