Takafumi Arakaki
63835d82be
Unbind C-c C-d (delete-cell)
2012-05-25 18:06:45 +02:00
Takafumi Arakaki
e5a4e8a229
Allow no undo after deleting a cell
2012-05-25 17:57:52 +02:00
Takafumi Arakaki
98ae4efbb9
Fix compile error of test-ein-notebook.el
2012-05-25 17:40:29 +02:00
Takafumi Arakaki
ce182462f3
Bit more robust ein:notebook-del
2012-05-25 16:11:26 +02:00
Takafumi Arakaki
7b00834dad
Suppress compile warning in ein-dev.el
2012-05-25 15:51:32 +02:00
Takafumi Arakaki
da6c563363
ein:notebook-kill-all-buffers from ein:dev-reload
2012-05-25 15:50:48 +02:00
Takafumi Arakaki
7cd63ecad4
Add ein:notebook-kill-all-buffers command
2012-05-25 15:44:00 +02:00
Takafumi Arakaki
559da7b154
Merge branch 'filter-output-on-save'
2012-05-25 15:16:51 +02:00
Takafumi Arakaki
8d5e174f53
Test discard-output option of ein:cell-to-json
2012-05-25 15:12:54 +02:00
Takafumi Arakaki
ede88fc70a
Add eintest:cell-to-json to simplify tests
2012-05-25 15:01:35 +02:00
Takafumi Arakaki
0e086985ea
Add tests for ein:cell-to-json
2012-05-25 14:54:03 +02:00
Takafumi Arakaki
173dc7f389
Fix a bug in ein:cell-to-json
...
ein:cell-to-json is needed to accept two arguments.
2012-05-25 05:22:14 +02:00
Takafumi Arakaki
179916fd31
Show "Restarting kernel..." message which fadeouts
2012-05-25 03:03:57 +02:00
Takafumi Arakaki
315b106c96
Start using notification widget
2012-05-25 02:04:07 +02:00
Takafumi Arakaki
e87ddd2bb2
Simplify ein:notification-bind-events
2012-05-25 01:49:45 +02:00
Takafumi Arakaki
f2c6df94e0
Fix a bug in ein:notification-bind-events
2012-05-25 01:48:29 +02:00
Takafumi Arakaki
0d051b0102
Add tests on notification widget and fix bugs
2012-05-25 01:32:05 +02:00
Takafumi Arakaki
cec308d90d
Implement event callbacks for notification widget
2012-05-25 01:11:33 +02:00
Takafumi Arakaki
3660960013
Add config to discard output on notebook save
...
This is done by adding one configurable variable:
ein:notebook-discard-output-on-save
2012-05-25 00:23:09 +02:00
Takafumi Arakaki
720fd5bdce
Add FIXME comments on ein-events.el
2012-05-24 19:38:31 +02:00
Takafumi Arakaki
9cda42ece7
Start writing ein-notification.el
2012-05-24 19:33:07 +02:00
Takafumi Arakaki
62e096454d
Kill log buffer when notebook is closed
2012-05-24 19:20:45 +02:00
Takafumi Arakaki
35d68055c5
Add a comment on ein:events-trigger
2012-05-24 19:13:47 +02:00
Takafumi Arakaki
fc98886e49
Show message when eval-ing code using ein-connect
2012-05-24 17:56:01 +02:00
Takafumi Arakaki
7d01c8dc80
ein:dev-reload reconfigures sub-packages now
2012-05-24 17:36:15 +02:00
Takafumi Arakaki
5da0839071
Add sections in ein-shared-output.el
2012-05-24 14:43:28 +02:00
Takafumi Arakaki
4da179c440
Notify when the output goes into the shared buffer
2012-05-24 14:42:30 +02:00
Takafumi Arakaki
bccae92dde
Use ein-shared-output.el from ein-connect.el
2012-05-24 13:17:42 +02:00
Takafumi Arakaki
2cc5f5c1db
Add ein-shared-output.el
2012-05-24 12:56:07 +02:00
Takafumi Arakaki
fd045e2587
Fix payload handler: %loadpy works now
2012-05-23 23:32:51 +02:00
Takafumi Arakaki
fb1067835b
Add tests for input-prompt-number
2012-05-23 23:13:24 +02:00
Takafumi Arakaki
2201f41ea3
Add a note on the input-prompt-number slot
2012-05-23 23:03:59 +02:00
Takafumi Arakaki
98bd0ccb5a
Revert "Make input-prompt-number slot typed"
...
Strongly typed `:input-prompt-number' becomes a problem when reading a
notebook that saved "*". As treating it using `:running' makes no
sense (nothing is running on kernel when the notebook is opened),
using flexible type for the slot is the right choice.
This reverts commit 5402274c71
.
2012-05-23 22:56:36 +02:00
Takafumi Arakaki
89b7f008aa
Little bit wiser rename command
2012-05-23 21:50:25 +02:00
Takafumi Arakaki
ad0adf9884
Fix ein:cell-output-json-to-class
...
ein:notebook-clear-output-command could not clear out extra newline in
the footer.
2012-05-23 20:20:02 +02:00
Takafumi Arakaki
5402274c71
Make input-prompt-number slot typed
2012-05-23 20:10:52 +02:00
Takafumi Arakaki
47d4beb30d
Make input area face work nicely with zenburn
2012-05-23 19:41:02 +02:00
Takafumi Arakaki
617f166a5c
Flush out echo area after saving notebook
...
Otherwise, "Connecting to..." or "Retry saving..." remains in the echo
area. Also, message when the saving is fail is added.
2012-05-23 19:08:07 +02:00
Takafumi Arakaki
3cf3a6d17a
Don't move pointer when copying cell
2012-05-23 18:49:54 +02:00
Takafumi Arakaki
160f15becd
Fix: copied cell can't be executed
2012-05-23 18:46:09 +02:00
Takafumi Arakaki
294eded27e
Add tests for the previous fix
2012-05-23 15:53:10 +02:00
Takafumi Arakaki
905aee9133
Quick fix for ein:notebook-cell-from-type
2012-05-23 15:46:51 +02:00
Takafumi Arakaki
45206014ff
Merge branch 'refactor-kernel'
...
Kernel module is decoupled from cell and notebook module. This
enables interaction to the kernels from non-notebook buffers. To
demonstrate this ability, ein-connect.el is added. This module
connect any buffer to existing notebook, enables tool-tip, help
browser and completion functionality to be used in the buffer.
Changes are mostly following the refactoring in IPython JS client:
https://github.com/ipython/ipython/pull/1711
This merge fixes #1 .
2012-05-23 14:14:12 +02:00
Takafumi Arakaki
5e80b885b5
Use ac-source-ein-cached in connected buffer
2012-05-23 13:42:54 +02:00
Takafumi Arakaki
bb091e0406
Trim indent when eval-ing buffer with ein:connect
2012-05-23 13:30:34 +02:00
Takafumi Arakaki
1113b4eeb2
Add ein:trim-indent and its tests
2012-05-23 13:24:21 +02:00
Takafumi Arakaki
2f8676ee4c
Rename to ein:notebook-complete-command
2012-05-23 11:27:52 +02:00
Takafumi Arakaki
e0b99eb069
Add ein:connect-complete-command
2012-05-23 11:26:51 +02:00
Takafumi Arakaki
99cfe8e8c4
Autoload ein:connect-to-notebook
2012-05-23 11:09:54 +02:00
Takafumi Arakaki
41baba4410
Add ein:connect-request-tool-tip-or-help-command
2012-05-23 11:06:54 +02:00