Takafumi Arakaki
e2d5e7bfd9
Update change log
2012-08-21 09:27:53 +02:00
Takafumi Arakaki
21981de22f
Document ein:connect-toggle-autoexec more
2012-08-21 09:26:28 +02:00
Takafumi Arakaki
37ab6ba028
Auto-execute on run/eval, not save
...
It is pointless to execute code in notebook unless some change in
the connected buffer is imported into the IPython kernel. Therefore,
hooking auto-execution to run or eval makes more sense than hooking
it to save.
2012-08-21 09:13:12 +02:00
Takafumi Arakaki
a232a5d9b1
Improve docstring of ein:worksheet-execute-autoexec-cells
2012-08-21 08:29:58 +02:00
Takafumi Arakaki
92a7892139
Fix ein:worksheet-execute-autoexec-cells
2012-08-21 08:25:37 +02:00
Takafumi Arakaki
24df4cde68
Fix ein:worksheet-turn-on-autoexec
...
Argument using `&key' is needed to be passed with keyword always.
2012-08-21 08:24:07 +02:00
Takafumi Arakaki
e38bb5d528
Test that functions in ein:*-mode-map are bounded
2012-08-20 15:50:26 +02:00
Takafumi Arakaki
49c12dfd9b
Add a test for the previous fix on ein:get-cell-at-point
2012-08-20 15:12:17 +02:00
Takafumi Arakaki
47cfc2238d
Fix generic getters in ein-shared-output.el
...
Check if the current buffer is the shared output buffer before
retrieving any object.
2012-08-20 14:56:42 +02:00
Takafumi Arakaki
06ec418c12
Fix ein:notebook-mode-map
2012-08-20 13:53:14 +02:00
Takafumi Arakaki
e703ad50b9
Fix ein:notebook-from-json
...
Previously two empty worksheets were created when opening an empty
notebook.
Note that `(list (list :cells nil))' will also fix this bug.
2012-08-20 13:33:27 +02:00
Takafumi Arakaki
f820dbb94e
Fix ein:worksheet-set-buffer-name
2012-08-20 13:31:24 +02:00
Takafumi Arakaki
6604392b5b
Fix ein:worksheet-execute-cell-and-goto-next
2012-08-20 12:58:09 +02:00
Takafumi Arakaki
f7ed3be032
Fix misuse of prefix-arg (use current-prefix-arg)
...
sed -i -E -e 's/([^-])prefix-arg/\1current-prefix-arg/g' */*.el
2012-08-20 12:47:09 +02:00
Takafumi Arakaki
a0651292a4
Fix ein:worksheet-split-cell-at-point
...
It failed when there is no text after the point in cell.
Note that it seems that this bug existed before the "worksheet" branch.
2012-08-20 12:39:02 +02:00
Takafumi Arakaki
157ddfa31a
Fix ein:notebook-execute-autoexec-cells
2012-08-20 11:55:00 +02:00
Takafumi Arakaki
eb5662e9c9
Fix ein:notebook-save-notebook-success
...
:dirty slot in worksheet was not set after saving notebook.
2012-08-20 11:40:16 +02:00
Takafumi Arakaki
d3bf631204
Rename: ...cells -> ein:worksheet-kill-cell
...
This is for symmetry with ein:worksheet-yank-cell
2012-08-20 11:22:33 +02:00
Takafumi Arakaki
9b4dcf55ca
Add test ein:smartrep-notebook-mode-alist-fboundp
2012-08-20 11:08:36 +02:00
Takafumi Arakaki
fd54a58435
Add custom variable ein:smartrep-notebook-mode-alist
2012-08-20 11:08:25 +02:00
Takafumi Arakaki
0bda280360
Fix commands in ein-smartrep.el
2012-08-20 10:59:36 +02:00
Takafumi Arakaki
e2964b1473
Merge branch 'worksheet_fix-func-test' into worksheet
...
Previously failing functional tests in func-test.el now pass.
2012-08-20 10:51:39 +02:00
Takafumi Arakaki
37cacec4e9
Fix compiler warnings in func-test.el
...
%s/(ein:notebook-insert-cell-below-command)/(call-interactively #'ein:worksheet-insert-cell-below)/g
%s/(ein:notebook-execute-current-cell)/(call-interactively #'ein:worksheet-execute-cell)/g
2012-08-20 10:43:44 +02:00
Takafumi Arakaki
d13c3ae6a5
Merge branch 'worksheet_fix-test-ein-cell-notebook' into worksheet
...
Previously failing unit tests in test-ein-*.el now pass.
2012-08-20 10:39:14 +02:00
Takafumi Arakaki
dcde6ca1d9
Use :ewoc slot in ein:%notebook% to get EWOC
...
%s/(ein:$notebook-ewoc ein:%notebook%)/(oref ein:%worksheet% :ewoc)/
At this point, all tests pass.
2012-08-20 10:37:49 +02:00
Takafumi Arakaki
b4271558a0
Fix eintest:with-one-cell
2012-08-20 10:32:13 +02:00
Takafumi Arakaki
e712a3ff76
Merge branch 'worksheet_fix-test-ein-notebook' into worksheet
...
Previously failing tests in test-ein-notebook.el now pass.
2012-08-20 10:25:08 +02:00
Takafumi Arakaki
8156f160cf
Fix test ein:notebook-undo-via-events
2012-08-20 10:22:24 +02:00
Takafumi Arakaki
f92d24430c
s/ein:$worksheet-nbformat/ein:$notebook-nbformat/g
2012-08-20 10:17:06 +02:00
Takafumi Arakaki
865ffcf09e
Fix ein:notebook-delete-cell-command-no-undo
...
This test should delete a cell instead of kill, as the name suggest.
2012-08-20 10:15:15 +02:00
Takafumi Arakaki
a0fe1b6227
Fix ein:worksheet-focus-cell
...
This function should not raise error
2012-08-20 10:14:21 +02:00
Takafumi Arakaki
bd2008696c
Fix ein:notebook-change-cell-type-cycle-through
2012-08-20 10:06:13 +02:00
Takafumi Arakaki
5a409422cc
Fix typo: ein:worksheet-kill-cells
...
%s/\(ein:worksheet-kill-cell\)\b/\1s/g
2012-08-20 09:59:11 +02:00
Takafumi Arakaki
93ebe04806
Set default :dirty slot to t in ein:worksheet class
2012-08-20 09:56:52 +02:00
Takafumi Arakaki
61d993b86e
Fix: ein:notebook-imenu-setup is referenced
2012-08-20 09:52:10 +02:00
Takafumi Arakaki
5b11ed626e
Fix ein:notebook-from-json
2012-08-20 09:50:07 +02:00
Takafumi Arakaki
2a74ec2b64
Fix ein:get-cell-at-point/traceback-data--worksheet
2012-08-20 09:43:39 +02:00
Takafumi Arakaki
8d773d9d4b
Fix eintest:notebook-from-json
2012-08-20 09:38:15 +02:00
Takafumi Arakaki
1a823e7568
Finish fixing compiler warning in test-ein-notebook.el
2012-08-20 09:32:13 +02:00
Takafumi Arakaki
87f4d16c5c
Fix eintest:notebook-split-cell-at-point
2012-08-20 09:27:51 +02:00
Takafumi Arakaki
89c8305ee0
Fix test ein:notebook-change-cell-type-cycle-through
2012-08-20 09:27:33 +02:00
Takafumi Arakaki
59263b270f
Rename (most of) functions in test-ein-notebook.el
...
%s/ein:notebook-\(ncells\) ein:%notebook%/ein:worksheet-\1 ein:%worksheet%
%s/ein:notebook-\(get-cells\) ein:%notebook%/ein:worksheet-\1 ein:%worksheet%
%s/(ein:notebook-\(insert-cell-below\)-command)/(call-interactively #'ein:worksheet-\1)/
%s/(ein:notebook-\(insert-cell-above\)-command)/(call-interactively #'ein:worksheet-\1)/
%s/(ein:notebook-\([a-z\-]+\)-command)/(call-interactively #'ein:worksheet-\1)/
%s/(ein:notebook-get-current-cell)/(ein:worksheet-get-current-cell)/
%s/(ein:notebook-toggle-cell-type)/(call-interactively #'ein:worksheet-toggle-cell-type)/g
2012-08-20 09:23:29 +02:00
Takafumi Arakaki
3292beb29d
Fix ein-iexec.el
2012-08-20 04:24:03 +02:00
Takafumi Arakaki
8657c5e5a9
Fix ein:worksheet-get-current-cell argument
2012-08-20 04:24:02 +02:00
Takafumi Arakaki
71717262a4
Fix ein-mumamo.el
2012-08-20 04:24:01 +02:00
Takafumi Arakaki
98088216cf
Update ein:notebook-mode-map
2012-08-20 04:24:00 +02:00
Takafumi Arakaki
722d849530
Fix ein:notebook-rename-command
2012-08-20 04:23:59 +02:00
Takafumi Arakaki
1c5d8c049a
Add ein:worksheet-set-buffer-name
2012-08-20 04:23:58 +02:00
Takafumi Arakaki
b6391d2be2
Remove ein:get-cell-at-point/traceback--notebook
2012-08-20 04:23:57 +02:00
Takafumi Arakaki
7abe7a8244
Remove unused macros from ein-notebook.el
2012-08-20 04:23:55 +02:00