Category Archives: Emacs

Segmentation Faults, TAP and Eclipse

This is quite a neat trick. Consider: Referencing that NULL pointer obviously crashes straight away with a terse segmentation fault: By simply linking it with libSegFault, which seems to be documented only very informally, but comes with glibc: Of course … Continue reading

Posted in C++, Emacs, Linux, Ocaml, Operation Foothold | Tagged , , , , , , | 3 Comments

Komodo 6

As of version 6, ActiveState Komodo includes OCaml syntax highlighting. It appears to be only minimal (e.g. no completion, no hovering over something to get its type, no code folding, no integration with the toolchain) but it’s a start… Or … Continue reading

Posted in Emacs, Ocaml | Leave a comment

Compiler tip

Consider the following trivial bit of OCaml: To me as a beginner this looks quite plausible, since I wrote something much like it, of course it should actually be: But the error from the compiler is strange: That is actually … Continue reading

Posted in Emacs, Ocaml | 5 Comments

Code folding in Emacs

Code folding is a feature I’ve taken for granted in Windows IDEs, but now I am using Emacs more and more, I wanted it there too, and it turns out getting it is straightforward enough. Download Folding Mode and save … Continue reading

Posted in Emacs, Haskell, Linux, Ocaml | 5 Comments