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
Takafumi Arakaki
1cf3ccb2ba
Changed html theme for the doc
2012-06-14 07:43:58 +02:00
Takafumi Arakaki
622b92eac3
Merge branch 'master' of github.com:tkf/emacs-ipython-notebook
2012-06-13 15:43:08 +02:00
Takafumi Arakaki
05aeab19ad
Deactivate region after killing/copying cells
2012-06-13 12:58:07 +02:00
Takafumi Arakaki
847c71072f
Fix ein:notebook-copy-cell-command
...
Many cells were put in the kill-ring one by one, instead of a list of cells.
This is wrong.
2012-06-13 04:47:57 +02:00
Takafumi Arakaki
51e72da8ab
Fix ein:notebooklist-open raising error
...
Fix the following error:
ein:notebooklist-ask-url-or-port:
Symbol's value as variable is void: ein:@connect
It is raised when ein:notebooklist-open is executed at first time
because ein-connect is not imported at that point.
2012-06-13 04:20:50 +02:00
Takafumi Arakaki
9b95227084
Merge branch 'fix-query-ajax-timeout-callback2'
2012-06-13 04:07:01 +02:00
Takafumi Arakaki
4a50ebc71e
Tweak eintest:delete-untitled0
...
Avoid ert making huge (and useless) test report.
2012-06-13 01:23:19 +02:00
Takafumi Arakaki
0bf5308699
Fix eintest:get-notebook-by-name
...
Note that this fix is not nothing to do with the changes in ein-query.
2012-06-13 01:19:49 +02:00
Takafumi Arakaki
e27ea820ae
Fix failing tests in test-ein-kernel.el
2012-06-13 01:01:09 +02:00
Takafumi Arakaki
926195da68
Add ein:notebook-insert-clone-below
2012-06-13 00:54:19 +02:00
Takafumi Arakaki
7dc75197af
Support killing cells in region
2012-06-13 00:25:55 +02:00
Takafumi Arakaki
0fd56526d1
Document the previous improvement
2012-06-12 23:30:13 +02:00
Takafumi Arakaki
b44223ec8c
ein:object-at-point returns region when active
2012-06-12 23:22:41 +02:00
Takafumi Arakaki
36b37a4ae5
Use URL or port associated to the buffer when completing
2012-06-12 22:33:46 +02:00
Takafumi Arakaki
255b3a7696
No need to reset process-query-on-exit-flag
...
The code for resetting process-query-on-exit-flag is not executed and
it works fine without it. I think this flag was reset in the old
version because the buffer is killed in the query callback.
2012-06-12 20:40:23 +02:00
Takafumi Arakaki
d32f7e5a75
Fix: success callback was called when timeout
2012-06-12 19:48:18 +02:00
Takafumi Arakaki
936f652369
Process instance is no available in the URL callback
2012-06-12 19:47:26 +02:00
Takafumi Arakaki
fa681ff2d5
Fix bugs in ein:query-ajax-callback
...
1. `process-query-on-exit-flag' reset does not work because
`kill-buffer' is called in the callback.
2. data is set to the value of which `kill-buffer' is returned.
3. ein:query-ajax-timeout is used after the buffer is killed.
4. `kill-buffer' was called twice. As delete-buffer calls the
callback which kill buffer, killing buffer in the timeout
callback is not needed.
2012-06-12 19:22:41 +02:00
Takafumi Arakaki
669bf2a529
Fix ein:query-ajax-callback: callback called twice
...
Callback was called twice because url-retrieve calls the callback when
the process is deleted.
2012-06-12 18:13:08 +02:00
Takafumi Arakaki
e931cc26d3
Set process-query-on-exit-flag before kill-buffer
2012-06-12 17:38:02 +02:00
Takafumi Arakaki
bf75888746
More precise condition for traceback level
2012-06-11 21:20:15 +02:00
Takafumi Arakaki
bf76faee57
Tweak sections in ein-utils.el
2012-06-11 19:30:45 +02:00
Takafumi Arakaki
7f6660e54f
Move ein:truncate-lines-on to ein-utils.el
2012-06-11 19:17:18 +02:00
Takafumi Arakaki
0ece0b0ba3
Truncate lines in the traceback viewer
2012-06-11 19:14:09 +02:00
Takafumi Arakaki
a00a5bbfd9
Add ein:cell-traceback-level configurable
2012-06-11 19:11:33 +02:00
Takafumi Arakaki
10edb8d239
Tweak documents
2012-06-11 14:24:20 +02:00
Takafumi Arakaki
11f8a9a169
Merge branch 'sphinx'
2012-06-11 06:17:26 +02:00
Takafumi Arakaki
6cd6c3b2c7
Document more
2012-06-11 06:15:34 +02:00
Takafumi Arakaki
c6696eb0c6
Remove the dead link to py-modindex.html
2012-06-11 05:32:52 +02:00
Takafumi Arakaki
74d64bd20a
Copy intro part from README to the document
2012-06-11 05:28:10 +02:00
Takafumi Arakaki
40d5d9ca9a
Write more documents
2012-06-11 05:12:04 +02:00