Takafumi Arakaki
a769aa3b03
Fix test ein:notebook-execute-current-cell-question for Emacs 23
...
At the time (ein:$notebook-pager ein:%notebook%) is executed, the
current buffer is changed to the pager buffer. As `notebook' is
already let-bound to ein:$notebook instance, it is better to use
this than the buffer local ein:%notebook%.
2012-08-23 17:39:06 +02:00
Takafumi Arakaki
d7fd93774d
Fix test ein:get-cell-at-point--shared-output for Emacs 23
2012-08-23 17:23:46 +02:00
Takafumi Arakaki
985de9c7e8
Fix ein:notebook-complete-dot
...
Dot was not inserted in non-code type cell.
2012-08-20 02:58:08 +02:00
Takafumi Arakaki
beef229870
Merge branch 'refactor-tooltip-and-completion'
...
Tooltip and completion commands for notebook and connected buffer
are unified.
2012-08-19 23:13:32 +02:00
Takafumi Arakaki
c55e4c83c0
Move completion functions to ein-completer.el
...
Unify functions in ein-notebook.el and ein-connect.el.
2012-08-19 23:04:00 +02:00
Takafumi Arakaki
3b13458d0d
Fix functional test
2012-08-19 21:48:33 +02:00
Takafumi Arakaki
c7a5de2c11
Fix failing unit test (add test-ein-pytools.el)
2012-08-19 21:48:32 +02:00
Takafumi Arakaki
f32a169920
Move tooltip and help command to pytools
...
ein-notebook.el and ein-connect.el can share same command thanks to
the generic getter function.
2012-08-19 21:48:28 +02:00
Takafumi Arakaki
e2be2ab3b0
Merge branch 'decouple-events-buffer'
...
Decouple `ein:events' from notebook buffer
This will help implementing worksheet in EIN as notebook can have
multiple buffers.
* The `:buffer' slot is removed from the class `ein:events'.
* Test that callback given to `ein:events-on' carries buffer
information when necessary.
2012-08-19 13:13:53 +02:00
Takafumi Arakaki
5afc60c768
Add test ein:notebook-undo-via-events
2012-08-19 13:13:01 +02:00
Takafumi Arakaki
a2d49ca51d
Simplify ein:notification--fadeout-callback
2012-08-19 12:45:22 +02:00
Takafumi Arakaki
7ca779e836
Move ein:with-live-buffer to ein-utils.el
2012-08-19 12:44:00 +02:00
Takafumi Arakaki
3043937a66
Fix the failing test in test-ein-notification.el
2012-08-19 12:37:56 +02:00
Takafumi Arakaki
66bb888424
Restore current buffer in event callbacks in ein-notebook.el
2012-08-19 12:36:13 +02:00
Takafumi Arakaki
4037bcc91f
Restore current buffer in ein:notification--fadeout-callback
2012-08-19 12:21:57 +02:00
Takafumi Arakaki
62ab5c5ba9
Use ignore function in ein:shared-output-bind-events
2012-08-19 12:15:31 +02:00
Takafumi Arakaki
8acb9409b1
Remove :buffer slot from ein:events class
2012-08-19 12:10:36 +02:00
Takafumi Arakaki
9d74a806a0
Merge branch 'relax-notebook-buffer'
...
Relax notebook-buffer dependencies.
This will help implementing worksheet in EIN as notebook will have
multiple notebook buffer representing worksheet.
* ein:notebook--opened-map stores instances of opened notebook, not
buffers.
* ein:notebook-modified-p takes notebook instance as argument
instead of notebook buffer.
2012-08-19 05:03:06 +02:00
Takafumi Arakaki
37b79cef84
Fix ein:notebook-kill-all-buffers
2012-08-19 05:02:18 +02:00
Takafumi Arakaki
c020d6e645
Add sections in ein-notebook.el
2012-08-19 04:41:26 +02:00
Takafumi Arakaki
26a6dfe6ff
Fix: ein:notebook is referenced
2012-08-19 04:34:47 +02:00
Takafumi Arakaki
5e342cb19a
Move ein:notebook-opened-buffer-names
2012-08-19 04:18:02 +02:00
Takafumi Arakaki
49d3d5acf7
Change: ein:notebook-modified-p takes notebook now
2012-08-19 04:17:34 +02:00
Takafumi Arakaki
0025cca406
Fix ein:notebook-get-opened-buffer
2012-08-19 03:43:54 +02:00
Takafumi Arakaki
ecd7a2c044
Fix failing unit tests
...
* Undocumented returned value of ein:notebook-request-open-callback
(previously notebook buffer, now notebook) is used.
Now this implicit dependency is removed.
* ein:notebook-opened-map renamed to ein:notebook--opened-map
2012-08-19 03:40:59 +02:00
Takafumi Arakaki
2c1680a0a8
Add functions to manipulate opened notebook map
...
This gives better encapsulation.
2012-08-19 03:19:46 +02:00
Takafumi Arakaki
3766cc1c1a
Add API function ein:notebook-buffer-p
2012-08-19 02:32:11 +02:00
Takafumi Arakaki
e2aeb9d26d
Merge branch 'rename-buffer-local-variables'
...
* Buffer local variables previously named `ein:@NAME' or `ein:NAME'
are renamed to `ein:%NAME%`.
Variables which may be used by user remain as obsolete alias
variables.
* Classes previously naed `ein:$NAME' are renaed to `ein:NAME'.
Note that *struct*s remain as-is.
2012-08-19 02:26:07 +02:00
Takafumi Arakaki
bf4b4b8fdc
Rename class: %s/$shared-output/shared-output/g
2012-08-19 00:26:09 +02:00
Takafumi Arakaki
63d234cd82
Rename class: %s/$connect/connect/g
2012-08-19 00:24:18 +02:00
Takafumi Arakaki
3a3c21e785
Add a note on naming rule in ein.el
2012-08-19 00:24:17 +02:00
Takafumi Arakaki
c6ca4facd0
Use ein:%notebook% in test-ein-notebook.el
...
%s/\_<ein:\(notebook\)\_>/ein:%\1%/g
2012-08-19 00:24:16 +02:00
Takafumi Arakaki
58628a0d21
Use ein:%notebook% in test-ein-cell-notebook.el
...
%s/\_<ein:\(notebook\)\_>/ein:%\1%/g
2012-08-19 00:24:15 +02:00
Takafumi Arakaki
41806c396e
Use ein:%notebook% and ein:%notebooklist% in func-test.el
...
%s/\_<ein:\(notebooklist\)\_>/ein:%\1%/g
%s/\_<ein:\(notebook\)\_>/ein:%\1%/g
2012-08-19 00:24:14 +02:00
Takafumi Arakaki
4ae4bd264a
Use ein:%notification% in test-ein-notification.el
...
%s/\_<ein:@\(notification\)\_>/ein:%\1%/g
2012-08-19 00:24:12 +02:00
Takafumi Arakaki
f754a06ed6
Rename: ein:@shared-output -> ein:%shared-output%
...
%s/\_<ein:@\(shared-output\)\_>/ein:%\1%/g
2012-08-19 00:24:10 +02:00
Takafumi Arakaki
281d09a5f5
Rename: ein:@connect -> ein:%connect%
...
%s/\_<ein:@\(connect\)\_>/ein:%\1%/g
Define obsolete alias, as user might use this variable.
2012-08-18 23:03:07 +02:00
Takafumi Arakaki
71015afd45
Rename: ein:@traceback -> ein:%traceback%
...
%s/\_<ein:@\(traceback\)\_>/ein:%\1%/g
2012-08-18 23:02:42 +02:00
Takafumi Arakaki
5bbb240eef
Rename: ein:@notification -> ein:%notification%
...
%s/\_<ein:@\(notification\)\_>/ein:%\1%/g
Define obsolete alias, to make test pass.
2012-08-18 23:02:20 +02:00
Takafumi Arakaki
71ec80da82
Rename: ein:query... -> ein:%query-ajax-canceled%
...
%s/\_<ein:\(query-ajax-canceled\)\_>/ein:%\1%/g
2012-08-18 23:00:51 +02:00
Takafumi Arakaki
b044aca6b7
Rename: ein:query... -> ein:%query-ajax-timer%
...
%s/\_<ein:\(query-ajax-timer\)\_>/ein:%\1%/g
2012-08-18 23:00:24 +02:00
Takafumi Arakaki
b74f7acbcd
Rename: ein:cell... -> ein:%cell-append-stream-last-cell%
...
%s/\_<ein:\(cell-append-stream-last-cell\)\_>/ein:%\1%/g
2012-08-18 23:00:05 +02:00
Takafumi Arakaki
733e68284a
Rename: ein:notebook -> ein:%notebook%
...
%s/\_<ein:notebook\_>/ein:%notebook%/g
Define obsolete alias, as user might use this variable.
2012-08-18 22:59:31 +02:00
Takafumi Arakaki
079701cfb2
Rename: ein:notebooklist -> ein:%notebooklist%
...
%s/\_<ein:notebooklist\_>/ein:%notebooklist%/g
Define obsolete alias, as user might use this variable.
2012-08-18 22:59:14 +02:00
Takafumi Arakaki
aa7fa77906
Remove buffer specific logging
...
It is not super useful feature. Simplifying logging module by
removing this is better.
2012-08-16 17:54:03 +02:00
Takafumi Arakaki
714f07e759
Add ein:ewoc-create in ein-utils
2012-08-16 17:03:53 +02:00
Takafumi Arakaki
ef9739dea3
Merge branch 'console'
...
Refactor and improve console integration. It is decoupled from
notebook module now. As a result, ein:console-open works in
other buffers such as connected buffer now.
2012-08-16 16:43:21 +02:00
Takafumi Arakaki
383f3003bf
Fix tests for console integration
2012-08-16 16:40:57 +02:00
Takafumi Arakaki
6e6c0c65f3
Rename ein:notebook-console-security-dir in docstring
2012-08-16 16:40:27 +02:00
Takafumi Arakaki
a75d6ede3c
Add ein:console-open in ein:connect-mode-map
2012-08-16 16:32:57 +02:00