Commit Graph

398 Commits

Author SHA1 Message Date
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
Kazu Yamamoto
3330e93912 ver bumps up. 2012-04-10 10:06:45 +09:00
Kazu Yamamoto
f71358c4d0 Making post-command-hook local-variable is riskey. 2012-04-05 17:23:25 +09:00
Kazu Yamamoto
41fe35b691 integrating display functions. 2012-03-06 17:12:15 +09:00
Kazu Yamamoto
3178393c85 ver bumps up. 2012-03-06 16:04:31 +09:00
Kazu Yamamoto
662bcb8126 path hack. 2012-03-06 16:03:47 +09:00
Kazu Yamamoto
1b2437a60e reverting file path and C-cC-j. 2012-03-02 21:36:58 +09:00
Kazu Yamamoto
18b6eec6ad Defining C-< and C-> for indentation. 2012-02-28 20:38:50 +09:00
Kazu Yamamoto
2c320d4032 ver bumps up. 2012-02-27 13:02:02 +09:00
Kazu Yamamoto
6aea177fcb ghc-expand-th. 2012-02-27 12:53:33 +09:00
Kazu Yamamoto
e795b35502 error "foo" instead of undefined. 2012-02-27 11:03:27 +09:00
Kazu Yamamoto
e875778b49 M-t insert "foo _ _ = undefined" for non-exhaustive pattern. 2012-02-27 11:01:18 +09:00
Kazu Yamamoto
35c312b009 for GHC 7.0.x. 2012-02-21 16:35:28 +09:00
Kazu Yamamoto
4d0832fa0f Merge branch 'master' of github.com:kazu-yamamoto/ghc-mod 2012-02-20 17:15:44 +09:00
Kazu Yamamoto
d3c37585ef ver bumps up. 2012-02-20 17:13:33 +09:00
Sudish Joseph
09bc036fcc Add autoload cookie for ghc-init.
This allows use of loaddefs.el in el-get.
2012-02-18 12:23:41 -05:00
Kazu Yamamoto
964d1f8409 ver bumps up. 2012-02-16 17:47:02 +09:00
Kazu Yamamoto
b9f5c8f9f4 Main is passed if not exist. 2012-02-16 14:50:15 +09:00
Kazu Yamamoto
dced95031a ver bumps up. 2012-02-15 11:22:55 +09:00
Kazu Yamamoto
c51557b9bc defining clear-overlay. 2012-02-15 11:20:24 +09:00
Kazu Yamamoto
952c255696 cosmetic change. 2012-02-15 11:03:51 +09:00
Takahiro HIMURA
c99c448c65 Fixed the conflicts with the package which modify (buffer-name) value. 2012-02-14 22:27:48 +09:00
Kazu Yamamoto
0bee9c5d2f ver bumps up. 2012-02-14 13:37:31 +09:00
Kazu Yamamoto
1e1b729e15 refactoring on convert. 2012-02-14 11:33:27 +09:00
Kazu Yamamoto
7e45a03532 ver bumps up. 2012-02-13 17:13:47 +09:00
Kazu Yamamoto
b86b3245e0 [Char]->String. 2012-02-13 17:13:27 +09:00
Kazu Yamamoto
f2be5ea5e8 removing overlay when cursor moved. 2012-02-13 17:01:13 +09:00
Kazu Yamamoto
034bb89579 nil guard. 2012-02-13 13:48:41 +09:00
Kazu Yamamoto
11eb321ff6 annot -> type. 2012-02-13 13:38:06 +09:00
Kazu Yamamoto
a43985a735 annot -> type. 2012-02-13 13:23:04 +09:00
Kazu Yamamoto
f497aa1213 refoctoring elisp. 2012-02-13 12:06:59 +09:00
Kazu Yamamoto
23f4365150 detect. 2012-02-13 10:49:23 +09:00
Hideyuki Tanaka
63ec23c162 delete overlay 2012-02-13 01:25:49 +09:00
Hideyuki Tanaka
9d1fe778a6 add elisp 2012-02-13 01:01:58 +09:00
Kazu Yamamoto
cd4a839f35 ver bumps up. 2012-02-09 17:00:20 +09:00
Kazu Yamamoto
e8a494d426 elisp's ver. 2012-02-08 18:34:07 +09:00
Kazu Yamamoto
fb0deb1abd ver bumps up. 2012-02-06 18:24:09 +09:00
Kazu Yamamoto
b7945d8859 ver bumps up. 2012-02-02 15:19:28 +09:00
Jonas Bernoulli
97a71ff129 follow header conventions 2012-01-28 19:11:09 +01:00
Kazu Yamamoto
a5746be927 cosmetic change. 2012-01-23 18:37:50 +09:00
Kazu Yamamoto
34d22ee1d5 Applicative hack. 2012-01-23 18:30:07 +09:00
Kazu Yamamoto
cc6a2d7070 insert module hack. 2012-01-23 15:12:24 +09:00
Kazu Yamamoto
4e87e389e5 ver bumps up. 2012-01-23 14:41:23 +09:00
Conal Elliott
a0216361ed Added support for auto-completing option flags and pragmas 2012-01-22 20:18:40 -08:00
Kazu Yamamoto
9a8ad11659 ver bumps up. 2012-01-06 16:56:33 +09:00
Kazu Yamamoto
2cc43498fa nil check. 2012-01-06 11:12:28 +09:00
Kazu Yamamoto
432de2e4f9 Using "hoogle search". 2011-12-28 17:04:47 +09:00
Kazu Yamamoto
94efd2f250 ver bumps up. 2011-12-28 15:22:33 +09:00
Kazu Yamamoto
f5d3a9f650 ins-mod hack. 2011-12-27 16:42:44 +09:00
Kazu Yamamoto
94be5c3760 inserting module. 2011-12-27 16:28:02 +09:00
Kazu Yamamoto
3a47b525fb capitalize -> upcase. 2011-12-26 16:27:55 +09:00
Kazu Yamamoto
100178c8ad capitalize mod name. 2011-12-16 11:01:11 +09:00
Kazu Yamamoto
921c002321 ver bumps up. 2011-12-02 13:07:52 +09:00
Kazu Yamamoto
79f4cda668 ver bumps up. 2011-11-27 17:25:21 +09:00
Kazu Yamamoto
c7d370e5b1 ver bumps up. 2011-11-25 10:29:47 +09:00
HIBINO Kei
fe13f74c16 Update elisps enable to pass ghc options widely. 2011-11-15 20:40:25 +09:00
khibino
3db0d17352 Merge branch 'master' into ghc_option 2011-11-02 17:20:43 +09:00
khibino
1fb0d1d4a8 Remove check includes option of ghc-mod check command. Now, we can pass all ghc options to ghc-mod check. 2011-11-02 16:23:19 +09:00
Kazu Yamamoto
ad1b959820 ver bumps up.
We will break backward compatibility.
2011-10-20 11:22:24 +09:00
khibino
cbed907038 Simply passing GHC options to ghc-mod check command. 2011-10-19 19:09:36 +09:00
Kazu Yamamoto
182db0e584 keybinding for hoogle. 2011-10-05 10:40:31 +09:00
Kazu Yamamoto
ac09c56cfd Emacs 22 does not support :risky. 2011-08-03 11:18:35 +09:00
Kazu Yamamoto
26c0d77c79 ver up. 2011-08-03 10:31:00 +09:00
Andrew Sackville-West
b6d99e279c implement includes options for check 2011-08-02 11:18:07 -07:00
Kazu Yamamoto
ce1123395b ver up. 2011-05-24 16:01:47 +09:00
Kazu Yamamoto
8bb0c27b0b ver up. 2011-04-12 15:07:15 +09:00
Kazu Yamamoto
a4a3be93eb inserting signature for GHC 7. 2011-03-25 13:00:08 +09:00
Kazu Yamamoto
4de6cb3d43 version up. 2011-03-19 11:07:17 +09:00
Kazu Yamamoto
d460ad2ed2 fixing the bug of "\n". 2011-03-07 11:03:48 +09:00
Kazu Yamamoto
7ad9cca220 version 0.5.3. 2011-01-31 10:43:32 +09:00
Kazu Yamamoto
09d465c428 fix a bug of gussed type. 2011-01-14 13:52:41 +09:00
Kazu Yamamoto
7e9d992def perfect insertion of guessed type. 2011-01-14 13:38:12 +09:00
Kazu Yamamoto
7aa6cf6ef0 C-cC-t for type and C-cC-i for info. 2010-11-18 16:42:19 +09:00
Kazu Yamamoto
39409f2239 "info" and "type" can display it even if the source file is broken. 2010-11-17 17:07:33 +09:00
Kazu Yamamoto
ae22ff40d4 current dir hack for ghc-info.el. 2010-11-17 14:41:38 +09:00
Kazu Yamamoto
11f1341fe5 defining "info" for "ESC i". 2010-11-15 14:46:59 +09:00
Kazu Yamamoto
fc67daae89 version 0.5.0. 2010-11-15 12:48:01 +09:00
Kazu Yamamoto
30924fa26d M-C-t for showing type. 2010-11-15 12:46:55 +09:00
Kazu Yamamoto
0fd39e9b56 improving insertion of type for forall. 2010-11-10 17:03:56 +09:00
Kazu Yamamoto
6bac8141db fixing a bug of doc-browsing. 2010-11-10 11:47:54 +09:00
Kazu Yamamoto
a5d12ad707 adding defstruct. 2010-10-28 16:24:45 +09:00
Kazu Yamamoto
a133d60484 adding a newline. 2010-10-28 16:19:19 +09:00
Kazu Yamamoto
04c44083b5 Merge branch 'master' of git://github.com/dschoepe/ghc-mod into dschoepe-master 2010-10-28 15:59:18 +09:00
Kazu Yamamoto
dfea3320a7 cosmetic change. 2010-10-28 15:57:39 +09:00
Daniel Schoepe
aaf72e536b Fix breakage caused by previous commit 2010-10-27 21:45:15 +02:00
Daniel Schoepe
3017ea063e Minor correction in ghc-resolve-package 2010-10-27 21:03:28 +02:00
Daniel Schoepe
562441deb6 Don't discard version number in ghc-resolve-package
and match last (i.e. newest) rather than first listed
package.
2010-10-27 20:55:31 +02:00
Kazu Yamamoto
14014e1a5e completion for module vs funcs. 2010-08-03 12:26:25 +09:00
Kazu Yamamoto
c234e4547f version 0.4.4. 2010-07-16 19:48:42 +09:00
Kazu Yamamoto
c41e3e5cdf bug fix for resolution of package name. 2010-07-16 19:46:15 +09:00
Kazu Yamamoto
22b0343eea bug fix for module name completion in mini-buffer. 2010-07-16 19:02:23 +09:00
Kazu Yamamoto
0cdccce0ff bug fix for resolution of package name. 2010-07-16 18:59:04 +09:00
Kazu Yamamoto
fd6cb3ebf9 more specific regex. 2010-06-28 14:08:10 +09:00
Kazu Yamamoto
2740a265cb fixing a completion problem of Mod.Mod vs X.func. 2010-06-27 21:35:49 +09:00
Kazu Yamamoto
b3523951c5 ask GHC for pretty printing to GHC instead of pretifying in Elisp. 2010-06-25 21:45:32 +09:00
Kazu Yamamoto
b3d9b12688 fixing a bug of func = undefined. 2010-06-25 20:31:46 +09:00
Kazu Yamamoto
266ac30133 pretty printing hack. 2010-06-21 11:31:06 +09:00
Kazu Yamamoto
b548f1dbcf pretty print. 2010-06-14 15:39:26 +09:00
Kazu Yamamoto
91859329ae pretty print for extra info. 2010-06-14 14:42:17 +09:00
Kazu Yamamoto
5296ccf38d Extra info for GHC warnings. 2010-06-14 14:27:35 +09:00
Kazu Yamamoto
badaea4eff M-t for hlint. An error/warning place is replaced with suggestion
but not perfect.
2010-06-14 14:26:14 +09:00
Kazu Yamamoto
ca50279546 backport since module can't be completed. 2010-06-14 14:25:06 +09:00
Kazu Yamamoto
2e28a09aa9 defvar -> defconst. 2010-06-14 12:03:14 +09:00
Kazu Yamamoto
f30eb343b0 hlint options can be specified from ghc-hlint-options. 2010-06-14 11:56:35 +09:00
Kazu Yamamoto
da8975c03f adding '.' for completion start point. 2010-06-14 10:57:43 +09:00
Kazu Yamamoto
5dd3bb83eb elisp hack for Hlint API. 2010-06-08 11:23:58 +09:00
Kazu Yamamoto
6e6e1c9ad7 Does not allow C-cC-c when hlint does not exist. 2010-05-29 13:33:54 +09:00
Kazu Yamamoto
dc9c2c7fce typo error fix. 2010-05-12 15:00:08 +09:00
Kazu Yamamoto
2f1ab4e71d replacing [Char] with String when inserting inferred type.
Johannes Krause <cjay>
2010-05-12 14:55:01 +09:00
Kazu Yamamoto
cf16c62c3a adding ghc-command.el in cabal. 2010-05-12 09:56:09 +09:00
Kazu Yamamoto
bb363c92e7 integrating hlint. 2010-05-06 15:29:55 +09:00
Kazu Yamamoto
fde44468a6 load multiple modules at ones. 2010-05-04 17:52:16 +09:00
Kazu Yamamoto
c4979bd04f cosmetic change. 2010-05-04 16:35:40 +09:00
Kazu Yamamoto
86e398ac92 removing unnecessary vars. 2010-05-04 12:50:44 +09:00
Kazu Yamamoto
baa65be4a6 insert foo = undefined if "No inferred type".
insert guessed type even if it is contains in second line or later.
2010-05-04 12:14:33 +09:00
Kazu Yamamoto
5c4ded0630 Param -> Types. 2010-04-30 18:36:31 +09:00
Kazu Yamamoto
fb7f0c9802 removing ghc and ghci options. 2010-04-28 23:28:33 +09:00
Kazu Yamamoto
27f42b6c90 use symbols. 2010-04-26 17:26:25 +09:00
Kazu Yamamoto
61ebb031f4 bug fix for ESC-m. 2010-04-23 18:51:07 +09:00
Kazu Yamamoto
b8b22daba9 version up. 2010-04-23 18:39:52 +09:00
Kazu Yamamoto
e847ed6dab C-xC-s now checks syntax even if not modified. 2010-04-23 18:38:11 +09:00
Kazu Yamamoto
585ebe5e1d require dabbrev. 2010-04-23 18:37:48 +09:00
Kazu Yamamoto
2fca797f42 abbrev hack. 2010-04-23 18:21:22 +09:00
Kazu Yamamoto
9af4a74abe bug fix of insertion of "undefined" in eob. 2010-04-22 14:16:56 +09:00
Kazu Yamamoto
51a533202a Inserting templates and sorting imports. 2010-04-13 23:29:48 +09:00
Kazu Yamamoto
a163fa4636 completion for language! 2010-04-02 15:37:04 +09:00
Kazu Yamamoto
c574a48055 display hack. 2010-04-02 14:39:02 +09:00
Kazu Yamamoto
7518d60fcb throw any menu. use a buffer to display errors instead. 2010-04-01 11:58:44 +09:00
Kazu Yamamoto
95218aae07 fix regex for warning. 2010-03-31 23:39:00 +09:00
Kazu Yamamoto
4aef34e352 search ".exe" also. 2010-03-30 12:05:35 +09:00
Kazu Yamamoto
c22c3bafae adding "qualified" and "hiding" 2010-03-17 22:37:11 +09:00
Kazu Yamamoto
14ef0f8372 M-t inserts inferred type! 2010-03-14 22:39:45 +09:00
Kazu Yamamoto
793c999cd8 improving doc. 2010-03-12 13:39:38 +09:00
Kazu Yamamoto
940a8eb089 changing key-bindings. 2010-03-12 13:22:39 +09:00
Kazu Yamamoto
2f20d1a9ac hacking ghc-flymake-init. 2010-03-12 11:55:11 +09:00
Kazu Yamamoto
fd04ebfe11 output-dir. 2010-03-12 00:20:02 +09:00
Kazu Yamamoto
133086e1a8 adding doc. 2010-03-11 22:47:05 +09:00
Kazu Yamamoto
ed5d50b6f9 introducing -i, -g, and -p. 2010-03-11 22:39:07 +09:00
Kazu Yamamoto
1e445097b7 integrating flymake. 2010-03-11 19:03:17 +09:00
Kazu Yamamoto
f1a0e079db get the latest path. 2010-03-11 14:15:28 +09:00
Kazu Yamamoto
4fd1aa963a C-uM-C-d browse hackage. 2010-03-10 16:51:42 +09:00
Kazu Yamamoto
387bf83f37 better loading of symbols.
symbols of modules are loaded when a Haskell file is opened on
Emacs. idle timer is still effective. M-C-e is obsoleted.
M-C-m loads symbols of all un-loaded modules.
2010-03-10 15:54:27 +09:00
Kazu Yamamoto
cfa7466eef saving window configration. 2010-03-10 15:33:18 +09:00
Kazu Yamamoto
a7c09d35b0 removing Debug.Trace. 2010-03-10 12:02:14 +09:00
Kazu Yamamoto
46e84b59e2 Removing trailing white spaces. 2010-02-19 23:43:03 +09:00
Kazu Yamamoto
8ae67a5f66 warning msg if ghc-mod does not exist. 2010-01-07 10:51:05 +09:00
Kazu Yamamoto
dee57710ab soft coding: EMACS. 2010-01-07 10:50:54 +09:00
Kazu Yamamoto
e9c4ec4e4b ESC C-e to process the module. 2010-01-06 14:39:30 +09:00
Kazu Yamamoto
35f60507c6 initial import (v0.1) 2010-01-06 14:38:06 +09:00