Permalink
Commits on Nov 26, 2004
  1. Remove.

    monnier committed Nov 26, 2004
    Ignore-this: fd807a6f8de092eb75ed4e217c2218aa
    
    darcs-hash:20041126000948-c2f2e-a35655e32c7c9a049ffdeff01575e554719113f0.gz
  2. *** empty log message ***

    monnier committed Nov 26, 2004
    Ignore-this: 52759e09559afa10ca09a1e278cdc9dd
    
    darcs-hash:20041126000744-c2f2e-9758739187d6a99c59c251117350dc4ea4dea8af.gz
  3. (haskell-ds-imenu-label-cmp): Undo last idiotic change.

    monnier committed Nov 26, 2004
    Ignore-this: 9d4257c5c05f009267e53160bfcd49d0
    
    darcs-hash:20041126000400-c2f2e-9669c96b39818576193b8f9fc156c8a68a824338.gz
  4. (haskell-doc-sym-doc): Make even the last char bold.

    monnier committed Nov 26, 2004
    Ignore-this: 34e63b6c7d916383baca0ca22fdd23d2
    
    darcs-hash:20041126000323-c2f2e-e87054782b883807436db0f7d1b712076ee89a6e.gz
  5. (haskell-mode-map): Typo.

    monnier committed Nov 26, 2004
    Ignore-this: 2e624369c5260b4d7c6c97fe88ba9f61
    
    darcs-hash:20041126000258-c2f2e-81a166e1a59c3faafd64c4baefbd4120e1c32cf0.gz
  6. (inferior-haskell-mode): Typo.

    monnier committed Nov 26, 2004
    Ignore-this: 1aa52d2abd8e687a283a835881ce3f28
    (inferior-haskell-mode): Typo.
    (inferior-haskell-wait-for-output): Remove.
    (inferior-haskell-send-command): New function.
    (inferior-haskell-load-file): Use it.
    
    darcs-hash:20041126000151-c2f2e-19b70566bf236c0b8a4e3e6a4ffdb2beb67a3e98.gz
  7. Partial fixup.

    monnier committed Nov 26, 2004
    Ignore-this: daea8c115b1fcf62c4b2c79bc1d250f
    
    darcs-hash:20041126000052-c2f2e-724eb2daee1a33acb9763c1ee4a4e3c1b4aba2de.gz
Commits on Nov 25, 2004
  1. *** empty log message ***

    monnier committed Nov 25, 2004
    Ignore-this: 15cba8d3c4ee94b5ddfa5b5d4242b5f3
    
    darcs-hash:20041125011252-c2f2e-d481e77c9935c6f7fb4a37244453d64e2ecc88a4.gz
  2. New file.

    monnier committed Nov 25, 2004
    Ignore-this: 59551e1c155c76dbf9495a2c1cd68557
    
    darcs-hash:20041125010520-c2f2e-c48f324c27fbf3de9b20da8f01e9f27607141af2.gz
  3. (haskell-mode-map): Add bindings for the inferior-haskell commands.

    monnier committed Nov 25, 2004
    Ignore-this: b044c1ba880bef18de57e3a1ff096da5
    (haskell-mode-map): Add bindings for the inferior-haskell commands.
    (turn-on-haskell-hugs, turn-on-haskell-ghci): Mark them as obsolete.
    
    darcs-hash:20041125010507-c2f2e-59a1f1e39a09b3f9d51c1f4a929ab5790b062903.gz
Commits on Nov 24, 2004
  1. (haskell-doc-install-keymap): Don't blindly assume there's a Hugs menu.

    monnier committed Nov 24, 2004
    Ignore-this: cd730f6c9d40693911b62daca179f14c
    
    darcs-hash:20041124231436-c2f2e-0984e152149f22abda6b5f2e00c8683330b2b6c7.gz
Commits on Nov 23, 2004
  1. *** empty log message ***

    monnier committed Nov 23, 2004
    Ignore-this: 9ca1d31bc782f082909e3090488a539f
    
    darcs-hash:20041123003132-c2f2e-93ccdbe26cd313c450ea8cdac57870dc05c8c93c.gz
  2. (turn-on-haskell-indent, turn-off-haskell-indent):

    monnier committed Nov 23, 2004
    Ignore-this: a3f98b6144418730fede4ff8cd54dfde
    (turn-on-haskell-indent, turn-off-haskell-indent):
    Use C-c C-foo rather than C-c foo to follow coding conventions.
    
    darcs-hash:20041123003112-c2f2e-59b113160785134c6bf001062ad1de53e319bb7f.gz
  3. (haskell-font-lock-symbols-alist): Add .

    monnier committed Nov 23, 2004
    Ignore-this: 7f017c254a55006e908c10ff3b8126b1
    
    darcs-hash:20041123002807-c2f2e-3972d6b5b099b5d86db7b0dd3b05270d54a958ca.gz
