> -- Description of the attached dpatch: > * make `inferior-haskell-find-project-root' respect export lists
No joke this time. Sorry for the glitch. -- vvv
Tue Nov 24 23:48:05 EET 2009 Valery V. Vorotyntsev <[email protected]> * make `inferior-haskell-find-project-root' respect export lists A "hierarchical module" (one or more dots in module name) with an export list cannot be loaded (`C-c C-l') unless there is .cabal file available. That is because regexp current in `inferior-haskell-find-project-root' does not match module headers with export lists. Like this one: module Codec.Binary.MSCP ( -- * Data structures FileHeader(..), CDR(..), -- * Parsing readFile ) where This patch makes the regexp less strict. New patches: [make `inferior-haskell-find-project-root' respect export lists Valery V. Vorotyntsev <[email protected]>**20091124214805 Ignore-this: 13944cebba542b12a6b02a7c8ef43c81 A "hierarchical module" (one or more dots in module name) with an export list cannot be loaded (`C-c C-l') unless there is .cabal file available. That is because regexp current in `inferior-haskell-find-project-root' does not match module headers with export lists. Like this one: module Codec.Binary.MSCP ( -- * Data structures FileHeader(..), CDR(..), -- * Parsing readFile ) where This patch makes the regexp less strict. ] hunk ./inf-haskell.el 285 (goto-char (point-min)) (let ((case-fold-search nil)) (when (re-search-forward - "^module[ \t]+\\([^- \t\n]+\\.[^- \t\n]+\\)[ \t]+where\\>" nil t) + "^module[ \t]+\\([^- \t\n]+\\.[^- \t\n]+\\)[ \t]+" nil t) (let* ((dir default-directory) (module (match-string 1)) (pos 0)) Context: [Emacs regexes are not perl regexes! [email protected]**20091120123455 Ignore-this: 7adddfb072ffabb8e02457fd9f1d7179 ] [Add missing `:group's to defcustoms. Dave Love <[email protected]>**20091111105701 Ignore-this: c5126608a89343c907e6a03f77143a82 ] [Resolve conflict with mdo patch. Dave Love <[email protected]>**20091110143208 Ignore-this: 48568e05d3b1d48d5a3c8014e5287fe3 ] [Allow non-ASCII names. Dave Love <[email protected]>**20091105212057 Ignore-this: f46f407a19ae2a597f44317e4915e5ba The code already used char-classes unconditionally, though I didn't think they're supported in XEmacs. ] [Various fixes for Emacs 21. Dave Love <[email protected]>**20091105211507 Ignore-this: caae466ff29882fa42f44e081d0a8909 ] [Fix treatment of missing syntax-ppss. Dave Love <[email protected]>**20091111111819 Ignore-this: 284f4d7440592d4b7f4697d1bf2483c7 ] [Comment/doc/message fixes. Dave Love <[email protected]>**20091105212607 Ignore-this: 15a2aa347da042465d652328b91324a1 ] [Parse the unicode syntax for (::) [email protected]**20091106085644 Ignore-this: f4d582279acbaf613b5d77b6788c8189 ] [Fixed bug in haskell-decl-scan.el when using unicode syntax [email protected]**20091106155555 Ignore-this: 6e8eecb8bd1d7d5ddfc0496bee4d4f3f ] [Indent mdo as do [email protected]**20091109214749 Ignore-this: 8cf3b448fcde1d8219c4c97ba1955c85 ] [TAG 2.6.4 [email protected]**20091107110901 Ignore-this: d2d4c16df56f5bb4b749e886a99e0550 ] Patch bundle hash: db4c47fb09199c61b1611bfbb46a9e0277c82c0a
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
