An set of functions extending emacs vhdl-mode.el as an alternative to electric mode with state machine editing.