Takafumi Arakaki
b39d0d4a09
Make ein:tb-file-path/lineno-at-point more robust
2012-06-07 18:34:39 +02:00
Takafumi Arakaki
02e2c5ae4a
Add ein:tb-jump-to-source-at-point-command
2012-06-07 18:20:25 +02:00
Takafumi Arakaki
b27a8d6ba3
Add ein:traceback-mode and a few its commands
2012-06-07 16:38:01 +02:00
Takafumi Arakaki
93b5c5e525
Improve ein:tb-render
2012-06-07 16:08:34 +02:00
Takafumi Arakaki
907e8cf0ce
Add ein:notebook-view-traceback command
2012-06-07 16:08:00 +02:00
Takafumi Arakaki
41de95c9a6
Add traceback viewer module
2012-06-07 15:56:38 +02:00
Takafumi Arakaki
5cc2c08180
Merge branch 'master' of github.com:tkf/emacs-ipython-notebook
2012-06-07 02:55:29 +02:00
Takafumi Arakaki
9ae4d76d39
Add more corner case in ein:pytools-jump-to-source
2012-06-07 00:38:25 +02:00
Takafumi Arakaki
d2bff01494
Treat a corner case in ein:pytools-jump-to-source
2012-06-07 00:35:44 +02:00
Takafumi Arakaki
05a1ce90cd
Better ein:pytools-jump-to-source (treat pyerr)
2012-06-07 00:31:06 +02:00
Takafumi Arakaki
894b718c75
Make ein.find_source work with 0.13.dev
2012-06-07 00:23:28 +02:00
Takafumi Arakaki
6778b3f4ac
Simplify ein:kernel-start-channels
2012-06-06 23:10:58 +02:00
Takafumi Arakaki
6279ba729a
Better error message when kernel is not ready
2012-06-06 23:08:59 +02:00
Takafumi Arakaki
a6efd03906
More robust ein:kernel-ready-p
...
Previously it raised an error when calling it after the channels are
stopped because the channel slots are nil actually.
2012-06-06 23:08:25 +02:00
Takafumi Arakaki
7b93f7c647
Improve ein:notebook-ask-before-kill-emacs
...
It was needed to answer `y' when killing Emacs and there exists
unsaved buffers. This change eliminate the need for that by killing
buffers forcefully.
2012-06-06 22:36:47 +02:00
Takafumi Arakaki
422adbdd2b
Change variable type of event: use symbol
...
As there is no "pattern matching" for event handling anymore, using
cons for event-type makes no sense.
2012-06-06 21:16:48 +02:00
Takafumi Arakaki
02f2c06617
Fix log message in ein:kernel--handle-iopub-reply
2012-06-06 20:41:30 +02:00
Takafumi Arakaki
1befb9c9dc
Fix ein:dev-stop-debug
2012-06-06 20:25:49 +02:00
Takafumi Arakaki
895aa870d6
Fix ein:kernel-start-channels
...
The `ready' object was not generated each time
ein:kernel-start-channels is executed.
Rather, it was reused every time.
This change forces it to be created every time by calling list
function explicitly.
2012-06-06 20:22:53 +02:00
Takafumi Arakaki
05b699e50e
Improve test ein:notebook-yank-cell-command-simple
2012-06-06 02:03:14 +02:00
Takafumi Arakaki
886ca90fe3
Fix cell yank
...
This change fix this error:
Got error from the on-message function: Unbound slot: "#<class ein:codecell>", "#<ein:codecell Cell>", :events, oref
This error was issued when executing yanked cell because the :events
slot of the yanked cell was empty.
2012-06-05 21:52:51 +02:00
Takafumi Arakaki
119951651f
Add ein:notebooklist-open-notebook-global
2012-06-05 14:54:18 +02:00
Takafumi Arakaki
cc0aa11a19
Put dummy event handler in shared-output cell
2012-06-05 00:52:00 +02:00
Takafumi Arakaki
f41b26c483
Fix ein:kernel--handle-payload
...
ein:aif cannot be used there because `it' is already taken by the
`loop' macro which replaces `it' with some random symbol. In the
`then' clause, `it' indicates the value tested by `if' (just like
aif).
2012-06-04 21:12:06 +02:00
Takafumi Arakaki
f1c25510b7
Set events properly for the already existing cells
2012-06-04 19:46:19 +02:00
Takafumi Arakaki
6b3f7d1f8c
Code cell sets dirty flag via event
2012-06-04 16:33:19 +02:00
Takafumi Arakaki
e9210fe644
Cosmetic changes on code alignment
2012-06-04 16:23:53 +02:00
Takafumi Arakaki
93199a392b
Remove cell from kernel-execute callbacks
2012-06-04 16:18:17 +02:00
Takafumi Arakaki
bb56cd4681
Update README.rst
2012-06-03 18:48:07 +02:00
Takafumi Arakaki
155b41d699
ein:pytools-jump-to-source-command from connect
2012-06-03 17:55:27 +02:00
Takafumi Arakaki
05a437b1ad
Make ein:pytools-jump-to-source-command more robust
2012-06-03 17:50:13 +02:00
Takafumi Arakaki
853a9ec50e
Add ein:pytools-jump-to-source-command (M-.)
...
As this command requires to invoke multi-line python code, ein.py is
added to store python code needed for EIN. The sys.path is added
automatically when the kernel is started so that any function can be
called as ``__import__("ein").FUNCTION()``. This way, namespace is
not contaminated at all.
2012-06-03 17:30:16 +02:00
Takafumi Arakaki
5766a68c29
Add ein:$kernel-after-execute-hook
...
... and hook ein:kernelinfo-update-ccwd to update default-directory in
very eager manner.
2012-06-03 00:22:16 +02:00
Takafumi Arakaki
3cb3589c79
Make logging more robust
...
Previously logging fails when the log buffer is deleted accidentally.
Now it is automatically created.
2012-06-02 22:26:30 +02:00
Takafumi Arakaki
a7ed044dc4
Merge branch 'kernelinfo' into master
...
Conflicts:
ein-websocket.el
2012-06-02 22:12:50 +02:00
Takafumi Arakaki
6d0893b0b9
Suppress silent flag from shared output cell
...
Some kind of outputs (pyout/inline image) was not shown in the shared
output buffer because the silent flag was on. This is fixed now.
2012-06-02 21:53:59 +02:00
Takafumi Arakaki
be0c3665b9
Fix ein:notebook-toggle-cell-type: set kernel
...
Set kernel slot if the converted cell is a code cell.
2012-06-02 21:47:03 +02:00
Takafumi Arakaki
77d574dc73
Fix test: ein:notebook-toggle-cell-type-simple
2012-06-02 20:59:14 +02:00
Takafumi Arakaki
8e3aeb3ea4
Document ein:connect-mode more
2012-06-02 20:41:41 +02:00
Takafumi Arakaki
351ff8b26b
Add ein:notebook-eval-string
2012-06-02 20:40:22 +02:00
Takafumi Arakaki
adc8ba277d
Add ein:connect-eval-string
2012-06-02 20:25:13 +02:00
Takafumi Arakaki
d922db4b38
Add ein:notebook-change-cell-type command
2012-06-02 18:46:02 +02:00
Takafumi Arakaki
690c752a6e
Adapt ein:notebook-toggle-cell-type to v3 notebook
2012-06-02 18:44:29 +02:00
Takafumi Arakaki
695ee1a433
Change prompt for text cells
2012-06-02 12:21:07 +02:00
Takafumi Arakaki
a96caa5692
Merge branch 'new-ws'
2012-06-02 12:03:21 +02:00
Takafumi Arakaki
f018885fbb
Simplify ein-websocket.el
2012-06-01 23:38:43 +02:00
Takafumi Arakaki
02878d3b36
Remove ein:$websocket-readyState
...
ein:websocket-open-p directly uses websocket-ready-state now.
2012-06-01 22:56:09 +02:00
Takafumi Arakaki
ef1b66c2dc
Simplify ein:websocket-filter
2012-06-01 22:50:45 +02:00
Takafumi Arakaki
8e5f0f6f4f
Quick fix to follow the API change of websocket.el
2012-06-01 22:48:44 +02:00
Takafumi Arakaki
86b8ba6f05
Fix ein:kernelinfo-update-ccwd
2012-06-01 21:27:34 +02:00