Commit graph

26 commits

Author SHA1 Message Date
Takafumi Arakaki
a7ed0ca447 Remove ein:cell-max-num-outputs from document
And disable it (set to nil).

Limiting number of output does not work well, when a lot of inputs
comes with carriage returns.  Probably it is better to limit by
number of lines (plus maybe number of images).
2012-08-11 00:48:56 +02:00
Takafumi Arakaki
12fae49898 Fix arguments of other callbacks
Any callbacks called from ein:kernel--handle-shell-reply are passed
metadata.  Therefore, complete/tooltip callbacks must be changed.
2012-08-08 23:27:07 +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
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
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
a512a33a35 Correct max-num-outputs 2012-07-28 02:02:49 +02:00
Takafumi Arakaki
d65394ff75 Fix how ein:cell-max-num-outputs is treated
Previous version added newline after "." every time when the new
output is sent from the server.
2012-07-28 01:52:31 +02:00
Takafumi Arakaki
1a6f4cfa58 Inherit ein:pos-tip-face from popup-tip-face 2012-07-25 22:16:37 +02:00
Takafumi Arakaki
0205188933 Make ein:cell-input-pos-min/max more robust
EWOC node for input area may not be set when these function is called.
However, error should not be raised even so.
2012-07-22 16:57:41 +02:00
Takafumi Arakaki
3d61551215 Remove unused variable from ein:cell-input-pos-min 2012-07-22 16:50:45 +02:00
Takafumi Arakaki
3934f8471a Add optional RELPOS argument to ein:cell-goto 2012-07-21 14:32:11 +02:00
Takafumi Arakaki
34a10d38b5 Add ein:cell-relative-point function 2012-07-21 14:31:42 +02:00
Takafumi Arakaki
0e385ceb69 Fix: copying heading cell discarded level info 2012-07-21 14:28:14 +02:00
Takafumi Arakaki
9bd3b249ff Use overlay to specify ein:cell-heading-N faces
As there is some problem with text property based face and MuMaMo,
using text property for heading is not good idea.  Turing on/off
heading face changes height and moves the following contents in the
notebook.  This is not allowable.

Furthermore, previous approach does not work when there is no text
in the input area or when inserting in front of the current heading.
2012-07-20 20:51:37 +02:00
Takafumi Arakaki
a18c3a8035 Add heading faces 2012-07-20 20:38:04 +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
460ae08575 Fix ein:cell-max-num-outputs docstring 2012-07-17 19:13:32 +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
63958f3cfa Change mime type preference: text over latex
LaTeX is not for human!
2012-07-14 15:19:26 +02:00
Takafumi Arakaki
27ca1a6c5a Fix the problem with unclosed ANSI escape code 2012-07-10 07:51:41 +02:00
Takafumi Arakaki
6f3fb3b576 Handle carriage return using comint
fixes #13
2012-07-10 02:47:47 +02:00
Takafumi Arakaki
d6bb022941 Refactor ein:cell-finish-tooltip 2012-07-08 13:45:30 +02:00
Takafumi Arakaki
d1031fd61e mv *ein*.el ein.py lisp/
fixes #6
2012-07-02 16:47:20 +02:00
Renamed from ein-cell.el (Browse further)