Commit Graph

396 Commits

Author SHA1 Message Date
Daniel Gröber
e7a186a103 elisp: Fix excessive use of map-file
We still don't do unmap-file but this should alleviate the problem
somewhat since most commands won't actually use map-file.
2015-12-12 01:43:16 +01:00
Daniel Gröber
8f4752ebd6 Merge pull request #649 from robstewart57/master
Adds report-ghc-errors to turn off *GHC Error* buffer when nil
2015-10-13 21:19:57 +02:00
Rob Stewart
138c711dc1 Adds ghc-report-errors to turn off *GHC Error* buffer when nil
ghc-mod now writes GHC errors to a new *GHC Error* buffer only if
report-ghc-errors has the value `t`. If a user wants to silence this
buffer, they should evaluate the following s-expression.

    (setq ghc-report-errors nil)

Fixes kazu-yamamoto/ghc-mod#618
2015-10-10 23:52:36 +01:00
Alan Zimmerman
1d370f5866 Speed up map-file loading 2015-09-30 21:31:07 +02:00
Daniel Gröber
2c90e7a700 Bump version to 5.4.0.0 2015-09-16 05:30:07 +02:00
Kazu Yamamoto
aad7cdebe5 fixing doc (#599). 2015-09-15 16:50:25 +09:00
Kazu Yamamoto
545f0557f2 ensuring that root ends with a file separator. 2015-09-15 12:14:36 +09:00
Kazu Yamamoto
ac2d8ba134 kill buffer hook run only for haskell-mode. 2015-09-15 11:32:16 +09:00
Kazu Yamamoto
ad5a343d2e ensuring that ghc-mod is executed on the root dir. 2015-09-15 11:31:54 +09:00
Kazu Yamamoto
6488f1070d boot skips map-file. 2015-09-14 15:09:34 +09:00
Kazu Yamamoto
52016b6210 using ghc-get-project-root only when it is necessary. 2015-09-14 15:02:34 +09:00
Kazu Yamamoto
935c51eb1c nicer messages. 2015-09-14 14:58:00 +09:00
Kazu Yamamoto
983059101c adding kill-buffer-hook. 2015-09-14 14:57:47 +09:00
Kazu Yamamoto
71c8361911 making loop safer. 2015-09-14 07:46:22 +02:00
Hiromi Ishii
74ba886fa1 Fixed variable binding miss 2015-09-13 18:20:11 +09:00
Hiromi Ishii
7db740c2af Fixed #561 2015-09-13 16:42:48 +09:00
Kazu Yamamoto
e23e682793 Revert "Serialize check-syntax" (#567)
This reverts commit 3bf4243baf.
2015-08-31 14:13:52 +09:00
Kazu Yamamoto
8a2e490592 ghc-debug now displays the output of "ghc-mod debug". (#571) 2015-08-28 10:24:19 +09:00
Kazu Yamamoto
7e908fcd5e Using "^import +". (#570) 2015-08-27 10:42:28 +09:00
Kazu Yamamoto
26d72b0b88 supporting map-file in Emacs frontend. 2015-08-20 11:33:55 +09:00
Kazu Yamamoto
f0a98cf64f removing unused variable. 2015-08-20 09:58:35 +09:00
Kazu Yamamoto
afe8f69ab9 removing unused variable. 2015-08-20 09:58:35 +09:00
Kazu Yamamoto
531a731da1 preventing "unused variable" warnings. 2015-08-20 09:58:35 +09:00
Kazu Yamamoto
24510719b8 adding "make lint" for Elisp. 2015-08-20 09:58:35 +09:00
Kazu Yamamoto
c3dff64389 M-t now replace type hole. (#545). 2015-08-19 15:21:59 +09:00
Daniel Gröber
97c632fbd7 Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2015-08-18 04:39:58 +02:00
Anthony Cowley
b4bb930037 Improved documentation browsing on OS X.
Opening a tab in Safari using AppleScript preserves URL anchors. The use
of this function may be toggled with a new customization option.
2015-08-17 15:36:21 -04:00
Kazu Yamamoto
3e0c06f50a Highlighting even strings with spaces. (#547) 2015-08-17 15:43:34 +09:00
Kazu Yamamoto
61922e249f fixing a bug that the cursor stays in the error buffer. 2015-08-17 15:17:14 +09:00
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 #526 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