Maybe I shoudl stop now and write a decent KRL mode for emacs...

Make sure function names are the same as the one you defined