+2004-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * Makefile (install_startup): Don't add to load-path any more.
+
+ * sml-proc.el (sml-make-error): Use match-string.
+
2004-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
* testcases.sml: Add a nasty case that is still wrong.
* sml-proc.el (sml-error-regexp-alist): Tune the regexp for sml/nj.
- * sml-mode.el (sml-mode): Batter handle paragraphs in comments.
+ * sml-mode.el (sml-mode): Better handle paragraphs in comments.
(sml-mode-variables): Clean up paragraph settings.
(sml-electric-pipe): Fix a boundary bug.
(sml-indent-starter, sml-get-sym-indent, sml-find-matching-starter):
2. Have some sorbet.
- 3. Type `make install' in the source directory. This will
- byte-compile all `.el' files and copy all the
- `.elc' files into the directory you specified in step 1.
- It will also copy the info files (and add a corresponding entry to the
- info-dir file if install-info can be found).
+ 3. Type `make install' in the source directory. This will byte-compile
+ all `.el' files and copy all into the directory you specified in step
+ 1. It will also copy the info files (and add a corresponding entry to
+ the info-dir file if install-info can be found).
- If you want to install the `.el' files,
- just type ``make install_el''.
-
- If you only want to create the compiled elisp files, but don't
- want to install them, you can type `make elcfiles' instead.
+ If you only want to create the compiled elisp files, you can just type
+ `make elcfiles' instead.
4. Edit the file `site-start.el' in your emacs lisp directory (usually
- `/usr/local/share/emacs/site-lisp' or something similar) and enter the
- contents of the file `sml-mode-startup.el' into it. It contains
- a couple of `auto-load's that facilitates the use of sml-mode.
- Alternatively, you can just use `make install_startup'.
- If you're only installing it for yourself rather than for the whole system,
- then use something like `make install_startup startupfile=$HOME/.emacs'.
+ `/usr/local/share/emacs/site-lisp' or something similar) and make it
+ load the file `sml-mode-startup.el'. It contains a couple of
+ `auto-load's that facilitates the use of sml-mode. Alternatively, you
+ can just use `make install_startup'. If you're only installing it for
+ yourself rather than for the whole system, then use something like
+ `make install_startup startupfile=$HOME/.emacs'.
- 5. If you already had copied the pcl-cvs.startup.el file to your
- site-start.el (or .emacs), you might want to check if it is still correct
- since autoloads might have been added/removed.
+ 5. If you had copied the contents of a previous sml-mode-startup.el file to
+ your site-start.el (or .emacs), you might want to remove that.
How to make typeset documentation from the TeXinfo manual
If you have TeX installed at your site, you can make a typeset version of
the manual typing ``make dvi''. If you prefer a postscript version of this
file, just use ``make postscript''.
-
-
-#ident @(#)$Name$:$Id$
(let ((err (point-marker))
(linenum (string-to-number c))
(filename (list (first f) (second f)))
- (column (string-to-number (compile-buffer-substring (third f)))))
+ (column (string-to-number (match-string (third f)))))
;; record the end of error, if any
(when (fourth f)
- (let ((endlinestr (compile-buffer-substring (fourth f))))
+ (let ((endlinestr (match-string (fourth f))))
(when endlinestr
(let* ((endline (string-to-number endlinestr))
(endcol (string-to-number
- (or (compile-buffer-substring (fifth f)) "0")))
+ (or (match-string (fifth f)) "0")))
(linediff (- endline linenum)))
(push (list err linediff (if (= 0 linediff) (- endcol column) endcol))
sml-endof-error-alist)))))