Soonho Kong
05cfb21c4c
fix(emacs/lean-server.el): split findp info only up-to 1
...
close #446
2015-02-27 20:04:13 -05:00
Soonho Kong
db1fba3ddc
fix(emacs/lean-server.el): lean-server-trace-buffer-name was changed to a function
2015-02-25 14:21:23 -05:00
Soonho Kong
a791953705
chore(emacs/lean-server): make lean-server-restart-all-processes interactive
2015-02-13 19:41:41 -05:00
Soonho Kong
6bcd1a9980
feat(emacs/lean-server): add support for hlean/standard minor-mode
...
Related issue: #389 , #398 , #400 , #428
2015-02-13 19:41:41 -05:00
Leonardo de Moura
30817aa2b1
feat(emacs): allow user to provide extra commands to lean-server
2015-01-15 16:54:55 -08:00
Soonho Kong
cae543e665
chore(emacs): remove unnecessary requires
2014-10-31 16:01:10 -07:00
Soonho Kong
53f79ec9c2
feat(emacs): extract proof state information attached to ","
2014-10-29 14:33:05 -07:00
Soonho Kong
78e9854bae
fix(emacs): support tabs in a file
...
Fix #226
2014-10-07 14:42:35 -07:00
Soonho Kong
7ea9c32ec8
feat(emacs/lean-server): send SYNC command when visiting a modified buffer
...
Close #201
2014-10-03 10:11:21 -07:00
Soonho Kong
fffb4e6019
feat(emacs/lean-server): delete cache file (.clean) after visit/load
...
fix #75
2014-10-03 10:11:21 -07:00
Soonho Kong
91f789c3db
feat(emacs/lean-cmd): add SYNC command
2014-10-02 17:30:03 -07:00
Soonho Kong
72beb438e6
fix(emacs/lean-server): merge server-trace-mode to debug-mode
2014-10-01 14:38:23 -07:00
Soonho Kong
9161a6a210
fix(emacs/lean-type): change where to trigger eldoc
...
Previously, eldoc is triggered regardless of current position.
Now, it is triggered:
- *NOT* looking-at whitespace or
- looking-back end-parens such as ')', '}', ']', etc
2014-09-17 00:24:30 -07:00
Soonho Kong
75ab5e07d6
feat(emacs/lean-option): save lean-options to lean-global-option-alist
2014-09-15 09:46:06 -07:00
Soonho Kong
563cfa73ec
feat(emacs/lean-changes): handle before/after-revert
2014-09-12 14:25:08 -07:00
Soonho Kong
27ae03878c
refactor(emacs/lean-server): rename flush-changed-lines to server-flush-changed-lines
2014-09-12 14:25:08 -07:00
Soonho Kong
c034c54f50
refactor(emacs/debug): rename lean-server-debug to lean-debug
2014-09-12 14:25:08 -07:00
Soonho Kong
389fe02597
fix(emacs/lean-server): handle modified buffer only when process start
2014-09-11 12:40:10 -07:00
Soonho Kong
733c0e4a77
chore(emacs/lean-server): make trace-mode and debug-mode non-local vars
2014-09-11 12:34:23 -07:00
Soonho Kong
4b556a41ed
feat(emacs/lean-server): async task queue holds type of cmds as well
2014-09-11 04:09:21 -07:00
Soonho Kong
565402f3d6
feat(lean-server): handle signals (error/quit) in continuations
...
Related with #158
2014-09-11 04:07:50 -07:00
Soonho Kong
5b28480809
chore(emacs/lean-server): send signal info to lean-server-trace
2014-09-11 04:04:20 -07:00
Soonho Kong
b05ca1db0f
fix(emacs/lean-tags): handle exceptions from find-tag
2014-09-10 14:14:42 -07:00
Soonho Kong
b51e8dd1b9
fix(emacs/lean-server): respect order of messages in check-buffer-and-partition
2014-09-10 14:14:42 -07:00
Soonho Kong
7c4debd1d1
feat(emacs/lean-server): handle modified buffer when send VISIT cmd
...
Close #159
2014-09-10 14:14:42 -07:00
Soonho Kong
cab1811927
feat(emacs/lean-server): print out signal event to debug buffer
2014-09-10 09:07:16 -07:00
Soonho Kong
ba6dc59d5f
fix(emacs/lean-server): missing 'rx' at the beginning of regex
2014-09-09 13:47:09 -07:00
Soonho Kong
70dcc2e122
fix(emacs): use looking-at instead of char-after
2014-09-09 13:22:58 -07:00
Soonho Kong
3682ca32d2
feat(emacs/lean-company): call FINDG if cursor is at "_"
2014-09-08 16:04:20 -07:00
Soonho Kong
4f604544c4
feat(emacs/lean-cmd): add WAIT command
2014-09-08 16:04:19 -07:00
Soonho Kong
bc640510aa
feat(emacs/lean-cmd): add FINDG cmd
2014-09-08 16:04:19 -07:00
Soonho Kong
5c89e70a23
fix(emacs/lean-server): use process-query-on-exit-flag to kill
...
lean-server automatically on exit
To fix a problem mentioned in #147
2014-09-07 22:29:09 -04:00
Soonho Kong
bd17d07ebc
fix(emacs/lean-server): limit the number of NAY retries
...
Also, only retry when there is no continuation other than the current
one.
2014-09-05 23:08:19 -07:00
Soonho Kong
a1e00bb216
refactor(emacs/lean-server): restructure async queue handling routine
2014-09-05 16:09:45 -07:00
Soonho Kong
a72df90022
feat(emacs/lean-server): add debug-mode, trace-mode
2014-09-05 15:33:59 -07:00
Soonho Kong
e77966932d
feat(emacs/lean-server): scroll debug buffer
2014-09-05 15:33:59 -07:00
Soonho Kong
3b574ef31d
feat(emacs/lean-server): kill the server before emacs exit
...
Close #138
2014-09-05 07:49:19 -07:00
Soonho Kong
3ba4e553fe
refactor(emacs/lean-server): clean up
2014-09-05 06:59:01 -07:00
Soonho Kong
0652198eca
feat(emacs/lean-server): add sync/async send-cmd
2014-09-04 16:32:08 -07:00
Soonho Kong
677f4af801
feat(emacs/lean-server): add debug print
2014-09-04 16:32:07 -07:00
Soonho Kong
cae2ab7dfb
feat(emacs/lean-cmd): add FINDP cmd
2014-09-04 16:32:07 -07:00
Soonho Kong
fdc20800ca
chore(emacs/lean-server): clean up debugging message
2014-09-03 10:12:17 -07:00
Soonho Kong
e802883b03
feat(emacs/lean-option): show the current value of an option
...
close #125
2014-09-03 08:09:41 -07:00
Soonho Kong
975841e53b
feat(emacs): use lexical scope for lean-info and lean-server
2014-09-03 00:54:42 -07:00
Soonho Kong
88410bf278
feat(emacs/lean-server): support SHOW and VALID
...
Implement lean-server-show and lean-server-valid functions.
Close #116
2014-09-03 00:50:31 -07:00
Soonho Kong
72e1dfa296
feat(emacs): implement non-blocking communication
...
The key idea is to pass a continuation function when we call
lean-server-send-cmd function. The passed continuation function is
called by lean-server-event-handler. Until the buffer is ready, the
event handler will be called in interval (lean-server-retry-time, 0.1
sec by default). When we have 'NAY' for INFO command, it will re-send
INFO commands to lean-server until we have one without 'NAY'.
Close #123
2014-09-03 00:50:31 -07:00
Soonho Kong
b4a80f83af
feat(emacs/lean-server): accept "BEGININFO .*" pattern
2014-09-02 10:37:03 -07:00
Soonho Kong
50465a2d06
feat(emacs/lean-option): provide candidates and validation for lean-set-option
...
Close #106
2014-09-01 18:31:12 -07:00
Soonho Kong
a47dada27f
feat(emacs/lean-server): add 'SLEEP ms' for trace
2014-08-30 07:51:53 -07:00
Soonho Kong
ad1111cb21
feat(emacs/lean-server): add *lean-server-trace* buffer
...
Fix #115 .
2014-08-30 07:38:12 -07:00