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
Takafumi Arakaki
49fa8629b9
Add alternative keybinds for goto/move cell commands
...
As it seems that some smartrep keybinds does not work properly in
MuMaMo-enabled buffer, this change provides some shortcuts for these
keybinds.
I sent a pull request to smartrep.el regarding this issue:
myuhe/smartrep.el#7
2012-06-14 16:22:13 +02:00
Takafumi Arakaki
6978c29ea2
Add bury-buffer in ein:pager-mode-map
2012-06-14 12:47:37 +02:00
Takafumi Arakaki
f3c782ba63
Do no use widget-keymap in the pager
...
I don't know why this keymap is used. Probably the code is just
copied from notebooklist.
2012-06-14 12:45:20 +02:00
Takafumi Arakaki
a105133bba
Kaymap is defined in top-level let clause
...
There should be no functional change by this change.
This makes it easier to change the keymap while running EIN.
I can just evaluate the let clause. In the previous version,
I couldn't do that because rebinding the keymap does not alter the
keymap used in the running mode.
2012-06-14 12:42:57 +02:00
Takafumi Arakaki
dc4b942349
Update doc and README
2012-06-14 12:29:15 +02:00
Takafumi Arakaki
df9299f02e
Add ein:notebook-kill-kernel-then-close-command
2012-06-14 12:24:40 +02:00
Takafumi Arakaki
f90b88bc29
Update doc and README
2012-06-14 10:30:47 +02:00
Takafumi Arakaki
9355eb0f51
Update gh-pages
2012-06-14 08:13:50 +02:00
Takafumi Arakaki
78b2066180
Add gh-pages branch as a submodule
2012-06-14 08:00:11 +02:00