Commit graph

707 commits

Author SHA1 Message Date
Leonardo de Moura
30a1876fc8 feat(library/init/meta): add add_aux_decl and abstract tactics 2017-02-05 16:00:47 -08:00
Sebastian Ullrich
523a576bbe fix(emacs/lean-flycheck): typo 2017-02-04 13:50:22 -08:00
Gabriel Ebner
44a4b55c26 fix(emacs): keep transient marks in command hooks 2017-02-04 13:50:14 -08:00
Sebastian Ullrich
1bcdbf38bd feat(emacs/lean-flycheck): Next Error: show all errors at current or next position 2017-02-01 18:48:45 -08:00
Sebastian Ullrich
c3a655fdae fix(emacs/lean-server): check if current buffer is still there when handling response 2017-02-01 18:48:45 -08:00
Sebastian Ullrich
6eded75702 fix(emacs/lean-flycheck): show running tasks when highlighting disabled or not in current file 2017-02-01 18:48:45 -08:00
Leonardo de Moura
77a9feaf70 refactor(frontends/lean): PType ==> Sort
see #1341
2017-01-30 11:54:00 -08:00
Leonardo de Moura
bf9f7560f7 feat(frontends/lean): (Type u) can't be a proposition
(Type u)  is the old (Type (u+1))
(PType u) is the old (Type u)
Type*     is the old (Type (_+1))
PType*    is the old Type*

The stdlib can be compiled, but we still have > 70 broken tests

See discussion at #1341
2017-01-30 11:54:00 -08:00
Sebastian Ullrich
e8a387b724 fix(emacs/lean-info): do not update info windows during text selection
Fixes #1332
2017-01-25 18:33:19 -08:00
Sebastian Ullrich
3f65690706 feat(emacs/lean-server): print out entire server response on error 2017-01-19 17:50:36 -08:00
Sebastian Ullrich
cc1553d901 fix(emacs/lean-server): dump response before trying to parse it 2017-01-19 17:50:36 -08:00
Gabriel Ebner
ecdd17738d feat(emacs): add toggle for pending task highlight 2017-01-19 17:49:35 -08:00
Gabriel Ebner
bf20be51d5 chore(emacs/lean-server): put face into lean group for customization 2017-01-18 08:32:53 -08:00
Gabriel Ebner
be6b81db07 chore(emacs): remove lean-flycheck-use option 2017-01-18 08:32:53 -08:00
Gabriel Ebner
9b63ceff91 chore(emacs/lean-project): remove old project file contents 2017-01-18 08:32:53 -08:00
Gabriel Ebner
9530a7db1c chore(emacs): remove unused options 2017-01-18 08:32:53 -08:00
Gabriel Ebner
c601b9c7bd fix(emacs/lean-server): set safe value of json-false in lean-server-send-command 2017-01-17 17:10:37 -08:00
Gabriel Ebner
8f9e57231a feat(emacs/lean-server): update messages and tasks immediately when server is finished 2017-01-17 17:10:37 -08:00
Gabriel Ebner
7d9c89b519 feat(emacs/lean-server): show skullbones as soon as server dies 2017-01-17 17:10:37 -08:00
Gabriel Ebner
a230c47178 feat(util/task_queue,emacs,*): highlight running tasks with different background color 2017-01-17 17:10:37 -08:00
Sebastian Ullrich
59055fd5d0 feat(emacs): new and improved goal and next error buffers 2017-01-17 16:38:00 -08:00
Sebastian Ullrich
568862ea91 chore(emacs): remove unimplemented binding C-c C-p 2017-01-17 16:38:00 -08:00
Gabriel Ebner
ab539971a6 fix(emacs/lean-flycheck): only update next-error-mode for current buffer 2017-01-12 13:51:43 -08:00
Sebastian Ullrich
83bddce900 feat(frontends/lean/info_manager,shell/server,emacs/lean-type): info: provide more metadata
* docs: attributes, options, identifiers
* location: attributes, imports
2017-01-11 15:29:14 +01:00
Sebastian Ullrich
3ae4d0fbee feat(shell/completion,emacs/lean-company): provide doc string and location with completion candidate 2017-01-10 16:19:32 +01:00
Sebastian Ullrich
2b374cd517 fix(emacs/lean-company): do not highlight prefix of non-prefix match 2017-01-10 12:25:33 +01:00
Gabriel Ebner
7770e87f69 fix(emacs/lean-server): disable undo and hide process buffers 2017-01-06 14:01:50 -08:00
Leonardo de Moura
27aa8ae4ed chore(emacs/README): remove fill-column-indicator 2017-01-03 11:26:57 -08:00
Scott Morrison
54ee157fa9 fix(emacs): bug in suggested Emacs init
The original code set the variable `lean-required-packages`, but then expected `lean-mode-required-packages`.