Commits on Nov 22, 2004
  1. Fix type of getLine

    simonmar committed Nov 22, 2004
    Ignore-this: 1c62ab7f588e8ac55689adb554e33d55
    
    darcs-hash:20041122114535-63964-3616217d92f532cddfcdbc33b176a40f42878c8b.gz
Commits on Oct 25, 2004
  1. (haskell-indent-indentation-info): Don't use layout for paren-closing…

    monnier committed Oct 25, 2004
    … elements.
    
    Ignore-this: afa94b81d02d5235bea53937f46022a5
    
    darcs-hash:20041025152734-c2f2e-1d9473f9795b67611a7fd050311e9c3351b976eb.gz
Commits on Oct 20, 2004
  1. (haskell-indent-indentation-info): Only use

    monnier committed Oct 20, 2004
    Ignore-this: 7fc6d48cb68cb74a2269e2db17a28f77
    (haskell-indent-indentation-info): Only use
    the new `in' indentation rule if the `let' is on the left of the decl.
    
    darcs-hash:20041020162710-c2f2e-a64c71138988f4527e1b93bb4bb42d039fddfac1.gz
  2. *** empty log message ***

    monnier committed Oct 20, 2004
    Ignore-this: d3d23b3aefa815f12114ed3a9abd116f
    
    darcs-hash:20041020003054-c2f2e-33df020cf684f82ba99ef0c11758f4590603e763.gz
  3. (haskell-indent-find-let): New function.

    monnier committed Oct 20, 2004
    Ignore-this: f91982bcf509821242c75712f8d7bfd1
    (haskell-indent-find-let): New function.
    (haskell-indent-indentation-info): Use it to indent `in'.
    
    darcs-hash:20041020003039-c2f2e-062f5f9fdf257b3a75d35f6191804d6e2b2eb611.gz
  4. (haskell-default-face): Add missing declaration.

    monnier committed Oct 20, 2004
    Ignore-this: c9aa619702e5a6da76b4cf4c8cd9027a
    
    darcs-hash:20041020003023-c2f2e-5ec057ab71a294175606b0cd2a2fda048d66500b.gz
Commits on Oct 19, 2004
  1. (haskell-indent-open-structure): Simplify.

    monnier committed Oct 19, 2004
    Ignore-this: d0196338078fbcd778236fa0e736aa00
    (haskell-indent-open-structure): Simplify.
    (haskell-indent-contour-line): Work even when `start' is in the middle
    of a line.
    (haskell-indent-layout-indent-info): New fun extracted from
    haskell-indent-indentation-info.
    (haskell-indent-indentation-info): Use it as before.  Use it also to
    handle layout-within-open-structure.
    
    darcs-hash:20041019234123-c2f2e-f0f88a6ca0a7b18f1c718c1b44a61f7d0d60f57b.gz
Commits on Oct 18, 2004
  1. (haskell-font-lock-keywords-create): Use explicit `symbol-value' to work

    monnier committed Oct 18, 2004
    Ignore-this: 36177d0da7569c5b25a0301ac713140a
    (haskell-font-lock-keywords-create): Use explicit `symbol-value' to work
    around limitations in XEmacs's implementation of font-lock.
    (haskell-basic-syntactic-keywords): Fix up char-constants some more.
    
    darcs-hash:20041018235640-c2f2e-f58ddd798a7681b3626c1382149a481632c122b7.gz
  2. Minor doc tweak.

    monnier committed Oct 18, 2004
    Ignore-this: 6ee41882628541bfb5262a2338859ede
    
    darcs-hash:20041018235513-c2f2e-84e20ff73b40e3fe881bb5a6730c527e4e543e25.gz
