Commit Graph

287 Commits

Author SHA1 Message Date
Kazu Yamamoto
7d81a357f7 making ghc-mod-running a global var (##255). 2014-05-14 05:25:37 +09:00
Kazu Yamamoto
7af19f5400 fixing a comment. 2014-05-14 05:07:33 +09:00
Kazu Yamamoto
ce28a67e28 checking if the buffer exists (#256). 2014-05-14 05:05:49 +09:00
Bryan O'Sullivan
0650cbd359 Check Emacs version at start
I ran into this when I tried to use ghc-mod with Emacs 24.2, and
got a mysterious error telling me that defvar-local was not defined.
2014-04-30 16:19:23 -07:00
Kazu Yamamoto
0d494f3c8e (discard-input) avoids getting stuck. 2014-04-28 21:27:27 +09:00
Kazu Yamamoto
248a999f99 t of (sit-for 0.1 t) has a bug, so do not use it. 2014-04-28 09:13:14 +09:00
Kazu Yamamoto
4d2ef23f33 passing 'ok/'ng to callback. 2014-04-27 21:51:44 +09:00
Kazu Yamamoto
2aa47fc449 proper message for debugging. 2014-04-26 21:00:28 +09:00
Kazu Yamamoto
f23b0db4df "expand" specifies "-b". 2014-04-26 14:31:33 +09:00
Kazu Yamamoto
abc660cdfe showing GHC version. 2014-04-25 22:03:09 +09:00
Kazu Yamamoto
3e812a8bfe M-x ghc-debug. 2014-04-25 14:31:09 +09:00
Kazu Yamamoto
f50e5229c4 NG contains an error. 2014-04-25 11:08:29 +09:00
Kazu Yamamoto
4011826a6b ver bumps up. 2014-04-24 22:22:23 +09:00
Kazu Yamamoto
e2369e6772 rescue the coming Emacs 24.4. 2014-04-24 17:14:10 +09:00
Kazu Yamamoto
b9d4b9b66f inserting template for type constructor. 2014-04-23 15:57:13 +09:00
Kazu Yamamoto
b4bb249131 fixing M-t with test cases. 2014-04-23 14:51:29 +09:00
Kazu Yamamoto
e3798ac82a ghc-with-process takes two hooks. 2014-04-22 12:33:26 +09:00
Kazu Yamamoto
2e1df9c21f ghc-with-process takes an optional hook. 2014-04-22 11:32:51 +09:00
Kazu Yamamoto
6f9ceb94e2 giving up loading Data.ByteString. 2014-04-21 20:36:16 +09:00
Kazu Yamamoto
69cacb0865 giving up idle-timer.
- cannot avoid race
- not friendly with cradle.
2014-04-21 20:14:44 +09:00
Kazu Yamamoto
0bb71c2bfc adding comments. 2014-04-21 17:42:32 +09:00
Kazu Yamamoto
b873784424 ghc-import-module is not called from a hook now. 2014-04-21 17:39:45 +09:00
Kazu Yamamoto
067d3b7535 obsoleting a function. 2014-04-21 17:37:41 +09:00
Kazu Yamamoto
36e32ab1b2 ghc-import-module uses ghc-modi browse. 2014-04-21 17:35:32 +09:00
Kazu Yamamoto
3dc8e345b2 fixing/disabling idle timer. 2014-04-21 17:35:10 +09:00
Kazu Yamamoto
e4f4ef52c0 making use of ghc-run-ghc-mod. 2014-04-21 11:37:33 +09:00
Kazu Yamamoto
19453e67d7 ghc-with-process now takes string for the first argument. 2014-04-21 09:46:33 +09:00
Kazu Yamamoto
30843b02ea using ghc-modi for C-cC-t. 2014-04-19 21:22:40 +09:00
Kazu Yamamoto
f8be944f12 using ghc-modi for C-cC-i. 2014-04-19 20:48:26 +09:00
Kazu Yamamoto
122c8da7b0 using ghc-add. 2014-04-19 20:09:47 +09:00
Kazu Yamamoto
f9a8361bca comment. 2014-04-19 20:07:12 +09:00
Kazu Yamamoto
47f95149e3 stop using 0 as the line separator. 2014-04-19 16:14:02 +09:00
Kazu Yamamoto
9cd3d521d4 Supporting GHC 7.8's unicode quote. 2014-04-09 15:17:51 +09:00
Kazu Yamamoto
02af334b94 imports Data.ByteString, System.FilePath, and System.Directory at booting. 2014-04-08 13:56:33 +09:00
Kazu Yamamoto
69ec168c7b errors over warnings (#212). 2014-04-08 13:42:41 +09:00
Kazu Yamamoto
b8423a2ce6 refactoring. 2014-04-08 13:35:16 +09:00
Kazu Yamamoto
4cd0a25ecb adding two mods to preferred. 2014-04-07 22:05:59 +09:00
Kazu Yamamoto
6be743c90a removing trailing \n for minibuf. 2014-04-07 15:23:18 +09:00
Kazu Yamamoto
f50d81769b Merge pull request #210 from notogawa/remove-redundancy
remove minibuffer error message redundancy.
2014-04-07 15:08:43 +09:00
Kazu Yamamoto
e537624e65 ver bumps up. 2014-04-07 15:04:27 +09:00
Kazu Yamamoto
4b9b26655a checking buffer-read-only. 2014-04-07 14:59:53 +09:00
notogawa
720a01326e remove minibuffer error message redundancy. 2014-04-07 14:56:50 +09:00
Kazu Yamamoto
58e0b91e65 elisp doc update. 2014-04-07 14:51:24 +09:00
Rohan Jain
a21178d2af Use temporary buffer for ghc-display
Instead of opening a normal editable buffer (in which editing text does
not make a lot of sense), use Emacs's temporary buffer. Benefits:

   - Read only: Text cannot be modified when focused.
   - Much easier to close (press q), after reading or copying from the
     warning/error.

Signed-off-by: Rohan Jain <crodjer@gmail.com>
2014-04-07 12:52:58 +09:00
Kazu Yamamoto
cc519edc98 fixing #204. 2014-04-07 12:02:10 +09:00
Kazu Yamamoto
894c94e48d comment. 2014-04-07 09:19:23 +09:00
kiripon
52358d084e fix filepath handling in windows 2014-04-06 09:36:49 +01:00
Kazu Yamamoto
051dc7c888 moving a variable to a proper place. 2014-04-05 22:39:22 +09:00
notogawa
86feaea7c5 fix for https://github.com/kazu-yamamoto/ghc-mod/pull/206#issuecomment-39628265 2014-04-05 09:53:28 +09:00
Noriyuki OHKAWA
a5c62acec9 display error message to minibuffer when goto next/prev error. 2014-04-04 23:52:09 +09:00