I have configured evolution to use Emacs for me to edit my replies to emails I receive. However, I need to limit my line length to around 72 characters to avoid the odd-ball line wrapping by the mailer (MicroSoft EWS).
I currently have the following line in my .emacs:
(add-to-list 'auto-mode-alist (quote("/tmp/evo*\\'" . text-mode))
So that the files are put in text-mode
. However, I would also like to invoke ruler-mode
automatically instead of having to do it manually.
But I cannot seem to figure this one out. Is there a text hook I can add a custom function on to deal with this?
(GNU Emacs 24.5.1 on Ubuntu 16.04 and GNU Emacs 24.3.1 on private red-hat like distro)