summaryrefslogtreecommitdiff
path: root/emacs/README.itz
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2000-04-05 18:30:22 +0000
committerDamien Doligez <damien.doligez-inria.fr>2000-04-05 18:30:22 +0000
commit3f6a493b87dcfb9b49e22313fd5f7c321c3f77d1 (patch)
tree49cf875c6ec55e6f56c5e2546a72c501d4da75a1 /emacs/README.itz
parent3006772f8506106be60015622d67fa791797490b (diff)
downloadocaml-3f6a493b87dcfb9b49e22313fd5f7c321c3f77d1.tar.gz
MacOS: ajout macosunix; portage bigarray et systhreads; tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'emacs/README.itz')
-rw-r--r--emacs/README.itz21
1 files changed, 10 insertions, 11 deletions
diff --git a/emacs/README.itz b/emacs/README.itz
index 60678cfee1..8e1366f478 100644
--- a/emacs/README.itz
+++ b/emacs/README.itz
@@ -15,9 +15,9 @@ CONTENTS:
caml.el A major mode for editing Caml code in Gnu Emacs
inf-caml.el To run a Caml toplevel under Emacs, with input and
- output in an Emacs buffer.
+ output in an Emacs buffer.
camldebug.el To run the Caml debugger under Emacs.
-
+
NOTE FOR EMACS 18 USERS:
@@ -66,7 +66,7 @@ distribution, and hacked on it. First, I added real syntax dependent
indentation to caml mode. Like Xavier has said, it was hard (and I
knew it would be), but I refused to believe it was impossible, partly
because I knew of a Standard ML mode with indentation (written by
-Matthew Morley).
+Matthew Morley).
Indentation works pretty much like in other programming modes. C-j at
the end of a line starts a new line properly indented. M-C-\ indents
@@ -80,14 +80,14 @@ TAB twice in succession. If you don't like this behaviour (but you
should), it's quite easy to add to your startup code like this:
(defun caml-old-style-indent ()
- (if (caml-in-indentation)
- (caml-indent-command)
- (insert "\t")))
+ (if (caml-in-indentation)
+ (caml-indent-command)
+ (insert "\t")))
(add-hook 'caml-mode-hook
- (function (lambda ()
- (define-key 'caml-mode-map "\t"
- caml-old-style-indent))))
+ (function (lambda ()
+ (define-key 'caml-mode-map "\t"
+ caml-old-style-indent))))
You can customize the appearance of your caml code by twiddling the
variables listed at the start of caml.el. Good luck. :-)
@@ -102,7 +102,7 @@ with modern versions of Emacs. The main benefit here is that you can
do debugger commands _from your caml source buffer_. Commands with the
C-c prefix in the debugger buffer have counterparts which do the same
thing (well, a similar thing) in the source buffer, with the C-x C-a
-prefix.
+prefix.
I made the existing debugger commands smarter in that they now attempt
to guess the correct parameter to the underlying camldebug command. A
@@ -175,4 +175,3 @@ Ian T Zimmerman +-------------------------------------------+
Box 13445 I With so many executioners available, I
Berkeley CA 94712 USA I suicide is a really foolish thing to do. I
mailto:itz@rahul.net +-------------------------------------------+
-