Commits on Oct 15, 2004
  1. (turn-off-haskell-doc-mode, haskell-doc-current-info): Don't autoload.

    monnier committed Oct 15, 2004
    Ignore-this: 4a008721f96a477753360cea58c1e7f3
    
    darcs-hash:20041015002747-c2f2e-583412eaca97a49dbe23d285ed3cf6ea70ff1961.gz
  2. *** empty log message ***

    monnier committed Oct 15, 2004
    Ignore-this: 31a0ff82e84264b87cb621ba0dc20699
    
    darcs-hash:20041015002718-c2f2e-4ffda90400114a10fb69ad2a811dbc20348a06a8.gz
  3. Set things up so that mode-hook functions are not

    monnier committed Oct 15, 2004
    Ignore-this: 8e532de73b6a3293996759be45ed8f22
    Set things up so that mode-hook functions are not
    necessary, and generic functions can be used instead, like
    global-font-lock-mode.
    (haskell-enum-from-to): Remove.
    (turn-on-haskell-font-lock): Make obsolete.
    (haskell-running-xemacs): Remove.
    (haskell-mode-syntax-table): Fiddle with non-ascii chars.
    Fix up comment syntax in XEmacs.
    (haskell-vars): Improve comment-start-skip.
    Add comment-end-skip.  Setup imenu, eldoc, and font-lock.
    Tweak handling of tabs to be on the safe side.
    (haskell-mode-hooks): Declare and mention some useful ideas.
    (literate-haskell-mode): Simplify.
    (haskell-comment-indent): Remove.  The default works as well.
    
    darcs-hash:20041015002448-c2f2e-3c5d3c1974efb332b8bd5c887886b1779a2007be.gz
  4. (haskell-ds-match-string): Use match-string-no-properties if available.

    monnier committed Oct 15, 2004
    Ignore-this: ddf735a7e50d256756662bb258e7cba5
    (haskell-ds-match-string): Use match-string-no-properties if available.
    (haskell-ds-syntax-table): Use haskell-mode-syntax-table.
    (haskell-ds-imenu-label-cmp): Use car-less-than-car if available.
    (haskell-ds-imenu): Remove obsolete incorrect code.
    
    darcs-hash:20041015002015-c2f2e-17e3e1222a70328b274801681c477a3cc9d15c54.gz
