malang-mode functions for inserting `case-of` and `if then else`