Commit graph

22 commits

Author SHA1 Message Date
dickmao
bc10cea743 Normalize url-or-port
```
"http://localhost:8888"
"http://localhost:8888/"
"http://127.0.0.1:8888"
"http://127.0.0.1:8888/"
"8888"
8888
```

Ideally these should converge to the same thing.  Since many hash
tables are keyed off `url-or-port`, forgetting to
normalize `url-or-port` with `ein:url` leads to missed cache hits and
general malaise.  So we try to do that.

Address a FIXME: apply callbacks to `ein:notebook-list-login-and-open`.

Removed py3.5 from travis build matrix to reduce developer strain.
2018-10-12 21:55:33 -05:00
John Miller
85968e476c ein-jedi: Truly integrate jedi into ac backend.
Until now autocompletion was using kernel complete mechanism regardless of
`ein:completion-backend' setting.
2017-08-03 08:50:07 -05:00
John Miller
cda6143270 Document new variable ein:completion-backend.
Also fix some typos and update documentation for related functions.
2017-07-14 21:10:19 -05:00
Takafumi Arakaki
819e3e3df3 Fix: unintended text was inserted by dot-complete 2013-06-05 01:38:56 +02:00
Takafumi Arakaki
e5b53e5043 Do not try dot-complete when in string literal etc. 2013-02-13 21:46:24 +01: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
5b18c666e3 Make ein:jedi-complete work when kernel is dead
Previously deferred:callback-post was not called for the
deferred object from ein:jedi--completer-complete when the
kernel is dead.  It is called with an empty result now.
2013-02-13 21:20:56 +01:00
Takafumi Arakaki
b490adb72f Do not use lexical-let in ein:jedi--completer-complete
As ein:completer-complete has a way to passing around context,
it is natural to use that.
2012-12-06 21:50:43 +01:00
Takafumi Arakaki
5ab8e39d7c Change ein:completer-complete call signature 2012-12-06 17:48:05 +01:00
Takafumi Arakaki
b794e5a05c Simplify ein:jedi-complete 2012-12-05 23:34:24 +01:00
Takafumi Arakaki
c2e217b075 Do not expand on dot-complete 2012-12-05 23:28:45 +01:00
Takafumi Arakaki
f52228656b Make ac-expand-on-... configurable in jedi-complete
Diff is big comparing to the actual change.  ein:jedi-complete
passes the value of ac-expand-on-auto-complete to the async
callback and it can be specified via EXPAND keyword argument.
2012-12-05 23:28:39 +01:00
Takafumi Arakaki
938bb43560 Add comment on ein:jedi-complete 2012-12-05 22:12:42 +01:00
Takafumi Arakaki
1aa0b4b523 Document ein:jedi-setup more 2012-11-19 22:21:55 +01:00
Takafumi Arakaki
c4650eacb6 Do not fail to load ein-jedi.el
even if jedi.el does not exist on the load-path
2012-11-19 22:18:36 +01:00
Takafumi Arakaki
4926e86bc9 Document ein-jedi.el 2012-11-19 22:02:55 +01:00
Takafumi Arakaki
e581c420db Add ein:jedi-setup 2012-11-19 21:56:39 +01:00
Takafumi Arakaki
b057d8704c Add autoload cookies 2012-11-19 21:31:55 +01:00
Takafumi Arakaki
a14681b055 Make ein:jedi-complete an interactive command 2012-11-19 21:25:30 +01:00
Takafumi Arakaki
6b911124ce Use deferred:parallel in ein:jedi-complete
Also, destructuring-bind in the callback is fixed.
Previous version may work better than the current version
if I use this code.  But let's use this "parallel" approach
until I find some glitch.
2012-11-19 21:22:38 +01:00
Takafumi Arakaki
11ed4c539d Wrap ein:completer-complete in deferred 2012-11-19 21:04:16 +01:00
Takafumi Arakaki
2a7c25befb Add ein-jedi.el 2012-11-19 20:49:17 +01:00