Takafumi Arakaki
c07b273fcb
Fold call signature in ein:kernel-construct-help-string
...
fixes #14
2012-07-25 18:51:02 +02:00
Takafumi Arakaki
dcb7a99afc
Fix debug-ein.el: use proper config
2012-07-23 20:49:16 +02:00
Takafumi Arakaki
99c0441992
Respect ein:use-auto-complete in ein:completer-choose
2012-07-23 20:37:32 +02:00
Takafumi Arakaki
182cfe8672
Add debug logs in finish-completing functions
2012-07-23 20:33:46 +02:00
Takafumi Arakaki
96b4c554ac
Fix byte-compile warning
...
This fixes the following compile warning when lisp files are
compiled together by:
emacs ... -batch -f batch-byte-compile lisp/*.el
This is the warning:
In end of data:
lisp/ein-notebooklist.el:397:1:Warning: the function `ein:default-url-or-port'
might not be defined at runtime.
I don't know why this warning occurs, but as the line removed is
not needed any more, this is an OK change.
2012-07-22 18:07:06 +02:00
Takafumi Arakaki
dd5ba89a16
Add tests for ein-autoexec.el
2012-07-22 17:40:35 +02:00
Takafumi Arakaki
91af6700ce
Fix the problem with autoexec and insert
...
The problem was that ein:cell-input-pos-min/max fail when called
during the insertion, because the input area does not exist yet
when inserting, for example prompt EWOC node. This is fixed in
the previous commit 0205188933
.
They return nil when there is no input area yet. So,
ein:autoexec-after-change checks if they return nil or not now.
2012-07-22 17:07:17 +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
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