Commit graph

114 commits

Author SHA1 Message Date
Takafumi Arakaki
c6adb4ff56 Document ein:autoexec-mode 2012-07-22 16:02:14 +02:00
Takafumi Arakaki
66ea6f6d10 Add autoload for ein:autoexec-mode in ein.el 2012-07-22 16:01:53 +02:00
Takafumi Arakaki
15efdd2ce5 Add delay before auto execution 2012-07-22 15:53:00 +02:00
Takafumi Arakaki
b97586fbc1 Add ein-autoexec.el 2012-07-22 15:40:41 +02:00
Takafumi Arakaki
1561cffa4a Add some autoloads for ein:dev-* funcs in ein.el 2012-07-22 14:24:34 +02:00
Takafumi Arakaki
ccf79152bf Use websocket-callback-debug-on-error in ein-dev 2012-07-22 14:14:31 +02:00
Takafumi Arakaki
dfeadad28d Add more log levels to suppress logs from MuMaMo
Solving #25 (sub-package level logger) will be the ultimate solution.
But probably this is enough.
2012-07-22 13:16:29 +02:00
Takafumi Arakaki
8ca8c1ba13 Add more debug logging in shell/iopub-reply 2012-07-22 13:04:09 +02:00
Takafumi Arakaki
6f76750318 Comment/document functions 2012-07-22 01:22:54 +02:00
Takafumi Arakaki
95c1ea5812 Ultra super aggressive workaround
Bit long code block is inserted during indentation to avoid error
in some cases.

fixes #24
2012-07-22 00:34:15 +02:00
Takafumi Arakaki
3ba35ec7a1 Generalize the workaround for indent in MuMaMo
Do the workaround bit more aggressive, in order to apply in cases
other than the cursor-at-the-end-of-input.

fixes #36
2012-07-22 00:11:35 +02:00
Takafumi Arakaki
bcc15f032c Make ein:notebook-change-cell-type lisp-friendly 2012-07-21 15:01:31 +02:00
Takafumi Arakaki
21f18c105e Do not move point after converting cell type 2012-07-21 14:36:28 +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
e6ad9bc9f3 Stop requiring mumamo-cmirr as it is not used
I don't remember why mumamo-cmirr is needed, but removing mumamo-cmirr
does not causes compile waring or error and notebook works.

See also: #39
2012-07-21 12:34:10 +02:00
Takafumi Arakaki
d3d4f1e7c3 Represent heading level using #'s in Imenu 2012-07-21 03:32:25 +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
cdf2d7ea11 Better position for imenu 2012-07-20 20:07:12 +02:00
Takafumi Arakaki
150cd45664 Workaround the buffer local problem in MuMaMo 2012-07-20 20:07:12 +02:00
Takafumi Arakaki
b228a312e5 Add simple imenu support in notebook buffer
It concerns only heading cells.
2012-07-20 20:07:12 +02:00
Takafumi Arakaki
2154742c45 Better focus after ein:notebook-change-cell-type 2012-07-20 20:06:55 +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
10820048f8 Integrate pandas DataFrame with Simple Emacs Spreadsheet 2012-07-19 21:23:57 +02:00
Takafumi Arakaki
88fc3222c5 Comment on ein:mumamo-indent-line-function-workaround 2012-07-19 17:36:45 +02:00
Takafumi Arakaki
683aba0341 Fix and improve ein:notebook-kill-all-buffers
The prompt message was not correct; It was counting opened notebooks,
not unsaved ones.
2012-07-19 14:29:31 +02:00
Takafumi Arakaki
241df76f4a Now, C-c C-q closes notebook if kernel is dead
fixes #30
2012-07-19 00:37:39 +02:00
Takafumi Arakaki
c104a0b19d Rename ein:kernel-ready-p to ein:kernel-live-p 2012-07-19 00:37:30 +02:00
Takafumi Arakaki
0038f2f645 Document ein:notebook-kill-all-buffers command 2012-07-19 00:02:43 +02:00
Takafumi Arakaki
c643e97cef Document output truncation config/command 2012-07-17 19:15:00 +02:00
Takafumi Arakaki
460ae08575 Fix ein:cell-max-num-outputs docstring 2012-07-17 19:13:32 +02:00
Takafumi Arakaki
23ae823225 Map C-c C-; to ein:notebook-show-in-shared-output 2012-07-17 19:10:44 +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
ba16a14ac3 Workaround indentation problem in mumamo
fixes #20
2012-07-17 08:17:22 +02:00
Takafumi Arakaki
68918ddcbe Add sections in ein-mumamo.el 2012-07-17 07:25:57 +02:00
Takafumi Arakaki
c1de159060 Retain original point after updating notebook list
fixes #22
2012-07-15 22:27:49 +02:00
Takafumi Arakaki
d9c96d86f3 Update docstrings 2012-07-14 16:46:17 +02:00
Takafumi Arakaki
b79a51c657 Add ein:notebook-rename-to-scratch-command 2012-07-14 16:36:51 +02:00
Takafumi Arakaki
22fc876723 Add ein:scratch-notebook-name 2012-07-14 16:30:56 +02:00
Takafumi Arakaki
51b623e4e2 Move ein:scratch-notebook-name-template to ein-utils.el 2012-07-14 16:23:25 +02:00
Takafumi Arakaki
84876d0188 Add sections in ein-utils.el 2012-07-14 16:22:15 +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
502b9d3182 Use ein:log instead of message in ein-connect.el 2012-07-12 02:59:54 +02:00
Takafumi Arakaki
5c5ba3810b Support callback in ein:notebooklist-open-notebook-by-name 2012-07-12 02:56:23 +02:00
Takafumi Arakaki
857660c0a3 Fix ein:connect-to-notebook: no popup 2012-07-12 02:44:34 +02:00
Takafumi Arakaki
96cb9076f3 Connect to not-yet-opened notebook
fixes #16

Note that this change introduces another problem:
ein:connect-to-notebook popups notebook buffer (opens notebook buffer
and change focus to it).  Fixing this requires change in
ein:notebook-open.
2012-07-12 02:04:50 +02:00
Takafumi Arakaki
38b2362268 Add some autoloads in ein.el 2012-07-12 01:59:01 +02:00