Commit graph

3086 commits

Author SHA1 Message Date
Takafumi Arakaki
c88da06bec Big refactoring over URL to allow multiple servers
URL was fixed in the previous version.  As Emacs does not know URL of
IPython web server like JS does implicitly by page location, I need to
pass URL around in notebook list/notebook/kernel.  I add `url-or-port'
slot to each structs so it is easy to get URL from the struct.
2012-05-13 03:49:40 +02:00
Takafumi Arakaki
23168d75f6 Refactor ein:notebook-url 2012-05-12 23:13:28 +02:00
Takafumi Arakaki
ff94ce2874 Document ein:plist-iter 2012-05-12 22:57:49 +02:00
Takafumi Arakaki
e0cfc90662 Add ein:deflocal to eliminate boilerplate 2012-05-12 22:55:44 +02:00
Takafumi Arakaki
54949e6e90 Do not use external uuidgen command for uid 2012-05-12 22:22:23 +02:00
Takafumi Arakaki
0f6d6afa5e Document ein-notebooklist.el 2012-05-12 00:59:15 +02:00
Takafumi Arakaki
02a0681d5c Move [Open] button to the left of the line 2012-05-12 00:48:39 +02:00
Takafumi Arakaki
5d7f6adb86 Support new notebook creation 2012-05-12 00:34:00 +02:00
Takafumi Arakaki
dffdb236c1 Add ein:notebook-toggle-cell-type command 2012-05-11 23:52:32 +02:00
Takafumi Arakaki
fac8323335 Fix ein:cell-convert(-inplace) 2012-05-11 23:52:04 +02:00
Takafumi Arakaki
fabff69476 Add ein:cell-convert(-inplace) and ein:cell-copy 2012-05-11 19:24:55 +02:00
Takafumi Arakaki
7971143d64 Add section comments on ein-cell.el
I will need to reorder functions, but it's better than nothing.
2012-05-11 18:39:40 +02:00
Takafumi Arakaki
62b1ecfb62 Add ein:notebook-goto-next/prev-cell command 2012-05-11 16:39:06 +02:00
Takafumi Arakaki
c42a9e8fa0 Remove ein:notebook-in-buffer macro
It was used for command.  But command is executed via keybind, which
is defined only in notebook buffer.  So checking if in a notebook
buffer does not makes sense much.
2012-05-11 16:22:30 +02:00
Takafumi Arakaki
ad48bb9ed2 Refactor ein:notebook-insert-cell-below
ein:notebook-get-current-cell is removed from ein:notebook-insert-cell-below.
Try to avoid implicit use of cursor information in non-command function.
2012-05-11 14:47:38 +02:00
Takafumi Arakaki
a80e7d09d5 Add ein:notebook-with-cell macro
... to simplify command functions
2012-05-11 14:40:54 +02:00
Takafumi Arakaki
2b84d5f409 Remove already fixed FIXME comments 2012-05-11 14:21:04 +02:00
Takafumi Arakaki
9edfcdcbee Simple implementation for ein:cell-finish-completing 2012-05-11 10:15:08 +02:00
Takafumi Arakaki
7f385b77cb Add ein:notebook-complete-cell-command
The call back handler is not implemented so it won't work yet.
2012-05-11 09:59:02 +02:00
Takafumi Arakaki
93d8688928 Implement ein-pager.el: help? works now 2012-05-11 05:24:34 +02:00
Takafumi Arakaki
1a36c9bf3f Hack to shorten *Backtrace* lines 2012-05-11 04:24:05 +02:00
Takafumi Arakaki
5a978ae577 Add a command to remove cell 2012-05-11 00:48:22 +02:00
Takafumi Arakaki
1bfa3ad35d Markdown cell can be inserted by command now. 2012-05-11 00:23:42 +02:00
Takafumi Arakaki
35e47bbe69 Call set-buffer-modified-p from save callback 2012-05-11 00:18:17 +02:00
Takafumi Arakaki
c7bf96e689 Improve usage section in README 2012-05-11 00:12:16 +02:00
Takafumi Arakaki
22e9190bfa Update requirements section of README.rst 2012-05-11 00:01:31 +02:00
Takafumi Arakaki
af0fdf7714 Remove suspicious code "(not end)"
It works without this code, so let's go without it.
It is just a remnant of try-and-error.
2012-05-10 23:14:00 +02:00
Takafumi Arakaki
a613ba949c Fix mumamo error: "curr-max is not >= curr-min"
input-pos was not set to nil in the `ein:aif'-clause when there is no
next cell (i.e., when it is the last cell).
2012-05-10 23:08:51 +02:00
Takafumi Arakaki
f32afffb0c Warn when try to execute non-codecell 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
5074b11247 Fix: saving fails on codecell with empty prompt 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
360bcfff67 Add fallback mode for mumamo 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
63dfb4ee18 Fix ein:mumamo-find-edge: treat cell-p correctly 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
7fed946777 Add ein:cell-from-ewoc-node 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
029c02c5eb Correct argument name of ein:cell(-ewoc)-node-p 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
0e55cd3f11 Add debugging message in ein:mumamo-find-edge 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
371876b910 Add all mumamo modes for all cell types
... and fix a bug in ein:mumamo-find-edge.
2012-05-10 22:39:30 +02:00
Takafumi Arakaki
6bef01e0c6 Add a macro ein:mumamo-define-chunk
And use it to define ein:mumamo-chunk-codecell
2012-05-10 22:39:30 +02:00
Takafumi Arakaki
d67e5f2160 Rename: s/notebook-mumamo-python/mumamo-chunk-codecell/g 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
928e5eb8a4 Rename: s/notebook-mumamo-python/mumamo-chunk-python/g 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
4b15523e49 Check cell type in ein:mumamo-find-edge 2012-05-10 22:39:30 +02:00
Takafumi Arakaki
b1f6760691 Rename: s/:.*-python-chunk/:mumamo-find-edge/g 2012-05-10 22:39:29 +02:00
Takafumi Arakaki
c95f505287 Add ein:notebook-get-nearest-cell-ewoc-node 2012-05-10 22:39:29 +02:00
Takafumi Arakaki
2675facfe5 Fix a bug in ein:notebook-mumamo-python-chunk
Previous code sets ewoc-node to nil. It was working by luck.
2012-05-10 22:39:29 +02:00
Takafumi Arakaki
a77e60b40a Merge branch 'cell-eieio' 2012-05-10 22:38:58 +02:00
Takafumi Arakaki
6826493498 Fix ein:cell-next: mumamo highlighting works again 2012-05-10 14:16:48 +02:00
Takafumi Arakaki
2a7d2fa07c Fix ein-cell.el: code execution works again now 2012-05-10 13:20:07 +02:00
Takafumi Arakaki
1d45ee715a Fix ein:notebook-get-current-cell 2012-05-10 13:05:02 +02:00
Takafumi Arakaki
5719226241 Fix ein-cell.el bugs: rendering works now
But notebook saving still fails.
2012-05-10 12:48:49 +02:00
Takafumi Arakaki
a2ee981bd0 Fix ein:cell-from-type/json 2012-05-10 12:47:37 +02:00
Takafumi Arakaki
a9ad26233c Fix: calling undefined function ein:cell-new 2012-05-10 12:46:59 +02:00