Changes between Version 22 and Version 23 of Emacs


Ignore:
Timestamp:
Oct 8, 2013 7:45:53 AM (6 months ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Emacs

    v22 v23  
    77Each entry includes a short description and instruction how to enable given setting (if it contains only a block of lisp code it means you need to add it to your `.emacs` configuration file). All configuration is given for Emacs 24, unless otherwise noted.  
    88 
    9 It is assumed that you know how to install packages in Emacs (e.g. with ELPA). ''TODO: Let's not assume it. Can we create a section "Installing extensions with ELPA" and give a short introduction on using it? I admit I don't remember how to use ELPA and would have to google it - JS.'' 
     9Most of the packages used below are bundled with Emacs. If a package is not part of your Emacs installation you need to install it by yourself. You can do it manually by downloading relevant `*.el` file and putting it in your configuration directory or you can use ELPA -  Emacs package management system. A five minute introduction to ELPA can be found [http://ergoemacs.org/emacs/emacs_package_system.html here]. 
    1010 
    1111= General 
     
    141141== Using tags to quickly locate definitions in a project 
    142142 
    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.  
     143'''Description''': Emacs can use a special index file, the `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: 
     
    153153In Emacs type `M-x visit-tags-table` and point to the generated `TAGS`. 
    154154 
    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. 
     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. 
    156156 
    157157'''Note on using tags for GHC sources''': Generating tags for top directory of GHC source tree. so that index is generated for the compiler sources as well as boot libraries, gives rather bad results. The problem is that many libraries have definitions of identical functions, e.g. `integer-gmp` and `integer-simple` define the same functions and `hoopl` has lots of obsolete source files that contain definitions of exactly identical functions. This makes jumping to definitions unreliable - you will often be taken to some unused definition. Therefore we recommend to generate tags file only for `compiler/` directory. 
     
    159159= GHC-specific 
    160160 
    161 ''Richard mentioned some interesting config on Newcomers page'' 
     161''TODO: Richard, can you please fill in this section?'' 
    162162 
     163== Searching the GHC source tree with a hotkey 
     164 
     165'''Description''': 
     166 
     167'''How to enable''':  
     168 
     169== Building GHC with a hotkey 
     170 
     171'''Description''': 
     172 
     173'''How to enable''':