Commit graph

35 commits

Author SHA1 Message Date
Takafumi Arakaki
a1ddf7a7a9 Rename: ein-cached -> ein-async 2013-07-10 21:14:58 +02:00
Takafumi Arakaki
5845dc6e35 Remove unused code from ein-ac.el 2013-07-10 21:14:58 +02:00
Takafumi Arakaki
372c7f619c Disable caching complete candidates
ein:ac-clear-cache takes too much time by the result of profiler.el.
Also, as ac-source-ein-cached sends request in background [1], there is
no need for caching anymore.

[1] 865a96f3d2
2013-07-10 21:14:58 +02:00
Takafumi Arakaki
819e3e3df3 Fix: unintended text was inserted by dot-complete 2013-06-05 01:38:56 +02:00
Takafumi Arakaki
fe682db22d Fix compile warnings in ein-ac.el and ein-jedi.el 2013-02-13 21:32:36 +01:00
Takafumi Arakaki
a5a246c734 Check ein:kernel-live-p in ein:ac-* functions 2013-02-13 21:06:50 +01:00
Takafumi Arakaki
865a96f3d2 Make completion happen really automatically 2012-12-07 22:20:35 +01:00
Takafumi Arakaki
b501948d6d Do not expand common part by ein:completer-dot-complete
* Change the call signature of completer callback, to
  pass arguments to completer callback.
* Use expand option to suppress auto expansion when
  used as dot-complete.
2012-12-06 16:52:56 +01:00
Takafumi Arakaki
a1466a15d1 Fix ein:ac-chunk-regex: handle string literal
fixes #86
2012-12-06 15:05:56 +01:00
Takafumi Arakaki
26e093c044 Simplify ein:completer-finish-completing-ac
As ein:jedi-complete does not use ein:jedi-complete,
SOURCES optional argument is not needed anymore.
2012-12-05 23:41:12 +01:00
Takafumi Arakaki
b794e5a05c Simplify ein:jedi-complete 2012-12-05 23:34:24 +01:00
Takafumi Arakaki
723c8af780 Refactoring: ein:completer-finish-completing-ac can take SOURCES argument 2012-11-19 20:46:36 +01:00
Takafumi Arakaki
2344691f67 group-n is not defined in Emacs 23 2012-09-12 16:44:51 +02:00
Takafumi Arakaki
920ffa5cd3 Tweak ein:ac-chunk-regex to complete "~/PATH/..." 2012-09-11 00:57:53 +02:00
Takafumi Arakaki
5d4f2c3e89 Add ein:ac-setup to ein:notebook-mode-hook
This way, I don't need to add hooks for each specific notebook mode.
Previously ein:notebook-org-src-mode-hook has no ein:ac-setup.
This change fix this problem.
2012-09-11 00:46:28 +02:00
Takafumi Arakaki
197fa4d7d1 Use "official" way to complete dotty chunk 2012-09-11 00:29:10 +02:00
Takafumi Arakaki
91861e8fd2 Add ein:ac-chunk-candidates-from-list 2012-09-11 00:18:17 +02:00
Takafumi Arakaki
2627157e60 Add section headers in ein-ac.el 2012-09-11 00:13:45 +02:00
Takafumi Arakaki
ca8c1678fe (require 'ein-utils) -> (require 'ein-core) 2012-08-28 15:26:32 +02:00
Takafumi Arakaki
281d09a5f5 Rename: ein:@connect -> ein:%connect%
%s/\_<ein:@\(connect\)\_>/ein:%\1%/g

Define obsolete alias, as user might use this variable.
2012-08-18 23:03:07 +02:00
Takafumi Arakaki
733e68284a Rename: ein:notebook -> ein:%notebook%
%s/\_<ein:notebook\_>/ein:%notebook%/g

Define obsolete alias, as user might use this variable.
2012-08-18 22:59:31 +02:00
Takafumi Arakaki
73cadcaaa4 Use generic getters in ein-pytools.el 2012-08-14 21:05:05 +02:00
Takafumi Arakaki
559a439e4c Move comment to docstring in ein:ac-setup-maybe 2012-08-11 17:59:58 +02:00
Takafumi Arakaki
8ab408aa53 Add more comments on ein:ac-setup-maybe 2012-08-11 17:55:32 +02:00
Takafumi Arakaki
81c338c655 Fix ein:ac-config 2012-08-11 17:21:31 +02:00
Takafumi Arakaki
c57235d458 Add a comment on ein:ac-setup-maybe 2012-08-11 17:12:57 +02:00
Takafumi Arakaki
cb21a52450 Avoid error when compiling ein-ac.el w/o MuMaMo 2012-08-11 15:51:35 +02:00
Takafumi Arakaki
3722d04adb Avoid error when loading/compiling ein-ac.el
if auto-complete is not on load-path
2012-08-11 15:49:26 +02:00
Takafumi Arakaki
12fae49898 Fix arguments of other callbacks
Any callbacks called from ein:kernel--handle-shell-reply are passed
metadata.  Therefore, complete/tooltip callbacks must be changed.
2012-08-08 23:27:07 +02:00
Takafumi Arakaki
ac29aa2e8a No auto-complete drop-down list when no matches 2012-08-04 04:28:21 +02:00
Takafumi Arakaki
b90e18f1ff Do not duplicate "~" in path when completing
fixes #26
2012-07-25 19:34:21 +02:00
Takafumi Arakaki
182cfe8672 Add debug logs in finish-completing functions 2012-07-23 20:33:46 +02:00
Takafumi Arakaki
8522f849ae Monkey patch ac-update in superpack
AC help was not shown for the first candidate when the AC menu
is popped up first time.  This change fixes the bug.
2012-07-08 14:48:58 +02:00
Takafumi Arakaki
fcf42847a1 Add auto-completion help in the superpack
fixes #15
2012-07-08 14:39:13 +02:00
Takafumi Arakaki
d1031fd61e mv *ein*.el ein.py lisp/
fixes #6
2012-07-02 16:47:20 +02:00
Renamed from ein-ac.el (Browse further)