Commit graph

48 commits

Author SHA1 Message Date
Takafumi Arakaki
6beaf48c38 Move ein:notebook-console-* to ein:console-* 2012-08-16 15:52:41 +02:00
Takafumi Arakaki
3a6fffa0d1 Better error for incompatible EWOC version
Old ewoc-create does not have NOSEP argument.
See also #49
2012-08-16 03:37:17 +02:00
Takafumi Arakaki
2d96f0d970 Merge branch 'generic-getter'
Generic getter functions `ein:get-*' remove complex dependencies.

Commands `ein:tb-show', `ein:shared-output-show-code-cell-at-point',
and `ein:shared-output-eval-string' use the getter functions to get
appropriate object in buffer/at point, so that these functions are
usable in many types of buffer.
2012-08-16 03:34:51 +02:00
Takafumi Arakaki
b3c92e11dc Merge branch 'master' of github.com:tkf/emacs-ipython-notebook 2012-08-16 03:34:19 +02:00
Takafumi Arakaki
99b0f59ff9 Replace ein:notebook-eval-string
with ein:shared-output-eval-string
2012-08-16 01:59:20 +02:00
Takafumi Arakaki
f4a2ea78a2 Adapt to newer python.el
Also stop calling python-shell-parse-command because it just
adds "-i" in the command line.

fixes #50
2012-08-15 22:47:16 +02:00
Takafumi Arakaki
1193f12b8f Move notebook-show-in-shared-output to shared-output 2012-08-15 21:41:05 +02:00
Takafumi Arakaki
9709c74b9f Remove ein:notebook-view-traceback 2012-08-14 21:11:16 +02:00
Takafumi Arakaki
730741bd03 Add ein:tb-show command 2012-08-14 21:11:13 +02:00
Takafumi Arakaki
2faeb54475 Add ein:get-traceback-data generic getter 2012-08-14 21:05:12 +02:00
Takafumi Arakaki
4d4e22912b Add ein:get-cell-at-point generic getter 2012-08-14 21:05:11 +02:00
Takafumi Arakaki
f0a4888c90 Remove ein:get-notebook-buffer 2012-08-14 21:05:08 +02:00
Takafumi Arakaki
f510e8d50f Implement "generic getter" mechanism
See the docstring of ein:generic-getter
2012-08-14 21:05:03 +02:00
Takafumi Arakaki
2199309759 Remove traceback method from ein$notebook
This simplifies the dependency.
2012-08-13 18:47:21 +02:00
Takafumi Arakaki
764e67ee4a Save nbformat_minor (send to server if it is given) 2012-08-12 19:43:39 +02:00
Takafumi Arakaki
5269926ddd Add ein:notebook--check-nbformat 2012-08-12 19:33:39 +02:00
Takafumi Arakaki
0ed3f93e78 Refactoring: add ein:notebook-opened-buffer-names 2012-08-10 22:10:18 +02:00
Takafumi Arakaki
454ecffa8d Check that the cell to merge exists 2012-08-01 23:20:57 +02:00
Takafumi Arakaki
4308b8ba9f Reverse the direction to merge
Rational to do this is this makes split+merge an identity operation.
2012-08-01 23:19:37 +02:00
Takafumi Arakaki
d4d1b0c9aa Fix ein:notebook-merge-cell-command undo spec
Follow the specification written in ein:notebook-enable-undo.
2012-08-01 23:04:48 +02:00
Takafumi Arakaki
22848bdd91 Use the output area of the bottom cell when merge
fixes #37
2012-08-01 23:02:17 +02:00
Takafumi Arakaki
b3050b27ef Preserve output of the bottom cell when splitting
Also eintest:notebook-undo-after-split is fixed.  Previous test
was actually wrong.  Note that (ein:notebook-empty-undo-maybe)
is added to make the test pass for ein:notebook-enable-undo=yes.
The current behavior is what mentioned in ein:notebook-enable-undo.

fixes (part of) #37
2012-08-01 22:44:00 +02:00
Takafumi Arakaki
d25ef23ba8 Do not start completion by "." when in comment/str 2012-08-01 20:04:47 +02:00
Takafumi Arakaki
96dd850ee5 Document ein:complete-on-dot bit more 2012-07-29 18:19:28 +02:00
Takafumi Arakaki
64ead0598a Use set-keymap-parent instead of setcdr
Otherwise, the previous commit does not work.
2012-07-29 18:14:33 +02:00
Takafumi Arakaki
38d8321259 Option to start completion when "." is inserted 2012-07-29 18:14:31 +02:00
Takafumi Arakaki
0995fe51e8 Document autoexec more 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
a65822a982 Add ein:notebook-turn-on-autoexec command 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
dbfeb30f89 Invoke auto-execution via after-save-hook 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
04a121ad72 Add ein:notebook-execute-autoexec-cells 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
1451d7ff6b Add autoexec slot and functions to toggle 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
6f76750318 Comment/document functions 2012-07-22 01:22:54 +02:00
Takafumi Arakaki
bcc15f032c Make ein:notebook-change-cell-type lisp-friendly 2012-07-21 15:01:31 +02:00
Takafumi Arakaki
21f18c105e Do not move point after converting cell type 2012-07-21 14:36:28 +02:00
Takafumi Arakaki
d3d4f1e7c3 Represent heading level using #'s in Imenu 2012-07-21 03:32:25 +02:00
Takafumi Arakaki
cdf2d7ea11 Better position for imenu 2012-07-20 20:07:12 +02:00
Takafumi Arakaki
b228a312e5 Add simple imenu support in notebook buffer
It concerns only heading cells.
2012-07-20 20:07:12 +02:00
Takafumi Arakaki
2154742c45 Better focus after ein:notebook-change-cell-type 2012-07-20 20:06:55 +02:00
Takafumi Arakaki
dd53358ff8 Fix ein:notebook-change-cell-type
The prompt became "hheading:" because the string "heading" was in the
:level slot.
2012-07-20 17:09:43 +02:00
Takafumi Arakaki
683aba0341 Fix and improve ein:notebook-kill-all-buffers
The prompt message was not correct; It was counting opened notebooks,
not unsaved ones.
2012-07-19 14:29:31 +02:00
Takafumi Arakaki
241df76f4a Now, C-c C-q closes notebook if kernel is dead
fixes #30
2012-07-19 00:37:39 +02:00
Takafumi Arakaki
0038f2f645 Document ein:notebook-kill-all-buffers command 2012-07-19 00:02:43 +02:00
Takafumi Arakaki
c643e97cef Document output truncation config/command 2012-07-17 19:15:00 +02:00
Takafumi Arakaki
23ae823225 Map C-c C-; to ein:notebook-show-in-shared-output 2012-07-17 19:10:44 +02:00
Takafumi Arakaki
d0874be99b Add a command to show a cell in shared-output buffer 2012-07-17 18:29:00 +02:00
Takafumi Arakaki
b79a51c657 Add ein:notebook-rename-to-scratch-command 2012-07-14 16:36:51 +02:00
Takafumi Arakaki
857660c0a3 Fix ein:connect-to-notebook: no popup 2012-07-12 02:44:34 +02:00
Takafumi Arakaki
d1031fd61e mv *ein*.el ein.py lisp/
fixes #6
2012-07-02 16:47:20 +02:00
Renamed from ein-notebook.el (Browse further)