> I use paragraph-indent-text-mode for any text. My .emacs > contains the line: > (setq default-major-mode 'paragraph-indent-text-mode ) > which works as desired in text mode, but not in mail mode. > > I would like to attach paragraph-indent-minor-mode to > text-mode-hook so paragraph indent mode will be in effect in all major > modes related to text, but haven't been able to find the necessary
hey > > > ==================================================== did u try (add-hook 'text-mode-hook 'paragraph-indent-minor-mode) Better yet, i suggest: > > > ==================================================== (add-hook 'text-mode-hook 'turn-on-paragraph-indent-minor-mode-my) (defun turn-on-paragraph-indent-minor-mode-my () (interactive) (paragraph-indent-minor-mode t)) > > > ==================================================== the latter enables it while the former just toggles it... PS: gnu.emacs.help is a very helpful place for queries... Have a good day, D <http://www.glue.umd.edu/~deego> -- One Editor to rule them all, one Editor to C-x C-f them, One Editor to bring them all and to their keymaps bind them In the land of Emacs where the Sexprs lie. -- James A. Crippen on g.e.gnus