Sat Dec 27 12:49:11 EST 2008  Michael Dagitses <[email protected]>
  * Change modeApplies to look at contents of file.
  Ignore-this: a477ab75809a3838c3bd41e039447de0
  
  The modeApplies function for Mode values now takes a parameter for the
  contents of the file.  This allows for any information about the
  contents of the file to be used for mode detection.  This record also
  implements the use-case of looking into the contents for the shebang
  directive of haskell script files. Do note that this can be buggy
  because literate haskell scripts would also have the same shebang, so
  the analyzer would have to be improved to distinguish the two styles.

    M ./Yi/Buffer/Misc.hs -2 +17
    M ./Yi/Dired.hs -1 +2
    M ./Yi/Mode/Compilation.hs -1 +2
    M ./Yi/Mode/Haskell.hs -5 +7
    M ./Yi/Mode/Interactive.hs -1 +2
    M ./Yi/Modes.hs -7 +22

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to