Commits on Oct 14, 2004
  1. Remove level 1 fontification.

    monnier committed Oct 14, 2004
    Ignore-this: 205218f778fe9a1cfd041755d02b5991
    Remove level 1 fontification.
    (haskell-font-lock-keywords-1, haskell-font-lock-keywords-2)
    (bird-literate-haskell-font-lock-keywords-1)
    (bird-literate-haskell-font-lock-keywords-2)
    (latex-literate-haskell-font-lock-keywords-1)
    (latex-literate-haskell-font-lock-keywords-2): Remove.
    (bird-literate-haskell-font-lock-keywords)
    (latex-literate-haskell-font-lock-keywords): Rename.
    (haskell-font-lock-keywords-create): Remove `level' arg.
    (haskell-fl-syntax): Remove.  Assume the major modes sets it right.
    (haskell-font-lock-choose-keywords)
    (haskell-font-lock-choose-syntactic-keywords): New funs.
    (haskell-font-lock-defaults-create): Use them.
    (turn-off-haskell-font-lock, turn-on-haskell-font-lock): Simplify.
    
    darcs-hash:20041014230818-c2f2e-f969e43bec0bc3a6a40dbd12791a9c193d5f6bd6.gz
  2. (haskell-hugs-mode): Use define-derived-mode.

    monnier committed Oct 14, 2004
    Ignore-this: e8f1f9ad7294107cff9cf54b8e1cf249
    (haskell-hugs-mode): Use define-derived-mode.
    (run-hugs): New alias.
    (haskell-hugs-wait-for-output): Don't loop if the process is dead.
    
    darcs-hash:20041014230100-c2f2e-8c2ef652a1c35c293f51366562f93e5924d59b39.gz
  3. (haskell-font-lock-compose-symbol): New fun.

    monnier committed Oct 14, 2004
    Ignore-this: af97d55c2ff382862b1e5b22a6a6aa50
    (haskell-font-lock-compose-symbol): New fun.
    (haskell-font-lock-symbols-keywords): Use it.
    (haskell-string-char-face): Remove.
    (haskell-font-lock-keywords-create): Hardcode font-lock-string-face.
    (haskell-fl-syntax): Fix typos.  Keep " as a string delimiter.
    
    darcs-hash:20041014195253-c2f2e-5fc43d429d1baa02408025606911a01ac7c7b437.gz
  4. *** empty log message ***

    monnier committed Oct 14, 2004
    Ignore-this: f8b659410039e66387144ed835f61ff6
    
    darcs-hash:20041014004728-c2f2e-02cf4ece876e29ad2141ce5425abdd68e45932d9.gz
  5. (haskell-doc): New group.

    monnier committed Oct 14, 2004
    Ignore-this: 6d6702fabc777564b4e98d36846d99a2
    (haskell-doc): New group.
    (haskell-doc-show-reserved, haskell-doc-show-prelude)
    (haskell-doc-show-strategy, haskell-doc-show-user-defined)
    (haskell-doc-chop-off-context, haskell-doc-chop-off-fctname):
    Make them custom vars.
    (haskell-doc-keymap): Declare and fill it right there.
    (haskell-doc-mode): Simplify.
    (haskell-doc-toggle-var): Make it into what it was supposed to be.
    (haskell-doc-mode-print-current-symbol-info): Simplify.
    (haskell-doc-current-info): New autoloaded function.
    (haskell-doc-sym-doc): New fun extracted from haskell-doc-show-type.
    (haskell-doc-show-type): Use it.
    (haskell-doc-wrapped-type-p): Remove unused var `lim'.
    (haskell-doc-forward-sexp-safe, haskell-doc-current-symbol): Remove.  Unused.
    (haskell-doc-visit-home): Don't require ange-ftp, it's autoloaded.
    (haskell-doc-install-keymap): Simplify.
    
    darcs-hash:20041014004522-c2f2e-83c9da91ac80bba9829a2c6f65b6993383a4cb50.gz
  6. (literate-haskell-ds-create-imenu-index)

    monnier committed Oct 14, 2004
    Ignore-this: 438509be6a588cf969769b1efbc9b6ba
    (literate-haskell-ds-create-imenu-index)
    (haskell-ds-generic-create-imenu-index): Remove.
    (haskell-ds-bird-p): New function.
    (haskell-ds-backward-decl, haskell-ds-forward-decl): Use it.
    (haskell-ds-create-imenu-index): Use it to make it generic.
    (haskell-ds-imenu): Remove now-unused arg.
    (turn-on-haskell-decl-scan): Fix up call to haskell-ds-imenu.
    (haskell-ds-running-xemacs): Remove.
    (haskell-ds-func-menu-next): Make generic.
    (literate-haskell-ds-func-menu-next): Delete.
    (haskell-ds-func-menu): Remove unused arg.
    (turn-on-haskell-decl-scan): Simplify.
    
    darcs-hash:20041014002620-c2f2e-99ebee838521bfff9265407e02a8da0922db83e7.gz
  7. Don't load CL at runtime.

    monnier committed Oct 14, 2004
    Ignore-this: 78fd1d9825f2075774d7c4e3b7188f44
    Don't load CL at runtime.
    (haskell-indent-start-of-def, haskell-indent-type-at-point):
    Don't hardcode point-min
    
    darcs-hash:20041014000246-c2f2e-63d527167a7156a9ba5d9bcb4a24998e5c16fd5f.gz
Commits on Oct 11, 2004
  1. patches from Stefan <monnier@iro.umontreal.ca>.

    simonmar committed Oct 11, 2004
    Ignore-this: ba7cef63b05d4a4a98c8cb3b74e095c7
    patches from Stefan <monnier@iro.umontreal.ca>.
    He says:
    
    The patch below does the following things:
    - Clean up the changes introduced by Dave Love.  I.e. merge back the Emacs-21
      code and the non-Emacs-21 code so it's more maintainable (I hate code
      duplication with a passion).
    - Add a feature `haskell-font-lock-symbols' which turns -> and \ into actual
      arrow and lambda symbols.  In Emacs-21.3, if you turn on this feature but
      you don't have the appropriate fonts, you'll see square boxes instead :-(.
      In future Emacsen (e.g. Emacs-CVS) the feature should work better and only
      use the symbols for which you have the font(s).
    - Re-enable toplevel declaration highlighting (and fix them up a bit).
    - Don't create new faces.  Instead, use an indirection through variables
      (which can be made buffer-local or can point to new faces).
    - Use standard font-lock faces where possible.
    - Various simplifications.
    - Fix up a problem in \(x,y) -> x+y where the first ( was not counted
      because it was considered quoted by the \.
    - Make the commenting of bird-style non-code more robust.
    
    This has only really been tested with Emacs-CVS.  It is supposed to work as
    well as before on Emacs-20/21 and on XEmacs, but I may of course have
    introduced some misbehavior.
    
    darcs-hash:20041011125957-63964-2bd68d8dc6991ece0ddd7b1f2bae1d3630e97d1d.gz