I've also added a hint about where to find your emacs init file; this was something I had to learn to follow these instructions.

A question for follow-up: the requirements sections states that `fill-column-indicator` is a dependency, but the suggested init file does not attempt to install this. Should this be fixed?
2017-01-03 11:25:58 -08:00
Sebastian Ullrich
2b0d458094 chore(emacs/lean-util): delete old code 2016-12-27 21:41:02 -08:00
Sebastian Ullrich
3e2d1de21a perf(shell/server,emacs): do not actually compute completions during preliminary 'complete' requests 2016-12-27 21:41:02 -08:00
Sebastian Ullrich
d228c24c81 feat(shell/server,emacs): autocompletion based on server-side parsing 2016-12-27 21:41:02 -08:00
Sebastian Ullrich
47264ef6fd fix(shell/server,emacs/lean-flycheck): do not report tiny tasks as current 2016-12-27 10:07:34 -08:00
Sebastian Ullrich
0b5e488954 fix(emacs/lean-server): do not invoke error callback when nil 2016-12-27 10:07:34 -08:00
Sebastian Ullrich
c9a8c02fdc feat(emacs,frontends/lean/parser,shell/server): more accurate info command using server-side parsing 2016-12-27 10:07:34 -08:00
Sebastian Ullrich
aae15901ac fix(emacs): make sure lean-server-sync is executed in the correct buffer 2016-12-18 23:48:15 -08:00
Sebastian Ullrich
29ef580e43 fix(emacs/lean-server): try to reduce flickering of error list 2016-12-18 13:44:06 -08:00
Sebastian Ullrich
b2d28f5ac5 fix(emacs): do not query user before exiting emacs >= 25 2016-12-15 09:48:02 -08:00
Gabriel Ebner
28705052bd fix(emacs/lean-server): allow restarting dead server 2016-12-12 12:40:40 -08:00
Gabriel Ebner
d5bca10af8 feat(shell/server,emacs): show currently executing task if even from another file 2016-12-12 12:40:40 -08:00
Gabriel Ebner
902df5d134 feat(shell/server,emacs): show list of currently running tasks 2016-12-12 12:40:40 -08:00
Gabriel Ebner
a24490a06a fix(emacs/lean-server): wrap correct function with save-match-data
In emacs 24, apparently just setting a timer changed the match data...
2016-12-11 11:17:28 -08:00
Gabriel Ebner
f8479762a1 fix(emacs/lean-server): make sure all timers are wrapped in save-match-data 2016-12-11 08:30:00 -08:00
Jeremy Avigad
7155e8114b refactor(src/emacs/*): remove dependence on fill-column-indicator 2016-12-08 14:53:09 -08:00
Gabriel Ebner
bcc92af237 fix(emacs/load-lean): require unicode-fonts package 2016-12-08 10:44:47 -08:00
Gabriel Ebner
5ee7076ae9 fix(emacs): update readme 2016-12-08 07:14:55 -08:00
Gabriel Ebner
bd69544663 fix(emacs/lean-server): start server in the directory of the file 2016-12-06 17:45:12 -08:00
Gabriel Ebner
45d0525e52 feat(shell,emacs): new lean server protocol 2016-12-06 17:14:29 -08:00
Gabriel Ebner
92f07720f2 refactor(emacs/load-lean): install emacs dependencies directly from (M)ELPA 2016-12-02 16:50:50 -08:00
Leonardo de Moura
a76c2d37a7 chore(bin,src,src/emacs): delete linja 2016-11-29 14:14:42 -08:00