Takafumi Arakaki
88f4e488f9
Set metadata in ein:worksheet-from-json
...
Note that metadata slow was not set elsewhere before.
2012-08-29 14:06:18 +02:00
Takafumi Arakaki
e03f8861b6
Make cells in ein:worksheet-from-json
...
This is needed to make ein:worksheet-to-json work with un-rendered
worksheets.
2012-08-29 14:05:17 +02:00
Takafumi Arakaki
fb0ea65943
Add a note on ein:notebook--worksheet-render
2012-08-28 22:42:14 +02:00
Takafumi Arakaki
6cbe7e24df
Merge branch 'remove-notebook-slot-from-worksheet'
...
Complex backward dependency on notebook module in worksheet module
is removed. ein:worksheet class depends on ein:notebook through
simple callbacks.
* There is no object holding notification instance in a slot.
Worksheet is loosely coupled with notification via buffer
and events handler.
* ein:notebook-discard-output-on-save is obsolete now.
2012-08-28 22:03:39 +02:00
Takafumi Arakaki
e3f15e649c
Simplify notification module setup
2012-08-28 21:48:06 +02:00
Takafumi Arakaki
3d76a1a225
Remove notification slot from ein:worksheet
...
What notification module needs to know is its buffer and the events
handler. So there is no reason to keep it in the worksheet slot.
Besides, setting header-line-format before calling notebook-mode
is not good because setting major mode discards header-line-format.
So, notification is setup in notebook module now.
2012-08-28 21:43:57 +02:00
Takafumi Arakaki
cf30b4f74e
Make ein:notebook-discard-output-on-save obsolete
2012-08-28 21:17:49 +02:00
Takafumi Arakaki
cbe1ab3904
Add discard-output-p slot in ein:worksheet
2012-08-28 20:51:18 +02:00
Takafumi Arakaki
848771a724
Remove two more notebook functions from ein-notebook.el
2012-08-28 18:12:51 +02:00
Takafumi Arakaki
7f0f5ea382
Remove ein:$notebook-url-or-port from ein-worksheet.el
2012-08-28 18:03:41 +02:00
Takafumi Arakaki
e93801f101
Add get-notebook-name slot in ein:worksheet
2012-08-28 18:00:32 +02:00
Takafumi Arakaki
1bf5bfd0da
Set nbformat in scratchsheet also
2012-08-28 18:00:31 +02:00
Takafumi Arakaki
380d5504f1
Add nbformat slot in ein:worksheet
...
So that I can remove the line:
(declare-function ein:$notebook-nbformat "ein-notebook")
2012-08-28 18:00:29 +02:00
Takafumi Arakaki
6f7a29fb2f
Add notes on Event vs hook vs callback
2012-08-28 17:18:39 +02:00
Takafumi Arakaki
8ac7c83ebc
Fix compile warning in ein-kernelinfo.el
2012-08-28 17:15:03 +02:00
Takafumi Arakaki
82ef2fb6be
Merge branch 'worksheet-enable-undo'
...
Rename ein:notebook-enable-undo to ein:worksheet-enable-undo as
worksheet module handles buffer and thus undo now.
2012-08-28 17:04:44 +02:00
Takafumi Arakaki
c7f604fcf9
Fix obsolete warning in test-ein-notebook.el
2012-08-28 16:44:08 +02:00
Takafumi Arakaki
1f7e6ec857
s/\(maybe_reset_undo\).Notebook/\1.Worksheet/g
2012-08-28 16:42:07 +02:00
Takafumi Arakaki
8ffc065a5a
Move maybe_reset_undo event to worksheet
2012-08-28 16:39:32 +02:00
Takafumi Arakaki
23c75f5a2b
Add FIXME on ein:notebook-discard-output-on-save
2012-08-28 16:32:39 +02:00
Takafumi Arakaki
03d7c82cb8
Update document
2012-08-28 16:32:15 +02:00
Takafumi Arakaki
5e22f31dfe
ein:notebook-enable-undo -> ein:worksheet-enable-undo
2012-08-28 16:28:14 +02:00
Takafumi Arakaki
6189c8e250
Document ein:source-dir
2012-08-28 16:06:38 +02:00
Takafumi Arakaki
5d9d37a8de
Fix compile warnings in test-ein-notebook.el
2012-08-28 15:54:04 +02:00
Takafumi Arakaki
1ba8f46b3a
Fix compile warning in ein-testing-kernel.el
2012-08-28 15:50:58 +02:00
Takafumi Arakaki
6e1d9084e6
Merge branch 'ein-core'
...
EIN specific variables and functions are moved to ein-core.el
from ein-utils.el
2012-08-28 15:48:43 +02:00
Takafumi Arakaki
e70d3da4ab
Move tests to test-ein-core.el from test-ein-utils.el
2012-08-28 15:38:09 +02:00
Takafumi Arakaki
bf9d4f7b5d
Move EIN specific stuff to ein-core from ein-utils
2012-08-28 15:36:15 +02:00
Takafumi Arakaki
ca8c1678fe
(require 'ein-utils) -> (require 'ein-core)
2012-08-28 15:26:32 +02:00
Takafumi Arakaki
338ff5267f
Add ein-core.el
2012-08-28 15:26:02 +02:00
Takafumi Arakaki
7dff9d7f6a
Add FIXMEs on ein:$kernel
2012-08-28 15:06:28 +02:00
Takafumi Arakaki
4a1b812e21
Define "public" method ein:kernel-url-or-port
2012-08-28 14:55:22 +02:00
Takafumi Arakaki
92e1d097e5
Merge branch 'input-history'
...
* New kernel API ein:kernel-history-request is introduced
* History can be inserted into the current buffer using M-p/n
2012-08-28 14:37:17 +02:00
Takafumi Arakaki
08bb176cd7
Update eldomain for menu item support in keymap
2012-08-28 14:35:22 +02:00
Takafumi Arakaki
4d6043652d
Fix: minimum history is 1 now
2012-08-28 13:10:37 +02:00
Takafumi Arakaki
5ef22cccaa
Fix docstring of history commands
2012-08-28 12:40:57 +02:00
Takafumi Arakaki
6b745919bb
Update change log
2012-08-28 12:36:21 +02:00
Takafumi Arakaki
7a53f05af4
Document history functions
2012-08-28 12:34:24 +02:00
Takafumi Arakaki
a31184a5b6
Add commands ein:worksheet-previous/next-input-history
2012-08-28 12:23:47 +02:00
Takafumi Arakaki
8ce439b927
Add ein:kernel-history-request
2012-08-28 12:18:12 +02:00
Takafumi Arakaki
8b052354f6
Simplify words in notebook menu
2012-08-28 09:12:31 +02:00
Takafumi Arakaki
c96687ad0a
Organize notebook menu
2012-08-28 09:02:07 +02:00
Takafumi Arakaki
ab21912876
Add ein:iexec-mode to notebook menu
2012-08-28 08:31:49 +02:00
Takafumi Arakaki
85579c9efc
Merge branch 'pseudo-console'
2012-08-28 08:27:03 +02:00
Takafumi Arakaki
2404e4673c
Update change log
2012-08-28 08:26:07 +02:00
Takafumi Arakaki
31951b51f3
Add ein:pseudo-console-mode to notebook menu
2012-08-28 08:24:56 +02:00
Takafumi Arakaki
b1a7e85235
Autoload ein:pseudo-console-mode
2012-08-28 08:21:38 +02:00
Takafumi Arakaki
638a60f48e
Add ein:pseudo-console-mode
2012-08-28 08:21:24 +02:00
Takafumi Arakaki
9ba0010cc9
Merge branch 'scratchsheet'
2012-08-28 08:02:13 +02:00
Takafumi Arakaki
056f7f89fe
Update change log
2012-08-28 08:01:14 +02:00