Commit graph

2629 commits

Author SHA1 Message Date
Takafumi Arakaki
52de6aab55 Add tests: ein:cell-insert-output-pyout-* 2012-05-20 17:11:53 +02:00
Takafumi Arakaki
4da77fd286 Separate test-ein-notebook.el in sections 2012-05-20 16:30:33 +02:00
Takafumi Arakaki
9328ca1eb9 Tweak ein:cell-append-mime-type
"Preference order" is changed:

* latex is preferred over text
* text is preferred over javascript
2012-05-20 05:18:25 +02:00
Takafumi Arakaki
3514a1def5 Add test and fix ein:notebook-ask-before-kill-emacs
Two bugs are fixed.  One is in notebook-ask-before-kill-emacs and the
other is in ein:notebook-modified-p.
2012-05-20 03:19:55 +02:00
Takafumi Arakaki
693a2fb92b Fix ein:notebook-modified-p 2012-05-20 02:34:10 +02:00
Takafumi Arakaki
e389e1d9dd Fix: SVG was not shown 2012-05-20 01:56:40 +02:00
Takafumi Arakaki
b7efef9bfd Fix failing tests
* test-ein-cell.el was not changed in 10fb29f when the cell types are
  changed.
* test-ein-notebook.el was not changed in b9b5dc5 when the destructor
  was introduced.
2012-05-20 00:41:16 +02:00
Takafumi Arakaki
b06dc0780a Replace defun with defmethod wherever possible
This will add type checking, which should help debugging.
2012-05-20 00:21:07 +02:00
Takafumi Arakaki
6c6e51cc36 Update README about IPython version requirement 2012-05-20 00:05:36 +02:00
Takafumi Arakaki
1414e6b555 ein-mumamo.el supports new cell types now 2012-05-19 23:59:38 +02:00
Takafumi Arakaki
10fb29f7d4 Add raw and heading cell types; Now it can read v3 2012-05-19 23:53:15 +02:00
Takafumi Arakaki
b9b5dc57ba Ask before killing Emacs if notebook is not saved 2012-05-19 18:16:35 +02:00
Takafumi Arakaki
a32c2012e2 Do not use ein:notebook-plain-mode from mumamo 2012-05-19 18:02:03 +02:00
Takafumi Arakaki
49911f4bc1 Close kernel when notebook buffer is closed 2012-05-19 18:01:29 +02:00
Takafumi Arakaki
2fe94dac61 Add ein:log-print-level/length
to prevent logging huge strings.
2012-05-19 17:26:26 +02:00
Takafumi Arakaki
db21703182 Remove ein:@notebook from debug-ein.el 2012-05-19 17:18:45 +02:00
Takafumi Arakaki
429b97706d Add ein:notebook-open-in-browser command 2012-05-19 17:16:30 +02:00
Takafumi Arakaki
ce193c1421 Add "Open In Browser" button in the list buffer 2012-05-19 17:09:22 +02:00
Takafumi Arakaki
5180a3cafc Fix ein:cell-finish-tooltip fallback
When none of pos-tip or popup-tip installed, raw ansi string was shown
in the echo area.  This fixes the problem.
2012-05-19 16:31:16 +02:00
Takafumi Arakaki
ab68e63b94 Refactor long lines due to ein:@notebook removal 2012-05-19 16:07:18 +02:00
Takafumi Arakaki
01dda741cf Remove ein:@notebook macro 2012-05-19 16:03:27 +02:00
Takafumi Arakaki
525145defa Make subpackage customization easier
* add ein:use-SUBPACKAGE customizable variables.
* add ein:SUBPACKAGE-config-once fuctions.
* add ein:subpackages-load function.
2012-05-19 15:47:09 +02:00
Takafumi Arakaki
9d430ef55c Add defcustomizes for notebook console setting 2012-05-19 15:03:55 +02:00
Takafumi Arakaki
0569ca5f93 Define ein:url-or-port using defcustom 2012-05-19 14:34:00 +02:00
Takafumi Arakaki
8fbcccfae9 Better error message when cell merging fails 2012-05-19 13:49:17 +02:00
Takafumi Arakaki
8ecd3100c4 Add tests for ein:notebook-merge-cell-command 2012-05-19 13:48:27 +02:00
Takafumi Arakaki
d690f9217b Add new command ein:notebook-merge-cell-command 2012-05-19 13:27:38 +02:00
Takafumi Arakaki
cb1eab8d80 Add new function ein:cell-location and its tests 2012-05-19 13:10:44 +02:00
Takafumi Arakaki
218a2e28ed Fix a bug and add more tests for cell splitting 2012-05-19 04:19:17 +02:00
Takafumi Arakaki
6bc632b574 Trim newlines in ein:notebook-split-cell-at-point 2012-05-19 03:56:43 +02:00
Takafumi Arakaki
8d3243d268 Hack ein:dev-reload 2012-05-19 00:06:51 +02:00
Takafumi Arakaki
3ce948c6ec "Sync" keymaps instead of top-level assignment 2012-05-18 23:41:33 +02:00
Takafumi Arakaki
4e1260d587 Update keybinds section in README 2012-05-18 22:22:37 +02:00
Takafumi Arakaki
68b61b5e99 Minor change in ein:notebook-mode-map 2012-05-18 22:21:34 +02:00
Takafumi Arakaki
1b749cca74 Add ein:notebook-clear-output-command 2012-05-18 22:20:12 +02:00
Takafumi Arakaki
c94f2205d6 Update keybinds section in README 2012-05-18 22:12:56 +02:00
Takafumi Arakaki
62f3b2fefe Add ein:notebook-clear-all-output-command 2012-05-18 22:12:18 +02:00
Takafumi Arakaki
826488d4f2 Use nbformat sent from the server 2012-05-18 21:10:17 +02:00
Takafumi Arakaki
e9f5c098d8 Update keybinds in README 2012-05-18 13:40:52 +02:00
Takafumi Arakaki
5804e9c1bd C-u C-c C-f opens help pager for the object at point 2012-05-18 04:31:57 +02:00
Takafumi Arakaki
2c80b07f2f Add ein:notebook-request-help-command 2012-05-18 04:30:49 +02:00
Takafumi Arakaki
00bf3a4322 Add implementation note on ein-cell.el 2012-05-18 04:01:37 +02:00
Takafumi Arakaki
b095606400 Fix a bug in ein:notebook-goto-input
C-c C-p did not work when in the cell input.
2012-05-18 03:54:23 +02:00
Takafumi Arakaki
69672a3991 Check if cached notebook buffer is live 2012-05-18 03:48:36 +02:00
Takafumi Arakaki
4a652e4628 Do not discard changes when opening opened buffer
The problem: Opening already opened notebook silently discarded what
was in the notebook and open the last saved version.  Now, opened notebook
buffer is cached and reused when opening it later time.
2012-05-18 03:39:39 +02:00
Takafumi Arakaki
4ef5d01c04 Unbind key from ein:notebook-render command
It was there for debugging purpose.
2012-05-18 03:09:02 +02:00
Takafumi Arakaki
f76eec5a7e Cosmetic change 2012-05-18 03:04:44 +02:00
Takafumi Arakaki
49545be8bd Make goto-next/prev-cell behave more intuitively 2012-05-18 02:59:00 +02:00
Takafumi Arakaki
bfafc1ac0e Open newly created notebook directly from the list 2012-05-18 02:23:30 +02:00
Takafumi Arakaki
a562c7a19d Add ein:notebook-move-cell-up/down-command 2012-05-18 01:38:59 +02:00