]> code.delx.au - gnu-emacs-elpa/commitdiff
Add SML-mode.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Oct 2012 21:38:50 +0000 (17:38 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Oct 2012 21:38:50 +0000 (17:38 -0400)
git-subtree-dir: packages/sml-mode
git-subtree-mainline: a50c62a632aa422957a0e4224d5c6e4c2366156b
git-subtree-split: d2ef91a138487b521bb7e08722b8d122aa757b5a

12 files changed:
1  2 
packages/sml-mode/BUGS
packages/sml-mode/INSTALL
packages/sml-mode/Makefile
packages/sml-mode/NEWS
packages/sml-mode/README
packages/sml-mode/TODO
packages/sml-mode/makefile.pkg
packages/sml-mode/mltags
packages/sml-mode/sml-mode.el
packages/sml-mode/sml-mode.spec
packages/sml-mode/sml-mode.texi
packages/sml-mode/testcases.sml

index 0000000000000000000000000000000000000000,1623cdede8e755e3ea15b8bf27cdd17a67bacee7..1623cdede8e755e3ea15b8bf27cdd17a67bacee7
mode 000000,100644..100644
--- /dev/null
--- 2/BUGS
index 0000000000000000000000000000000000000000,6fb7e67d704cbd6b9039fa6b0a55e85a82cdef47..6fb7e67d704cbd6b9039fa6b0a55e85a82cdef47
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0e54d795db523f6c6f00ba757539103fe53399b4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,177 @@@
++# Makefile for emacs-lisp package
++
++# Copyright (C) 1998,1999,2004,2007,2010-2012  Stefan Monnier <monnier@gnu.org>
++
++# 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 GNU Emacs; see the file COPYING.  If not, write to
++# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
++
++# load the package-specific settings
++include makefile.pkg
++
++# set up the usual installation paths
++prefix  = /usr/local
++datadir = $(prefix)/share
++
++# the directory where you install third-party emacs packges
++lispdir = $(datadir)/emacs/site-lisp
++
++# the directory where the .elc files will be installed
++elcdir  = $(lispdir)/$(PACKAGE)
++# the directory where the .el files will be installed
++eldir   = $(elcdir)
++
++# the file where the initialization goes.
++#startupfile = $(HOME/.emacs
++startupfile = $(lispdir)/site-start.el
++
++# the directory where you installed the elib .elc files.
++# This is only needed if your site-start.el (or default.el) does not
++# set up elib correctly.
++elibdir = $(lispdir)/elib
++
++# the directory where you install the info doc
++infodir = $(prefix)/info
++docdir = $(prefix)/doc
++
++EMACS = emacs
++MAKEINFO= makeinfo
++TEXI2DVI= texi2dvi
++SHELL = /bin/sh
++DVIPS = dvips
++CP    = cp
++RM    = rm -f
++MKDIR = mkdir -p
++ETAGS = etags
++
++######################################################################
++###        No changes below this line should be necessary          ###
++######################################################################
++
++ELFLAGS       = --eval '(setq load-path (append (list "." "$(elibdir)" "$(lispdir)") load-path))'
++ELC   = $(EMACS) -batch $(ELFLAGS) -f batch-byte-compile
++
++ELCFILES = $(ELFILES:.el=.elc)
++
++TEXEXTS =  *.cps *.fns *.kys *.vr *.tp *.pg *.log *.aux *.toc *.cp *.ky *.fn
++
++.SUFFIXES: .elc .el .info .ps .dvi .texi
++.PHONY: elcfiles info clean distclean default
++.PHONY: install_startup install_elc install install_el install_info
++.PHONY: dvi postscript
++
++.el.elc:
++      $(ELC) $<
++
++.texi.info:
++      $(MAKEINFO) $<
++
++.texi.dvi:
++      $(TEXI2DVI) $<
++
++.dvi.ps:
++      $(DVIPS) -f $< >$@
++
++######################################################################
++
++default: elcfiles
++
++elcfiles: $(ELCFILES)
++info: $(PACKAGE).info
++
++install_elc: $(ELCFILES) $(PACKAGE)-startup.el
++      $(MKDIR) $(elcdir)
++      for f in $(ELCFILES) $(PACKAGE)-startup.el; do \
++          $(CP) $$f $(elcdir)/$$f ;\
++      done
++
++install_el:
++      $(MKDIR) $(eldir)
++      for f in $(ELFILES); do \
++          $(CP) $$f $(eldir)/$$f ;\
++      done
++
++install_info: $(PACKAGE).info
++      $(MKDIR) $(infodir)
++      $(CP) *.info* $(infodir)/
++      -[ ! -w $(infodir)/dir ] \
++          || install-info --info-dir=$(infodir)/dir $(PACKAGE).info
++
++install_startup:
++      $(MKDIR) $(lispdir)
++      @if grep $(PACKAGE) $(lispdir)/site-start.el >/dev/null 2>&1 || \
++          grep $(PACKAGE) $(startupfile) >/dev/null 2>&1 || \
++          grep $(PACKAGE) $(lispdir)/default.el >/dev/null 2>&1; \
++      then \
++          echo "**********************************************************" ;\
++          echo "*** It seems you already have some setup code" ;\
++          echo "*** for $(PACKAGE) in your startup files." ;\
++          echo "*** Check that it properly loads \"$(PACKAGE)-startup\"" ;\
++          echo "**********************************************************" ;\
++      else \
++          echo 'echo ";; load $(PACKAGE) setup code" >>$(startupfile)' ;\
++          echo ";; load $(PACKAGE) setup code" >>$(startupfile) ;\
++          echo 'echo "(load \"$(elcdir)/$(PACKAGE)-startup\")" >>$(startupfile)' ;\
++          echo "(load \"$(elcdir)/$(PACKAGE)-startup\")" >>$(startupfile) ;\
++      fi
++
++postscript: $(PACKAGE).ps
++dvi: $(PACKAGE).dvi
++install_dvi: dvi
++      $(MKDIR) $(docdir)
++      $(CP) `find . -type f -name '*.dvi' -print` $(docdir)/
++
++install: install_elc install_info install_startup install_el
++
++clean:
++      $(RM) *~ core .\#* $(TEXEXTS)
++
++TAGS tags:
++      $(ETAGS) $(ELFILES)
++
++distclean: clean
++      $(RM) *.elc *.dvi *.info* *.ps
++
++######################################################################
++###                    don't look below                            ###
++######################################################################
++
++$(PACKAGE)-startup.el: $(ELFILES)
++      echo "\
++      ;;; $@ --- automatically extracted autoloads\n\
++      ;;; Code:\n\
++      (add-to-list 'load-path\n\
++                   (or (file-name-directory load-file-name) (car load-path)))\n\
++      \f" >$@
++      $(EMACS) --batch --eval '(setq generated-autoload-file "'`pwd`'/$@")' -f batch-update-autoloads "."
++
++##
++
++#TAG = $(shell echo v$(VERSION) | tr '.' '_')
++URL=$(shell sed -n -e '5p' .svn/entries)
++#TAG=$(shell dirname "$(URL)")/releases/$(PACKAGE)-$(VERSION)
++TAG="v$(VERSION)"
++ftpdir=/u/monnier/html/elisp/
++cvsmodule=$(shell cat CVS/Repository)
++cvsroot=$(shell cat CVS/Root)
++
++dist:
++      echo bzr tag "$(TAG)" &&\
++      bzr export "$(TMP)/$(PACKAGE)-$(VERSION)" &&\
++      cd "$(TMP)/$(PACKAGE)-$(VERSION)" &&\
++      $(MAKE) info $(PACKAGE)-startup.el &&\
++      cd .. &&\
++      ztar $(PACKAGE)-$(VERSION) &&\
++      rm -rf $(PACKAGE)-$(VERSION)
++      mv $(TMP)/$(PACKAGE)-$(VERSION).tar.gz $(ftpdir)/
++      ln -sf $(PACKAGE)-$(VERSION).tar.gz $(ftpdir)/$(PACKAGE).tar.gz
index 0000000000000000000000000000000000000000,4d9cc1c51a140b6738f883781660e95762dcd94c..4d9cc1c51a140b6738f883781660e95762dcd94c
mode 000000,100644..100644
--- /dev/null
--- 2/NEWS
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9632487d1dfa51682b7e85f837df04c16c190180
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,19 @@@
++SML-MODE is a major Emacs mode for editing Standard ML.
++It provides syntax highlighting and automatic indentation and
++comes with sml-proc which allows interaction with an inferior SML
++interactive loop.
++
++This release should work on any recent version of Emacs or XEmacs.
++If it doesn't: complain.
++
++Some more or less out of date documentation can be found in TeXinfo format.
++
++Check the INSTALL file for installation instructions.
++Check the NEWS file for a list of changes in this version.
++Check the BUGS and TODO file before sending me bug reports and requests for
++enhancements.
++
++Send any complaint/question/praise/ice-cream to me,
++
++
++      Stefan Monnier <monnier@iro.umontreal.ca>
index 0000000000000000000000000000000000000000,b9c7d34ef960cf9db44dcbdd6ad2a990ff9ec141..b9c7d34ef960cf9db44dcbdd6ad2a990ff9ec141
mode 000000,100644..100644
--- /dev/null
--- 2/TODO
index 0000000000000000000000000000000000000000,47ea4ed25cd602bda104592f55eb480c84a66e44..47ea4ed25cd602bda104592f55eb480c84a66e44
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,606fc4caf5ae7d7b5f81fdc2726f82e0089f3441..606fc4caf5ae7d7b5f81fdc2726f82e0089f3441
mode 000000,100755..100755
--- /dev/null
--- 2/mltags
index 0000000000000000000000000000000000000000,beca4499453007f14472ded3ee04093d55dbe593..beca4499453007f14472ded3ee04093d55dbe593
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,f0d8437d3627db18b20e7376ce50a53d5438f610..f0d8437d3627db18b20e7376ce50a53d5438f610
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,d9980f7865c38c7d1f87c764bb7de2064a22dd67..d9980f7865c38c7d1f87c764bb7de2064a22dd67
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,adab3e2893e7a38568fc7f018634d058541c7106..adab3e2893e7a38568fc7f018634d058541c7106
mode 000000,100644..100644
--- /dev/null