Changes between Version 1 and Version 2 of Tips

Show
Ignore:
Timestamp:
11/25/09 22:11:03 (4 years ago)
Author:
jao@… (IP: 88.26.43.57)
Comment:

capitalized-words-mode

Legend:

Unmodified
Added
Removed
Modified
  • Tips

    v1 v2  
    11== Some neat tips and tricks for using haskell-mode == 
    22 
     3=== Code navigation === 
     4 
     5  * By default, Emacs' commands acting on words treat camelCaseIdentifiers as a single unit. If you want to make Emacs recognise the subwords inside (so that, say,  `M-f` will stop at "Case" in the previous example"), you can activate `capitalized-words-mode`, either by hand (`M-x capitalized-words-mode`) or adding a hook to `haskell-mode-hook` and/or `haskell-literate-mode-hook`:  
     6{{{ 
     7    (add-hook 'haskell-mode-hook '(lambda () (capitalized-words-mode t)) 
     8}}}