Changes between Version 4 and Version 5 of Tips

Show
Ignore:
Timestamp:
12/11/09 14:17:15 (5 years ago)
Author:
anonymous (IP: 62.112.193.66)
Comment:

added a needed closing paranthesis

Legend:

Unmodified
Added
Removed
Modified
  • Tips

    v4 v5  
    66  * 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`. Note that this only works in Emacs 23 and the version in Emacs 23.1 is broken; get the [http://www.loveshack.ukfsn.org/emacs/cap-words.el fixed version of cap-words.el].  Activate it either by hand (`M-x capitalized-words-mode`) or by adding to `haskell-mode-hook` and/or `haskell-literate-mode-hook`:  
    77{{{ 
    8     (add-hook 'haskell-mode-hook '(lambda () (capitalized-words-mode t)) 
     8    (add-hook 'haskell-mode-hook '(lambda () (capitalized-words-mode t))) 
    99}}}