Commit graph

1086 commits

Author SHA1 Message Date
Takafumi Arakaki
1eb9749767 Recommend el-get or MELPA for installation 2012-08-23 23:38:06 +02:00
Takafumi Arakaki
661d5cc49c Update keymaps in README.rst 2012-08-23 23:29:03 +02:00
Takafumi Arakaki
a564656c9c Add change log for v0.1.2 2012-08-23 23:27:56 +02:00
Takafumi Arakaki
b708b27d30 Use ein:dev-require-all in doc/source/conf.el 2012-08-23 23:23:27 +02:00
Takafumi Arakaki
52dad47fc1 Make eintest:assert-keymap-fboundp more robust
Otherwise, ein:notebook-mode-map--assert-fboundp fails.
Note that it looks like that this test already failed in the
worksheet branch, but I didn't notice.  Also note that
running test only in test-ein-modes.el pass without this fix.
2012-08-23 23:09: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
291985c72c Merge branch 'emacs-23-test-fix'
There are only test fixes.  No fix for the main module is required.

* Two unit tests are fixed for Emacs 23.

* Functional tests fail in Emacs 23 in rather random fashion,
  if it is run in batch mode.  In interactive mode, functional
  tests pass without problem.

  - Module ein-testing.el to dump log is added.
  - It looks like at least one test (sometimes two) fails,
    but it is different test case for each run.
  - As tests pass in interactive mode (which is how EIN is
    used anyway), I am merging this as-is.
2012-08-23 22:14:21 +02:00
Takafumi Arakaki
a1a2185a9e Improve debugging messages in func-test.el 2012-08-23 22:00:52 +02:00
Takafumi Arakaki
6ea042867f Add more debugging messages in func-test.el 2012-08-23 21:17:19 +02:00
Takafumi Arakaki
dcad3c7158 Add debugging messages in func-test.el 2012-08-23 21:10:40 +02:00
Takafumi Arakaki
961f139fd1 Dump test log also in interactive mode 2012-08-23 21:07:55 +02:00
Takafumi Arakaki
5ca22029db Dump test log using ein-testing 2012-08-23 19:32:47 +02:00
Takafumi Arakaki
1198833711 Add ein-testing.el to dump test log 2012-08-23 19:32:24 +02:00
Takafumi Arakaki
a769aa3b03 Fix test ein:notebook-execute-current-cell-question for Emacs 23
At the time (ein:$notebook-pager ein:%notebook%) is executed, the
current buffer is changed to the pager buffer.  As `notebook' is
already let-bound to ein:$notebook instance, it is better to use
this than the buffer local ein:%notebook%.
2012-08-23 17:39:06 +02:00
Takafumi Arakaki
d7fd93774d Fix test ein:get-cell-at-point--shared-output for Emacs 23 2012-08-23 17:23:46 +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
7b5c28d860 Merge branch 'execute-cell-and-insert-below' into worksheet 2012-08-21 14:13:10 +02:00
Takafumi Arakaki
cbef38f13c Add tests for command ein:worksheet-execute-cell-and-* 2012-08-21 14:04:35 +02:00
Takafumi Arakaki
82c062f364 Update change log 2012-08-21 12:01:48 +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
ee1d46227f Update change log 2012-08-21 10:40:11 +02:00
Takafumi Arakaki
3a80c3a811 Fix: ein:notebook- -> ein:worksheet- in document
Surprisingly, there is only one command to fix.
2012-08-21 10:38:28 +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
0a0031b6c8 Merge branch 'autoexec-change-spec' into worksheet 2012-08-21 09:29:57 +02:00
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