Commit Graph

367 Commits

Author SHA1 Message Date
Daniel Gröber
4084e9aafc Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2015-08-14 10:38:23 +02:00
Daniel Gröber
97124afc4c Bump version to 5.3.0.0 2015-08-14 10:36:33 +02:00
Kazu Yamamoto
8a0c4be12b defining ghc-debug-options. 2015-08-14 16:47:44 +09:00
Kazu Yamamoto
90061facb9 checking if (buffer-file-name) returns non-nil just in case. 2015-08-14 16:38:49 +09:00
Kazu Yamamoto
1c19d91813 don't check if the file does not exist. 2015-08-14 16:22:57 +09:00
Daniel Gröber
9d5f0ad23d Clarify some docs/strings in elisp/ 2015-08-14 09:19:43 +02:00
Kazu Yamamoto
4df2046672 cleaning up the error scrolling. 2015-08-14 14:21:07 +09:00
Kazu Yamamoto
cfddddcfe8 error buffer is now read-only. 2015-08-14 13:23:20 +09:00
Kazu Yamamoto
f762209e60 using new ghc-mod. 2015-08-14 13:23:20 +09:00
Kazu Yamamoto
efef2b19ea scrolling errors. 2015-08-14 13:23:19 +09:00
Kazu Yamamoto
002008aa30 splitting stdout and stderr. 2015-08-14 13:23:19 +09:00
Kazu Yamamoto
54c2be20b6 better debug logging of Elisp. 2015-08-14 13:23:19 +09:00
Kazu Yamamoto
143d17f925 removing ghc-modi-ver which is not defined. 2015-08-13 11:22:40 +09:00
Kazu Yamamoto
dc3ce15512 caching a project root to a local variable. 2015-08-13 11:22:40 +09:00
Kazu Yamamoto
de448f8ade layout only. 2015-08-12 12:58:47 +09:00
Kazu Yamamoto
475b2ea02e Revert "don't silently ignore case when ghc process is already running in ghc-with-process"
This reverts commit ac31e6edc2.
2015-08-12 12:10:33 +09:00
Kazu Yamamoto
be2b3f0ea7 Revert "Fix typo to set process running status"
This reverts commit b52c0a5d76.
2015-08-12 12:10:14 +09:00
Daniel Gröber
c71528c574 Don't look for ghc-modi in ghc-debug, fix 2015-08-10 06:44:21 +02:00
Anthony Cowley
3bf4243baf Serialize check-syntax
- Wait for ghc-mod to be ready before trying to check a buffer
- Times out after 10s with an error
- Only check-syntax visible buffers
- check-syntax when switching to a buffer
2015-07-08 18:12:13 -04:00
Gracjan Polak
fbe0800856 Add haskell-mode dependency in pkg file 2015-05-25 01:10:53 +02:00
Iku Iwasa
b52c0a5d76 Fix typo to set process running status 2015-05-22 15:46:27 +02:00
Markus Hauck
a1f6bf6582 Limit overlays to actual position of error
Conflicts:
	elisp/ghc-check.el
2015-05-22 13:25:41 +02:00
Sergey Vinokurov
ac31e6edc2 don't silently ignore case when ghc process is already running in ghc-with-process 2015-05-19 21:00:54 +03:00
Sergey Vinokurov
05b9445f6e fix and improve ghc-check-highlight-original-buffer 2015-05-15 13:42:27 +03:00
Daniel Gröber
e202fabc39 elisp: Fix usage of legacy-interactive 2015-05-06 23:13:24 +02:00
Daniel Gröber
aa75d2213e ghc-mod's type result is not a guess! 2015-05-06 16:16:47 +02:00
Daniel Gröber
644ee82a02 elisp: fix non expanded path comparison 2015-05-06 16:16:13 +02:00
Kevin Boulain
45c5a06117 turn-off-haskell-font-lock and turn-on-haskell-font-lock functions have been removed from haskell-mode 2015-05-05 14:55:59 +02:00
Anthony Cowley
de3d3a5f19 Fix .
Expand path relative to the project root directory.
2015-05-05 14:51:08 +02:00
Daniel Gröber
3c76ba412f Start rolling ghc-modi into the ghc-mod executable 2015-05-05 14:47:42 +02:00
Kei Hibino
eb5d0fc867 Re-add output line separator global option for expand command. 2015-03-05 17:45:48 +01:00
Kazu Yamamoto
af7b910394 Merge pull request from iquiw/master
Update extract module regexp for unicode quotes
2014-12-01 11:48:42 +09:00
Kazu Yamamoto
bf085ce8f1 Yet another fix for . 2014-12-01 11:44:39 +09:00
Kazu Yamamoto
fb2dc5fca5 Fixing a race (). 2014-11-29 12:57:23 +09:00
Iku Iwasa
3a88db6c2b Update extract module regexp for unicode quotes
GHC-7.8.x uses U+2018 and U+2019 for quotes.

Also do not call ghc-resolve-document-path if module cannot be extracted
in case of local functions.
2014-11-29 12:11:06 +09:00
Iku Iwasa
7c4765bdef Remove timeout from loop in ghc-sync-process
This fixes the possibility that ghc-process-running was left non-nil
after timeout.
Quit still can abort the loop.
2014-11-26 23:34:20 +09:00
Kazu Yamamoto
44a38782d8 Avoid use of discard-input. Fix . 2014-11-19 09:09:10 +09:00
Daniel Gröber
dbd94c4765 Revert ""expand" specifies "-b"."
No idea what this was supposed to do, there's no mention of
any -b option anywhere that I can find.

This reverts commit f23b0db4df.
2014-11-03 00:45:56 +01:00
Daniel Gröber
f55c264d67 Set version to "0" in master 2014-10-31 12:45:16 +01:00
Kazu Yamamoto
357694c6cc removing spaces. 2014-09-19 11:52:00 +09:00
Kazu Yamamoto
35a9da34a0 Revert "removing spaces."
This reverts commit 986eedcc75.
2014-09-16 12:22:18 +09:00
Kazu Yamamoto
986eedcc75 removing spaces. 2014-09-16 12:03:12 +09:00
Kazu Yamamoto
1baf56130f Merge pull request from randen/ControlU-Fix
Don't turn C-u into a prefix command
2014-08-29 11:04:23 +09:00
Kazu Yamamoto
d283367bfe Merge pull request from ttuegel/master
Use advice to check syntax on save-buffer
2014-08-29 10:51:52 +09:00
randen
b9acbf7713 Don't turn C-u into a prefix command
* elisp/ghc.el
  * There are many ways to fix issue  so this is
    just one example and may not fit the style you
    prefer, so please feel free to use or not.
    It is easy to work-around the issue by setting
    ghc-initial-sig-key to another key combination
    before ghc-init, but it would be nice to have a
    fix. The use of C-u for this binding seems to
    be just as a flag, thus this change takes
    the simplest fix to achieve that purpose.
2014-08-25 17:19:17 -07:00
Alejandro Serrano
6cf472168c Try to fix each error only once 2014-08-24 13:29:12 +02:00
Thomas Tuegel
f675ad4163 Use advice to check syntax on save-buffer 2014-08-23 21:49:03 -05:00
Kazu Yamamoto
607919e815 making case-split work even if the target is highlighted. 2014-08-20 14:44:24 +09:00
Kazu Yamamoto
a483f4f8b6 error messages are stored after NG, not printed in stderr. 2014-08-19 14:56:01 +09:00
Kazu Yamamoto
0fd8b9afd8 first try to resolve . 2014-08-18 16:55:41 +09:00