Commit graph

304 commits

Author SHA1 Message Date
Takafumi Arakaki
a92145001b Document ein:notebook-modified-p 2012-08-27 00:08:19 +02:00
Takafumi Arakaki
1620bc4fe1 Simplify how ein:notebook-setup-kill-buffer-hook is called 2012-08-27 00:02:36 +02:00
Takafumi Arakaki
76fadb2b4b Make ein:notebook-ask-before-kill-emacs more robust 2012-08-26 23:56:43 +02:00
Takafumi Arakaki
7353d7f665 Setup kill-buffer-hook in ein:notebook-python-mode 2012-08-26 23:45:43 +02:00
Takafumi Arakaki
2e100486fd Add ein:notebook-close-worksheet
This is for coming multiple worksheet support.
2012-08-26 23:33:51 +02:00
Takafumi Arakaki
22a316d48f Remove ein:*-sync-directory
As kernelinfo does the job, these functions are not needed.
2012-08-26 23:10:20 +02:00
Takafumi Arakaki
d60d77380e Support multiple buffers in ein:notebook-close 2012-08-26 23:07:45 +02:00
Takafumi Arakaki
21009827e2 Add ein:notebooklist-load 2012-08-26 22:15:44 +02:00
Takafumi Arakaki
ceace33504 Autoload ein:connect-to-default-notebook
Otherwise, hook won't work.
2012-08-26 22:10:07 +02:00
Takafumi Arakaki
32f6aaba6d Simplify ein:connect-to-default-notebook
... by modifying ein:pytools-jump-to-source a bit.
2012-08-26 21:50:05 +02:00
Takafumi Arakaki
f8fba2d140 Document ein:connect-default-notebook more 2012-08-26 21:42:25 +02:00
Takafumi Arakaki
0fb3f9ea3e Add ein:connect-to-default-notebook 2012-08-26 21:38:18 +02:00
Takafumi Arakaki
438926a5cc Rename: ...collapsed-all -> ...output-visibility-all 2012-08-26 18:16:53 +02:00
Takafumi Arakaki
4e299ae137 Fix ein:worksheet-set-collapsed-all
See also #68
2012-08-26 18:02:03 +02:00
Takafumi Arakaki
63a2e70717 %s/ein:kernelinfo-setup /ein:kernelinfo-new /g 2012-08-26 16:53:22 +02:00
Takafumi Arakaki
67e35daed5 Document ein-kernelinfo.el 2012-08-26 16:50:35 +02:00
Takafumi Arakaki
7eb6a0a57e Fix ein:$notebook docstring 2012-08-26 16:46:33 +02:00
Takafumi Arakaki
119fd59648 kernelinfo supports multiple buffers now 2012-08-26 16:27:28 +02:00
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