Commit graph

286 commits

Author SHA1 Message Date
Takafumi Arakaki
a00bd71970 Remove ein:kernelinfo-init 2012-08-26 15:43:25 +02:00
Takafumi Arakaki
2b47f310c5 Simplify ein:kernelinfo-update-ccwd 2012-08-26 15:41:01 +02:00
Takafumi Arakaki
bea782380a Rewrite ein-kernelinfo.el using eieio 2012-08-26 15:35:10 +02:00
Takafumi Arakaki
f83623ace6 Move kernelinfo into a separate module 2012-08-26 15:14:59 +02:00
Takafumi Arakaki
acff775e4c Remove ein:notebook-pp 2012-08-26 13:25:47 +02:00
Takafumi Arakaki
b4cc0dae43 Remove invalid FIXME from ein:cell-append-text
HTML special escaping is needed for the browser client, but not for
EIN.
2012-08-26 13:20:51 +02:00
Takafumi Arakaki
fbfc9b6eda Raise error in ein:cell-class-from-type when type not found 2012-08-24 23:45:01 +02:00
Takafumi Arakaki
d891fe1bf1 Insert new cell when opening empty notebook 2012-08-24 20:05:39 +02:00
Takafumi Arakaki
0fad9548cd Merge branch 'worksheet'
Conflicts:
	tests/test-ein-shared-output.el

Add worksheet module to start worksheet support.  There is no
multiple worksheet support yet.  I am merging this since this
branch is as usable as the master branch.

Also, there are several bug fixes and improvements unrelated to
worksheet feature.
2012-08-23 22:48:17 +02:00
Takafumi Arakaki
478f1c99b3 Start v0.2.0 (bump to v0.2.0alpha0) 2012-08-23 22:17:52 +02:00
Takafumi Arakaki
09a2b63f56 Bump to 0.1.2 2012-08-23 22:17:52 +02:00
Takafumi Arakaki
6b859c4caa Fix ein:connect-run-buffer (tramp support) 2012-08-22 18:05:19 +02:00
Takafumi Arakaki
2e8357afbf Fix ein:notebooklist-open-notebook-global
Check url-or-port when fetching notebook-id
2012-08-22 15:44:53 +02:00
Takafumi Arakaki
837dea249a Check if notebook is live in ein:connect-pop-to-notebook
This is important as `(pop-to-buffer nil)' actually works.
2012-08-21 15:48:44 +02:00
Takafumi Arakaki
d8aaa079ae Support more arguments in ein:connect-to-notebook 2012-08-21 15:36:22 +02:00
Takafumi Arakaki
79691e658f Add ein:worksheet-execute-cell-and-insert-below 2012-08-21 12:01:47 +02:00
Takafumi Arakaki
77f9742cfe Add INSERT option to ein:worksheet-execute-cell-and-goto-next 2012-08-21 12:01:45 +02:00
Takafumi Arakaki
aa038f63bc Copy heading level when splitting cell 2012-08-21 11:13:16 +02:00
Takafumi Arakaki
71472ddaac More docstring on ein:kernelinfo-update-* 2012-08-21 09:59:35 +02:00
Takafumi Arakaki
6f7bc7b7ca Fix notebook buffer directory sync with kernel 2012-08-21 09:59:08 +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
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
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
f92d24430c s/ein:$worksheet-nbformat/ein:$notebook-nbformat/g 2012-08-20 10:17:06 +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
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
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