Takafumi Arakaki
714f07e759
Add ein:ewoc-create in ein-utils
2012-08-16 17:03:53 +02:00
Takafumi Arakaki
6e6c0c65f3
Rename ein:notebook-console-security-dir in docstring
2012-08-16 16:40:27 +02:00
Takafumi Arakaki
a75d6ede3c
Add ein:console-open in ein:connect-mode-map
2012-08-16 16:32:57 +02:00
Takafumi Arakaki
1b28e37316
Fix obsolete variable aliases
...
define-obsolete-variable-alias must come before defcustom
2012-08-16 16:24:02 +02:00
Takafumi Arakaki
75ff49589d
Refactor ein:console-open
2012-08-16 16:11:16 +02:00
Takafumi Arakaki
39fbba35f0
Cosmetic change in ein-console.el
2012-08-16 16:03:53 +02:00
Takafumi Arakaki
6beaf48c38
Move ein:notebook-console-* to ein:console-*
2012-08-16 15:52:41 +02:00
Takafumi Arakaki
5d159f3f87
Add ein:connect-reload-buffer
2012-08-16 03:43:14 +02:00
Takafumi Arakaki
3a6fffa0d1
Better error for incompatible EWOC version
...
Old ewoc-create does not have NOSEP argument.
See also #49
2012-08-16 03:37:17 +02:00
Takafumi Arakaki
2d96f0d970
Merge branch 'generic-getter'
...
Generic getter functions `ein:get-*' remove complex dependencies.
Commands `ein:tb-show', `ein:shared-output-show-code-cell-at-point',
and `ein:shared-output-eval-string' use the getter functions to get
appropriate object in buffer/at point, so that these functions are
usable in many types of buffer.
2012-08-16 03:34:51 +02:00
Takafumi Arakaki
b3c92e11dc
Merge branch 'master' of github.com:tkf/emacs-ipython-notebook
2012-08-16 03:34:19 +02:00
Takafumi Arakaki
31216cb370
Fix compiler warning in ein:get-traceback-data--connect
2012-08-16 01:59:24 +02:00
Takafumi Arakaki
f4f116b26f
Replace ein:pytools-eval-string-internal
...
with ein:shared-output-eval-string
2012-08-16 01:59:23 +02:00
Takafumi Arakaki
ee1557913b
Replace ein:connect-eval-string
...
with ein:shared-output-eval-string
2012-08-16 01:59:22 +02:00
Takafumi Arakaki
99b0f59ff9
Replace ein:notebook-eval-string
...
with ein:shared-output-eval-string
2012-08-16 01:59:20 +02:00
Takafumi Arakaki
53fbf9b554
Add ein:shared-output-eval-string
...
This function should be usable anywhere.
2012-08-15 23:04:20 +02:00
Takafumi Arakaki
f4a2ea78a2
Adapt to newer python.el
...
Also stop calling python-shell-parse-command because it just
adds "-i" in the command line.
fixes #50
2012-08-15 22:47:16 +02:00
Takafumi Arakaki
1193f12b8f
Move notebook-show-in-shared-output to shared-output
2012-08-15 21:41:05 +02:00
Takafumi Arakaki
d7e05fba63
Improve the previous fix on ein:tb-show
...
Traceback shown in shared-output buffer by
ein:notebook-show-in-shared-output did not have kernel info and
thus failed when ein:tb-show was called.
2012-08-15 21:05:48 +02:00
Takafumi Arakaki
e426340cd3
Fix: ein:tb-show did not work in shared-output buffer
...
It did not work because ein:get-notebook does not work. Notebook
is not well defined in shared-output buffer since it knows only
about kernel (through cell). This reflect the design that kernel
and notebook is well decoupled.
2012-08-15 20:54:22 +02:00
Takafumi Arakaki
adac1a5619
Fix and improve ein:generic-getter docstring
2012-08-14 23:02:18 +02:00
Takafumi Arakaki
06b1c74a5a
Add tests ein:get-*--nil and fix a bug
2012-08-14 22:14:02 +02:00
Takafumi Arakaki
3f8f995910
Provide ein:tb-show in connect/shared-output
2012-08-14 21:11:18 +02:00
Takafumi Arakaki
9709c74b9f
Remove ein:notebook-view-traceback
2012-08-14 21:11:16 +02:00
Takafumi Arakaki
730741bd03
Add ein:tb-show command
2012-08-14 21:11:13 +02:00
Takafumi Arakaki
8ebea1b1a7
Add macro ein:and-let*
2012-08-14 21:05:13 +02:00
Takafumi Arakaki
2faeb54475
Add ein:get-traceback-data generic getter
2012-08-14 21:05:12 +02:00
Takafumi Arakaki
4d4e22912b
Add ein:get-cell-at-point generic getter
2012-08-14 21:05:11 +02:00
Takafumi Arakaki
b2893f128b
Add FIXME on ein-connect.el
2012-08-14 21:05:10 +02:00
Takafumi Arakaki
81473d67a2
Simplify ein:connect-to-notebook-buffer
2012-08-14 21:05:09 +02:00
Takafumi Arakaki
f0a4888c90
Remove ein:get-notebook-buffer
2012-08-14 21:05:08 +02:00
Takafumi Arakaki
fa5ec1b070
Refactor ein-pytools to get rid of declare-function
2012-08-14 21:05:06 +02:00
Takafumi Arakaki
73cadcaaa4
Use generic getters in ein-pytools.el
2012-08-14 21:05:05 +02:00
Takafumi Arakaki
f510e8d50f
Implement "generic getter" mechanism
...
See the docstring of ein:generic-getter
2012-08-14 21:05:03 +02:00
Takafumi Arakaki
2199309759
Remove traceback method from ein$notebook
...
This simplifies the dependency.
2012-08-13 18:47:21 +02:00
Takafumi Arakaki
764e67ee4a
Save nbformat_minor (send to server if it is given)
2012-08-12 19:43:39 +02:00
Takafumi Arakaki
5269926ddd
Add ein:notebook--check-nbformat
2012-08-12 19:33:39 +02:00
Takafumi Arakaki
b39fc5cc6b
Use multi-line message in ein:kernel--websocket-closed
2012-08-12 18:54:03 +02:00
Takafumi Arakaki
3b1e76f48c
Add ein:display-warning
2012-08-12 17:48:24 +02:00
Takafumi Arakaki
a2446988f8
Tweak section comments in ein-utils.el
2012-08-12 17:33:35 +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
45a20c6b54
Monkey patch json-encode-char
...
Otherwise, saving the output including "unicode space" (\u00a0) fails.
Easy way to check: !tree
2012-08-11 14:10:41 +02:00
Takafumi Arakaki
57df02d204
Start v0.1.2 (bump to 0.1.2alpha0)
2012-08-11 01:53:23 +02:00
Takafumi Arakaki
2e85132fd8
Bump to 0.1.1
2012-08-11 01:48:53 +02:00
Takafumi Arakaki
a7ed0ca447
Remove ein:cell-max-num-outputs from document
...
And disable it (set to nil).
Limiting number of output does not work well, when a lot of inputs
comes with carriage returns. Probably it is better to limit by
number of lines (plus maybe number of images).
2012-08-11 00:48:56 +02:00