Takafumi Arakaki
de7f0c7fa6
Refactor to make timeout cancel more general
2012-06-20 20:29:06 +02:00
Takafumi Arakaki
2e0286c10b
Add ein:dev-show-debug-setting
2012-06-20 18:43:32 +02:00
Takafumi Arakaki
6f821d5fea
Set ein:debug in ein:dev-start/stop-debug
2012-06-20 18:43:16 +02:00
Takafumi Arakaki
28c23d1f36
Cleaner ein:notebook-console-open
...
See also:
https://github.com/fgallina/python.el/issues/85
2012-06-20 18:24:49 +02:00
Takafumi Arakaki
b38c03c506
Remove meaningless code from ein-notebooklist.el
2012-06-19 00:41:59 +02:00
Takafumi Arakaki
727365a482
Add keybind `q' to quit shared output buffer
2012-06-19 00:41:33 +02:00
Takafumi Arakaki
6135e75b59
Reload notebook list after new notebook is created
...
This refreshes data stored in notebook list struct so that new notebook
info is available for command like ein:notebooklist-open-notebook-global
2012-06-18 21:04:27 +02:00
Takafumi Arakaki
7b1f7ac7d1
Add C-c C-w as an alias of C-c M-w
2012-06-18 17:01:52 +02:00
Takafumi Arakaki
118635dc1a
Update gh-pages
2012-06-17 20:09:16 +02:00
Takafumi Arakaki
ac8d0e9492
Added byte compile instruction in the doc
...
I just noticed macro ein:aand in ein:cell-from-ewoc-node slows down
significantly notebook when using without compile.
2012-06-17 16:16:06 +02:00
Takafumi Arakaki
5a93a096dc
Make EIN byte compile-able w/o optional packages
2012-06-17 16:10:55 +02:00
Takafumi Arakaki
4849b21dc3
Support print page in ein:notebook-open-in-browser
2012-06-17 14:49:54 +02:00
Takafumi Arakaki
efcd1e8f63
Improve ein:notebook-execute-current-cell-and-goto-next
2012-06-17 13:41:23 +02:00
Takafumi Arakaki
54a3d3687b
Add messaging in ein:notebook-copy-cell-command
2012-06-17 12:52:09 +02:00
Takafumi Arakaki
7d81026f2c
Fix ein:notebook-merge-cell-command
...
Let binding of buffer-undo-list of shadowed the global variable.
2012-06-17 09:50:45 +02:00
Takafumi Arakaki
9fe12edfea
Update gh-pages
2012-06-17 09:18:14 +02:00
Takafumi Arakaki
c1eb3ca233
Add ein:pytools-doctest in document
2012-06-17 09:10:54 +02:00
Takafumi Arakaki
96bba6ab44
Better ein:notebooklist-ask-url-or-port
2012-06-17 09:08:33 +02:00
Takafumi Arakaki
3f94bb29ec
Add ein:default-url-or-port in document
2012-06-17 09:08:08 +02:00
Takafumi Arakaki
fb4ed0b449
Add more tests for undo
2012-06-17 08:59:04 +02:00
Takafumi Arakaki
c884baf473
Add ein:pytools-doctest
2012-06-17 04:42:27 +02:00
Takafumi Arakaki
4a7c81869f
Merge branch 'configurable-undo'
2012-06-17 03:34:55 +02:00
Takafumi Arakaki
4b3cf371c0
Add alternative keybinds for source code jumping
2012-06-17 02:36:00 +02:00
Takafumi Arakaki
1e48027ab0
Use exclude option in ein:notebooklist-mode-map doc
2012-06-17 01:58:23 +02:00
Takafumi Arakaki
1ef27808c5
Add dummy for maybe_reset_undo.Notebook in shared output
2012-06-17 01:12:13 +02:00
Takafumi Arakaki
3570580c58
Make ein:use-smartrep docstring simple
2012-06-17 01:03:45 +02:00
Takafumi Arakaki
7284604a1b
Add ein:notebooklist-mode-map in the doc
2012-06-17 01:03:21 +02:00
Takafumi Arakaki
f2a5a6894e
Add install section and improve usage section
2012-06-17 00:51:52 +02:00
Takafumi Arakaki
dc21cd2f38
Update README and doc
...
Once this branch is merged, EIN will be "ready for release" state.
2012-06-17 00:19:00 +02:00
Takafumi Arakaki
6b5b54c965
Trigger ein:notebook-empty-undo-maybe via event
...
Previous tests were failed because undo was not reset after the
execution callbacks modified the buffer. This is fixed by calling
ein:notebook-empty-undo-maybe via event in all the callbacks.
2012-06-16 23:42:58 +02:00
Takafumi Arakaki
0c13bc4234
Modifying undo in PP is wrong
...
Previous change was not complete since the test does NOT fail.
The test must fail because the test was for `full' undo but
actually it was tested against normal undo.
It turned out let binding of buffer-undo-list in ein-cell.el
was the right way to do it, since EWOC does some buffer
modification outside of the pretty printer. Therefore, setting
inhibit-read-only and buffer-undo-list in the pretty printer
makes no sense. Thus, they are removed from ein:notebook-pp.
This means that wrapping EWOC functions with let binding of
buffer-undo-list is essential. Meaning that what I wrote in
the FIXME ein:notebook-pp was wrong. Therefore,
ein:notebook-empty-undo-maybe cannot be called in ein:notebook-pp
and ein:notebook-empty-undo-maybe must be called in every single
functions that modifies buffer via EWOC.
Tests for three cases of undo configuration are added.
These test still fail:
ein:notebook-undo-after-execution-1-cell/yes
ein:notebook-undo-after-execution-2-cells/yes
2012-06-16 23:42:23 +02:00
Takafumi Arakaki
363b63de04
Make undo in notebook configurable
...
Note that ein:notebook-empty-undo-maybe is called in:
* ein:notebook-pp
* ein:notebook-delete-cell
2012-06-16 21:48:21 +02:00
Takafumi Arakaki
311151fdc8
Inhibit undo in pretty printer
2012-06-16 21:05:22 +02:00
Takafumi Arakaki
5b06f8fcd8
More precise check in undo tests
2012-06-16 21:04:47 +02:00
Takafumi Arakaki
7bf8acd484
Rename to ein:notebook-undo-after-execution-1-cell
2012-06-16 20:42:14 +02:00
Takafumi Arakaki
4f3695c4cf
Refactor ein:notebook-undo-after-execution*
...
.. and ein:notebook-execute-current-cell.
2012-06-16 20:41:27 +02:00
Takafumi Arakaki
1127de66a7
Add two tests for undo in notebook
2012-06-16 20:12:56 +02:00
Takafumi Arakaki
35c3e9bd7b
Fix ein:notebook-execute-current-cell
...
"Hellow World" for eintest:kernel-fake-stream had unnecessary single
quotes.
2012-06-16 19:00:44 +02:00
Takafumi Arakaki
c0839fa795
Refactor ein:notebook-execute-current-cell more (2)
2012-06-16 18:58:27 +02:00
Takafumi Arakaki
74a433dd7b
Refactor ein:notebook-execute-current-cell more
2012-06-16 18:51:56 +02:00
Takafumi Arakaki
6aef0678f1
Refactor ein:notebook-execute-current-cell
2012-06-16 18:45:01 +02:00
Takafumi Arakaki
f9d0f56afe
Stop quotes in BG mode fortified by python-mode
...
See:
> If your mode fontifies text explicitly by adding font-lock-face
> properties, it can specify (nil t) for font-lock-defaults to turn off
> all automatic fontification.
-- http://www.gnu.org/software/emacs/manual/html_node/elisp/Font-Lock-Basics.html
2012-06-16 15:28:02 +02:00
Takafumi Arakaki
f1d8e506e1
Fix the warning in docstring of ein:use-smartrep
...
I have the infinite loop with "C-c C-s", which is not in the smartrep
key binds.
2012-06-16 13:17:26 +02:00
Takafumi Arakaki
00631394cb
Set running flag in callback when killing kernel
...
This fix the problem that kernel can't be killed when the first try is
failed.
2012-06-16 12:51:48 +02:00
Takafumi Arakaki
9135a39c27
Little bit wiser ein:notebooklist-ask-url-or-port
2012-06-15 21:55:32 +02:00
Takafumi Arakaki
129858e681
Add ein:default-url-or-port configurable
2012-06-15 21:46:55 +02:00
Takafumi Arakaki
a3b56f2289
Update gh-pages
2012-06-14 20:01:57 +02:00
Takafumi Arakaki
30e7621575
Improve document
2012-06-14 17:52:22 +02:00
Takafumi Arakaki
a69d5114a0
Move the advanced topic to the document
2012-06-14 17:26:01 +02:00
Takafumi Arakaki
825c26e08d
Document about keyboard macro in ein:use-smartrep
2012-06-14 17:21:56 +02:00