capitalized-words-mode

Jose A. Ortega Ruiz jao at gnu.org
Wed Nov 25 16:40:35 EST 2009


Hi,

A quick tip: i find it very useful to add to `haskell-mode-hook' a
function to activate `capitalized-words-mode', which makes emacs'
per-word commands (M-f, M-b, M-d, etc.) recognise camel-cased subwords.
Something like

  (add-hook 'haskell-mode-hook '(lambda () (capitalized-words-mode 1)))

(and a similar thing for literate mode). It would be quite easy to add a
customizable option to haskell-mode to activate capitalized words
itself... i can do it if you think it'd be useful, although probably
mentioning this tip somewhere in the README will do.

Cheers,
jao
-- 
"People sometimes ask me if it is a sin in the Church of Emacs to use vi.
 Using a free version of vi is not a sin; it's a penance".
  -Richard Stallman



More information about the Haskellmode-emacs mailing list