I don't want to discuss whether the turn-on-haskell-* names are silly or
not, but I'll simply note that the turn-on-* names are common in Emacs:

   turn-on-auto-fill             turn-on-auto-revert-mode
   turn-on-auto-revert-tail-mode turn-on-cwarn-mode
   turn-on-defer-lock            turn-on-eldoc-mode
   turn-on-fast-lock             turn-on-follow-mode
   turn-on-font-lock             turn-on-font-lock-if-enabled
   turn-on-gnus-dired-mode       turn-on-gnus-mailing-list-mode
   turn-on-haskell-doc-mode      turn-on-hscroll
   turn-on-iimage-mode           turn-on-lazy-lock
   turn-on-orgtbl                turn-on-reftex

whereas names of the form *-turn-on-* are completely non-standard (the only
one I can find is font-lock-turn-on-thing-lock which is an internal
function).

Also these functions are normally not interactive: they're designed
specifically for use in hooks where calling haskell-*-mode has the problem
that it may toggle the mode OFF rather than ON.

Interactively, you're supposed to use haskell-*-mode instead, both to enable
and to disable the minor mode.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to