only use delete-trailing-whitespace for some mode