Commit graph

34 commits

Author SHA1 Message Date
John Miller
bea8b7b580 Compiler warning cleanup.
Also try to resolve a bit of the dependency heck that is ein.
2018-05-31 12:44:16 -05:00
John Miller
73747d86d9 ein-shared-output: Queue up requests ala deferred:$
Try to gracefully handle multiple calls to `ein:shared-output-eval-string' by
wrapping calls to deferred:$. The deferred chain will not call
`ein:cell-execute' if the cell is already running.

Also did a bit of refactoring in ob-ein.
2018-03-10 07:53:49 -06:00
John Miller
c5421b090f More eieio warning cleanup. 2017-11-04 11:27:06 -05:00
John Miller
5f61a7fd09 ein-shared-output: Warning cleanup. 2017-10-24 12:42:41 -05:00
John Miller
71d8994ebb Undoing earlier bone-headedness
Finally getting Sam's PR right (sorry about that, Sam). Getting the
mocker subtree into the right place because apparently I cannot type.
2016-09-23 10:37:48 -05:00
John Miller
ed70a26700 Set local keymap for ein's derived modes. 2016-09-19 09:02:35 -05:00
Sam Steingold
99de3360c3 derived modes inherit from special-mode or view-mode as appropriate
this means that the derived modes get all the standard keybinding in the standard way.
2016-09-13 09:32:31 -04:00
John Miller
a9736311c8 Fix what was broken with shared output buffers.
Regression from previous commits adding slide features.
2016-07-25 08:21:50 -05:00
Takafumi Arakaki
76591e007b Use region as default code for ein:shared-output-eval-string 2013-03-10 08:11:30 +01:00
Takafumi Arakaki
9a637921f1 Improve ein:shared-output-eval-string 2013-03-08 14:10:37 +01:00
Takafumi Arakaki
5a0605f586 Pass keyword option to ein:kernel-execute 2012-11-03 22:11:19 +01:00
Takafumi Arakaki
6f1a11be30 Add autoload cookies 2012-09-01 20:51:55 +02:00
Takafumi Arakaki
1f7e6ec857 s/\(maybe_reset_undo\).Notebook/\1.Worksheet/g 2012-08-28 16:42:07 +02:00
Takafumi Arakaki
4a1b812e21 Define "public" method ein:kernel-url-or-port 2012-08-28 14:55:22 +02:00
Takafumi Arakaki
d461afeccb set_dirty.Notebook -> set_dirty.Worksheet 2012-08-27 23:21:47 +02:00
Takafumi Arakaki
acff775e4c Remove ein:notebook-pp 2012-08-26 13:25:47 +02:00
Takafumi Arakaki
47cfc2238d Fix generic getters in ein-shared-output.el
Check if the current buffer is the shared output buffer before
retrieving any object.
2012-08-20 14:56:42 +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
bf4b4b8fdc Rename class: %s/$shared-output/shared-output/g 2012-08-19 00:26:09 +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
714f07e759 Add ein:ewoc-create in ein-utils 2012-08-16 17:03:53 +02:00
Takafumi Arakaki
f4f116b26f Replace ein:pytools-eval-string-internal
with ein:shared-output-eval-string
2012-08-16 01:59:23 +02:00
Takafumi Arakaki
53fbf9b554 Add ein:shared-output-eval-string
This function should be usable anywhere.
2012-08-15 23:04:20 +02:00
Takafumi Arakaki
1193f12b8f Move notebook-show-in-shared-output to shared-output 2012-08-15 21:41:05 +02:00
Takafumi Arakaki
06b1c74a5a Add tests ein:get-*--nil and fix a bug 2012-08-14 22:14:02 +02:00
Takafumi Arakaki
3f8f995910 Provide ein:tb-show in connect/shared-output 2012-08-14 21:11:18 +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
f510e8d50f Implement "generic getter" mechanism
See the docstring of ein:generic-getter
2012-08-14 21:05:03 +02:00
Takafumi Arakaki
c798f7d143 Adapt to new kernel-execute API
This is required to avoid wrong-number-of-arguments error,
unlike javascript.
2012-08-08 21:30:14 +02:00
Takafumi Arakaki
1d6aa0765a Add ein:cell-max-num-outputs config variable 2012-07-17 19:01:22 +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
d1031fd61e mv *ein*.el ein.py lisp/
fixes #6
2012-07-02 16:47:20 +02:00
Renamed from ein-shared-output.el (Browse further)