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-mode-startup.el
ViewVC logotype

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

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

revision 319, Mon Jun 7 22:47:00 1999 UTC revision 347, Mon Jun 21 15:08:30 1999 UTC
# Line 5  Line 5 
5  ;;#ident "@(#)$Name$:$Id$"  ;;#ident "@(#)$Name$:$Id$"
6    
7  ;; don't forget to add the directory to your load-path  ;; don't forget to add the directory to your load-path
8  (setq load-path (cons "@elcdir@" load-path))  (add-to-list 'load-path "@elcdir@")
9    
10  ;; make sure the mode is loaded when necessary  ;; make sure the mode is loaded when necessary
11  (setq auto-mode-alist  (add-to-list 'auto-mode-alist '("\\.s\\(ml\\|ig\\)\\'" . sml-mode))
       (cons '("\\.s\\(ml\\|ig\\)\\'" . sml-mode) auto-mode-alist))  
 (autoload 'sml-mode "sml-mode" "Major mode for editing SML." t)  
 (autoload 'run-sml "sml-proc" "Run an inferior SML process" t)  
12    
13  ;; put this also if you feel like it (for SML/NJ's compilation manager)  ;; put this also if you feel like it (for SML/NJ's compilation manager)
14  (setq completion-ignored-extensions (cons "CM/" completion-ignored-extensions))  (add-to-list 'completion-ignored-extensions "CM/")
15    
16    ;; the rest is the auto-generated autoloads
17    
18    ;;;### (autoloads (sml-mode) "sml-mode" "sml-mode.el" (14190 21314))
19    ;;; Generated autoloads from sml-mode.el
20    
21    (autoload (quote sml-mode) "sml-mode" "\
22    Major mode for editing ML code.
23    Entry to this mode runs the hooks on sml-mode-hook.
24    \\{sml-mode-map}" t nil)
25    
26    ;;;***
27    
28    ;;;### (autoloads (sml-load-file sml-send-buffer sml-send-region
29    ;;;;;;  switch-to-sml run-sml) "sml-proc" "sml-proc.el" (14187 25166))
30    ;;; Generated autoloads from sml-proc.el
31    
32    (autoload (quote run-sml) "sml-proc" "\
33    Run an inferior ML process, input and output via buffer *sml*.
34    With a prefix argument, this command allows you to specify any command
35    line options to pass to the complier. The command runs hook functions
36    on `comint-mode-hook' and `inferior-sml-mode-hook' in that order.
37    
38    If there is a process already running in *sml*, just switch to that
39    buffer instead.
40    
41    In fact the name of the buffer created is chosen to reflect the name
42    of the program name specified by `sml-program-name', or entered at the
43    prompt. You can have several inferior ML process running, but only one
44    current one -- given by `sml-buffer' (qv).
45    
46    \(Type \\[describe-mode] in the process buffer for a list of commands.)" t nil)
47    
48    (autoload (quote switch-to-sml) "sml-proc" "\
49    Switch to the ML process buffer.
50    With prefix argument, positions cursor at point, otherwise at end of buffer." t nil)
51    
52    (autoload (quote sml-send-region) "sml-proc" "\
53    Send current region to the inferior ML process.
54    Prefix argument means switch-to-sml afterwards.
55    
56    The region is written out to a temporary file and a \"use <temp-file>\" command
57    is sent to the compiler.
58    See variables `sml-use-command'." t nil)
59    
60    (autoload (quote sml-send-buffer) "sml-proc" "\
61    Send buffer to inferior shell running ML process.
62    With a prefix argument switch to the sml buffer as well
63    \(cf. `sml-send-region')." t nil)
64    
65    (autoload (quote sml-load-file) "sml-proc" "\
66    Load an ML file into the current inferior ML process.
67    With a prefix argument switch to sml buffer as well.
68    
69    This command uses the ML command template `sml-use-command' to construct
70    the command to send to the ML process; a trailing \";\\n\" will be added
71    automatically." t nil)
72    
73    ;;;***

Legend:
Removed from v.319  
changed lines
  Added in v.347

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