Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/sml-mode/sml-proc.el
ViewVC logotype

Diff of /sml/trunk/sml-mode/sml-proc.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 394, Mon Aug 9 21:45:51 1999 UTC revision 395, Wed Aug 11 20:48:17 1999 UTC
# Line 189  Line 189 
189    :group 'sml-proc    :group 'sml-proc
190    :type '(regexp))    :type '(regexp))
191    
192  (defconst sml-error-regexp-alist  (defvar sml-error-regexp-alist
193    '(;; Poly/ML messages    '(;; Poly/ML messages
194      ("\\(Error\\|Warning:\\) in '\\(.+\\)', line \\([0-9]+\\)" 2 3)      ("\\(Error\\|Warning:\\) in '\\(.+\\)', line \\([0-9]+\\)" 2 3)
195      ;; Moscow ML      ;; Moscow ML
# Line 198  Line 198 
198      ;; pathological behavior with very long lines.      ;; pathological behavior with very long lines.
199      ("^[-= ]*\\(.+\\):\\([0-9]+\\)\\.\\([0-9]+\\)\\(-\\([0-9]+\\)\\.\\([0-9]+\\)\\)? \\(Error\\|Warning\\): .*" 1 sml-make-error 2 3 5 6)      ("^[-= ]*\\(.+\\):\\([0-9]+\\)\\.\\([0-9]+\\)\\(-\\([0-9]+\\)\\.\\([0-9]+\\)\\)? \\(Error\\|Warning\\): .*" 1 sml-make-error 2 3 5 6)
200      ;; SML/NJ's exceptions:  see above.      ;; SML/NJ's exceptions:  see above.
201      ("^ +\\(raised at: \\)?\\(.+\\):\\([0-9]+\\)\\.\\([0-9]+\\)\\(-\\([0-9]+\\)\\.\\([0-9]+\\)\\)" 2 sml-make-error 3 4 6 7)))      ("^ +\\(raised at: \\)?\\(.+\\):\\([0-9]+\\)\\.\\([0-9]+\\)\\(-\\([0-9]+\\)\\.\\([0-9]+\\)\\)" 2 sml-make-error 3 4 6 7))
202      "Alist that specifies how to match errors in compiler output.
203    See `compilation-error-regexp-alist' for a description of the format.")
204    
205  ;; font-lock support  ;; font-lock support
206  (defconst inferior-sml-font-lock-keywords  (defconst inferior-sml-font-lock-keywords
# Line 407  Line 409 
409                     (sml-args-to-list (substring string pos                     (sml-args-to-list (substring string pos
410                                                  (length string)))))))))                                                  (length string)))))))))
411    
 ;;;###autoload  
412  (defun switch-to-sml (eob-p)  (defun switch-to-sml (eob-p)
413    "Switch to the ML process buffer.    "Switch to the ML process buffer.
414  With prefix argument, positions cursor at point, otherwise at end of buffer."  With prefix argument, positions cursor at point, otherwise at end of buffer."
# Line 419  Line 420 
420    
421  ;; Fakes it with a "use <temp-file>;" if necessary.  ;; Fakes it with a "use <temp-file>;" if necessary.
422    
 ;;;###autoload  
423  (defun sml-send-region (start end &optional and-go)  (defun sml-send-region (start end &optional and-go)
424    "Send current region to the inferior ML process.    "Send current region to the inferior ML process.
425  Prefix argument means switch-to-sml afterwards.  Prefix argument means switch-to-sml afterwards.
# Line 462  Line 462 
462  considered an ML source file by `sml-load-file'. Used by these commands  considered an ML source file by `sml-load-file'. Used by these commands
463  to determine defaults.")  to determine defaults.")
464    
 ;;;###autoload  
465  (defun sml-send-buffer (&optional and-go)  (defun sml-send-buffer (&optional and-go)
466    "Send buffer to inferior shell running ML process.    "Send buffer to inferior shell running ML process.
467  With a prefix argument switch to the sml buffer as well  With a prefix argument switch to the sml buffer as well
# Line 527  Line 526 
526    "Caches the (directory . file) pair used in the last `sml-load-file'    "Caches the (directory . file) pair used in the last `sml-load-file'
527  or `sml-cd' command. Used for determining the default in the next one.")  or `sml-cd' command. Used for determining the default in the next one.")
528    
 ;;;###autoload  
529  (defun sml-load-file (&optional and-go)  (defun sml-load-file (&optional and-go)
530    "Load an ML file into the current inferior ML process.    "Load an ML file into the current inferior ML process.
531  With a prefix argument switch to sml buffer as well.  With a prefix argument switch to sml buffer as well.

Legend:
Removed from v.394  
changed lines
  Added in v.395

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0