Changes between Version 20 and Version 21 of Emacs


Ignore:
Timestamp:
Oct 7, 2013 11:24:00 AM (2 years ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Emacs

    v20 v21  
    139139'''How to enable''': See installation instructions [http://www.mew.org/~kazu/proj/ghc-mod/en/ here].
    140140
    141 == Hask-tags
     141== Using tags to quickly locate definitions in a project
    142142
    143 '''Description''': ''TODO: I will fill in this one - JS''
     143'''Description''': Emacs can use a special index file, called "tags file", that stores locations of various definitions (functions, modules, data types) in a given directory. Once you've generated tags file (see installation instructions below) you can type `M-.` and enter name of identifier definition to jump to. Emacs by default jumps to identifier currently under the cursor.
    144144
    145145'''How to enable''': Begin by installing `hasktags` package from Hackage:
     
    151151hasktags --ignore-close-implementation .
    152152}}}
    153 In Emacs type `M-x visit-tags-table` and point to the `TAGS` file generated for a directory on which you want to work on.
     153In Emacs type `M-x visit-tags-table` and point to the generated `TAGS`.
     154
     155'''Note on hasktags''': `hasktags` program used to generate tags file has problems with correctly recognizing declarations of value constructors in a data type. It often mistakes pattern matching of the form `(DataConstructor {})` as a data declaration and jumps to that pattern match instead of declaration.
     156
     157'''Note on using tags for GHC sources''':
    154158
    155159= GHC-specific