Commit Graph

398 Commits

Author SHA1 Message Date
Kazu Yamamoto
755fa41fc0 ver bumps up for ghc.el. 2014-07-15 11:54:39 +09:00
Kazu Yamamoto
d68f7b2d18 removing a warning of elisp. 2014-07-07 10:34:20 +09:00
Kazu Yamamoto
648f914ac5 ghc-debug displays PATH env. 2014-07-07 10:34:06 +09:00
Alejandro Serrano
5db4044f29 Use a struct for accessing initial info data 2014-07-02 17:04:28 +02:00
Alejandro Serrano
3ef1979f67 Case splitting works in Emacs! 2014-06-26 21:17:22 +02:00
Alejandro Serrano
5fa536714f Initial code generation working
- Added fallback with haskell-src-exts
2014-06-22 18:03:34 +02:00
Alejandro Serrano
90abb89a98 Inserting instance initial body now works :) 2014-06-22 11:10:23 +02:00
Alejandro Serrano
5a968225c3 Initial skeleton for case split in elisp 2014-06-17 18:15:36 +02:00
Kazu Yamamoto
f9e912e425 fix #271 2014-06-16 10:21:15 +09:00
Kazu Yamamoto
2d8faed072 using buffer-live-p (#256). 2014-05-14 06:45:31 +09:00
Kazu Yamamoto
94c4ae205d setting sentinel. 2014-05-14 06:39:50 +09:00
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
Kazu Yamamoto
5ca0da14ec ver bumps up. 2014-04-03 16:31:17 +09:00
Kazu Yamamoto
ef266374c0 defining ghc-preferred-modules. 2014-03-31 16:04:44 +09:00
Kazu Yamamoto
fa0d97cf24 displaying also a function name. 2014-03-31 15:55:15 +09:00
Kazu Yamamoto
ea915993fa insert vs highlight. 2014-03-31 15:44:50 +09:00
Kazu Yamamoto
bfdc884708 making multiple same errors to a single. 2014-03-31 15:14:16 +09:00
Kazu Yamamoto
1e4dce2944 implementing ghc-jump-file. 2014-03-31 14:58:41 +09:00
Kazu Yamamoto
63acecf0b5 displaying qualified prefix. 2014-03-31 14:15:05 +09:00
Kazu Yamamoto
c05ad5f47c allowing completion, for instance, for "[Byte" to "[ByteString". 2014-03-31 14:09:21 +09:00
Kazu Yamamoto
2cfcf60789 Displaying "-:-" when checking. 2014-03-31 12:08:17 +09:00
Kazu Yamamoto
f959a8029e ver bumps up. 2014-03-31 11:01:32 +09:00
Kazu Yamamoto
6519bfe029 chaning colors. 2014-03-31 10:37:05 +09:00
Kazu Yamamoto
a47d77fb2f C-cC-k kills a process. 2014-03-30 11:54:17 +09:00
Kazu Yamamoto
2db2358a98 fixing a bug of ghc-debug. 2014-03-28 15:05:14 +09:00
Kazu Yamamoto
7c0f2511d0 hlint options. 2014-03-28 14:41:12 +09:00
Kazu Yamamoto
87926e699b M-C-d now can display the doc even in the sandbox. 2014-03-28 12:55:17 +09:00
Kazu Yamamoto
d3d9eb1e2c Data.ByteString cannot be loaded if not specified in cabal file. 2014-03-27 14:24:38 +09:00
Kazu Yamamoto
cb9db4fd1a catching up the spec check. 2014-03-27 14:23:32 +09:00
Kazu Yamamoto
9906ee137b ghc-debug for ghc-process. 2014-03-27 13:10:43 +09:00
Kazu Yamamoto
d7b9b83857 adding comments. 2014-03-27 12:44:09 +09:00
Kazu Yamamoto
bf935c5741 don't save the buffer for hlint. 2014-03-27 12:27:09 +09:00
Kazu Yamamoto
9ab0f4bf19 hlint again in Elisp. 2014-03-27 10:35:09 +09:00
Kazu Yamamoto
d7869c76ac removing comments. 2014-03-27 10:26:35 +09:00
Kazu Yamamoto
83c597396c bug fix for ByteSring. 2014-03-27 09:39:55 +09:00
Kazu Yamamoto
05057029d5 adding more pragmas. 2014-03-26 15:01:11 +09:00
Kazu Yamamoto
102ae7654b removing the last null charactors.
WARNING: prabably breaking backward compatibility.
2014-03-26 11:32:54 +09:00
Kazu Yamamoto
324f9093a0 adding Data.ByteString for booting. 2014-03-26 11:32:33 +09:00
Kazu Yamamoto
40a81cad74 inserting qualified module. 2014-03-26 11:32:08 +09:00
Kazu Yamamoto
2e2e8a8b99 implementing help-echo. 2014-03-26 10:46:34 +09:00
Kazu Yamamoto
649a35ab72 fixing infloop. 2014-03-25 22:39:59 +09:00
Kazu Yamamoto
62df0fa871 fringe hack. 2014-03-25 22:30:19 +09:00
Kazu Yamamoto
f97cc2e096 inserting a module for type. 2014-03-25 22:05:33 +09:00
Kazu Yamamoto
a16dc3d040 check results are displayed in mode-line. 2014-03-25 16:40:07 +09:00
Kazu Yamamoto
58b64cc9e2 skipping lang extents. 2014-03-25 16:02:26 +09:00
Kazu Yamamoto
e9b3b44631 comment. 2014-03-25 15:59:53 +09:00
Kazu Yamamoto
a6f6dbffe4 ghc-merge-lines. 2014-03-25 15:57:59 +09:00
Kazu Yamamoto
ce87ab328a magical module name. 2014-03-25 15:23:08 +09:00
Kazu Yamamoto
97b3de7328 M-t inserts module or undefine. 2014-03-25 14:58:20 +09:00
Kazu Yamamoto
dc6424454e ghc-insert-module now uses ghc-modi. 2014-03-25 14:29:18 +09:00
Kazu Yamamoto
a786ad9025 fixing regex. 2014-03-25 10:35:07 +09:00
Kazu Yamamoto
9b67baafba ghc-modi takes "cmd arg". 2014-03-24 17:32:06 +09:00
Kazu Yamamoto
9b629a0afb Errors does not have "Error" prefix. 2014-03-20 18:15:51 +09:00
Kazu Yamamoto
114631f581 adding todo. 2014-03-20 18:15:30 +09:00
Kazu Yamamoto
3038024a84 removing ghc-flymake-jump. 2014-03-20 18:08:30 +09:00
Kazu Yamamoto
4e16602c7e hilit for insert-template. 2014-03-20 18:06:04 +09:00
Kazu Yamamoto
92f4b72a12 layout. 2014-03-20 17:55:20 +09:00
Kazu Yamamoto
ebc1499d13 ok/ng hack. 2014-03-20 17:39:56 +09:00
Kazu Yamamoto
ee6dc2fc47 ghc-mod root. 2014-03-20 16:21:48 +09:00
Kazu Yamamoto
1a1ee0f3ae fixing sentinel. 2014-03-20 16:21:41 +09:00
Kazu Yamamoto
3f01b15a3e ghc-goto-next-error. 2014-03-20 15:32:54 +09:00
Kazu Yamamoto
3e64fb2935 ghc-check-display-errors. 2014-03-19 22:57:05 +09:00
Kazu Yamamoto
0564042b48 adding ghc-check.el finally.
Still developping.
2014-03-19 15:03:03 +09:00
Kazu Yamamoto
b05f308d3c fixing strange usage of defstruct. 2014-03-19 15:02:29 +09:00
Kazu Yamamoto
5aa5d3cbca ver bumps up. 2014-03-15 10:10:10 +09:00
Kazu Yamamoto
01298837e0 typos. 2014-03-14 21:35:30 +09:00
Kazu Yamamoto
661f1a3813 stopping using goto-line. 2014-03-14 14:13:52 +09:00
Kazu Yamamoto
ba53968d28 loading module info if non-nil. 2014-03-14 14:08:37 +09:00
Kazu Yamamoto
6ae822f00e defining ghc-debug. 2014-03-14 14:01:07 +09:00
Kazu Yamamoto
90cc99f203 fixing a bug to call ghc-mod twice. 2014-03-14 14:00:38 +09:00
Kazu Yamamoto
63e59cbebd defining ghc-executable-find. 2014-03-13 22:21:58 +09:00
Kazu Yamamoto
fc72e6ee0d symbol bug fix. 2014-01-13 13:21:58 +09:00
Kazu Yamamoto
e6423adcf8 guarding an error. 2014-01-12 11:54:13 +09:00
Kazu Yamamoto
84b6a1fbd7 catching up the latest flymake. 2013-12-18 15:53:29 +09:00
Kazu Yamamoto
b6af880407 ajusting the number of column (#162). 2013-11-19 14:14:49 +09:00
Yuta Taniguchi
b7fea5aff1 Take account of the absence of a corresponding value to '?\C-h' in the table
The table 'keyboard-translate-table' doesn't necessarily have a value at
the position '?\C-h'.
2013-10-13 02:49:18 +09:00
Steve Purcell
6abd8a3eaa Fix package name in ghc-pkg.el
The public name of this package is "ghc", based on the package names on both Marmalade and Melpa, and on the name of the ghc-pkg.el file. This commit fixes the contents of the -pkg.el file so that the name specified therein matches the external package name.
2013-05-20 15:40:01 +02:00
Kazu Yamamoto
92833da809 asking expression. 2013-05-20 17:04:18 +09:00
Kazu Yamamoto
5959791e25 removing gzip. 2013-05-20 16:19:23 +09:00
Kazu Yamamoto
3c885f3edc ver bumps up. 2013-05-20 16:17:35 +09:00
Kazu Yamamoto
8290758b2f adding "bump" and "archive" 2013-05-20 16:17:16 +09:00
Kazu Yamamoto
929026cb6d C-M-d now can display functions and types in a browser. 2013-04-02 15:20:20 +09:00
Kazu Yamamoto
dc0519b16d adding comment. 2013-03-05 15:26:33 +09:00
Kazu Yamamoto
a884e3444e flymake hack for Emacs 23 or later. 2013-03-05 15:21:43 +09:00
Syohei YOSHIDA
81052efe64 Fix 'ghc-show-info' when cursor is on space
'ghc-show-info' asks for user to enter expression if 'ghc-thing-at-point'
returns nil. Because 'ghc-display-information' failed such case.
2012-11-30 09:48:45 +09:00
Kazu Yamamoto
5189977cbc Moving find-file-hook to ghc-comp-init. 2012-10-30 16:47:29 +09:00
Kazu Yamamoto
e284080fca Using indent-rigidly. 2012-08-10 09:21:09 +09:00
Kazu Yamamoto
549e045673 Using executable-find instead of ghc-which. 2012-08-10 09:10:42 +09:00
Kazu Yamamoto
256eec740c Calling save-buffer interactively.
from Troels Henriksen.
2012-08-03 12:44:28 +09:00
Kazu Yamamoto
8fbdfac52b ver bumps up. 2012-06-28 11:04:29 +09:00
Zsolt Dollenstein
cbb76a4d79 flymake no longer saves the buffer 2012-06-24 12:37:09 +02:00
Kazu Yamamoto
38fae2a648 ver bumps up. 2012-06-13 18:19:55 +09:00
Kazu Yamamoto
4207b80fdb setting after-save-hook to nil in ghc-flymake-init. 2012-06-13 18:16:39 +09:00
Kazu Yamamoto
29243c626c adding what it is. 2012-06-13 13:56:39 +09:00
Kazu Yamamoto
621d320c3f Merge pull request #37 from tarsius/master
follow header conventions
2012-06-12 21:55:21 -07:00
Kazu Yamamoto
43e560afdd ver bumps up. 2012-06-08 17:59:29 +09:00
Kazu Yamamoto
b743a8a890 module name that "where" locates in the next line. 2012-06-07 18:42:39 +09:00
Kazu Yamamoto
cb2eb3f1b3 ver bumps up. 2012-06-04 16:06:01 +09:00
Kazu Yamamoto
111058562a ver bumps up. 2012-04-16 16:09:49 +09:00
Kazu Yamamoto
66234a7787 ignoring stderr. 2012-04-16 16:09:31 +09:00
Kazu Yamamoto
1a6f8c2b7a ver bumps up. 2012-04-16 11:03:08 +09:00