copy and slightly adapt go-mode.el [wip]