Add or fix modelines

How do people code with wrong modelines :(

https://bugzilla.gnome.org/show_bug.cgi?id=733456