Changes between Version 3 and Version 4 of Tips

Show
Ignore:
Timestamp:
12/08/09 10:14:26 (5 years ago)
Author:
fx@… (IP: 138.253.102.91)
Comment:

Refer to fixed cap-words.el.

Legend:

Unmodified
Added
Removed
Modified
  • Tips

    v3 v4  
    44=== Code navigation === 
    55 
    6   * 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  * 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{{{ 
    88    (add-hook 'haskell-mode-hook '(lambda () (capitalized-words-mode t))