Commit graph

800 commits

Author SHA1 Message Date
Takafumi Arakaki
3a968a9b18 Autoload ein:notebooklist-new-notebook 2012-07-25 20:52:48 +02:00
Takafumi Arakaki
ae4ed72938 ein:notebooklist-new-notebook works w/o notebook list
Previously, ein:notebooklist-new-notebook needs opened notebook
list buffer to work.  This constraint is removed since the notebook
buffer is used just to retrieve url-or-port variable.

fixes #33
2012-07-25 20:48:27 +02:00
Takafumi Arakaki
b90e18f1ff Do not duplicate "~" in path when completing
fixes #26
2012-07-25 19:34:21 +02:00
Takafumi Arakaki
232b5644a9 Merge branch 'narrow-tooltip' 2012-07-25 19:00:33 +02:00
Takafumi Arakaki
8827f2d9e6 Tweak debug log in ein:kernel-construct-help-string 2012-07-25 18:59:41 +02:00
Takafumi Arakaki
19563ceb4e Refactor ein:kernel-construct-help-string 2012-07-25 18:55:55 +02:00
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
2ba21c0d6d Merge branch 'fix-autoexec-insert' 2012-07-22 17:12:26 +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
1308c45f48 Merge branch 'autoexec' 2012-07-22 16:23:31 +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
58d52ac6eb Remove useless debug guideline from the document 2012-07-22 14:31:56 +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
ecb6f6eaad Merge branch 'mumamo-indent-line-function-2' 2012-07-22 12:58:11 +02:00
Takafumi Arakaki
281eed3815 Improve logging and debugging document 2012-07-22 04:11:19 +02:00
Takafumi Arakaki
83f9d4cf8f Add "Reporting issue" section in the document 2012-07-22 02:06:54 +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
6daeec07b9 Merge branch 'toggle-cell-no-point-move' 2012-07-21 16:15:51 +02:00
Takafumi Arakaki
13e9e7f29b Add a test ein:notebook-change-cell-type-cycle-through 2012-07-21 15:02:07 +02:00
Takafumi Arakaki
bcc15f032c Make ein:notebook-change-cell-type lisp-friendly 2012-07-21 15:01:31 +02:00
Takafumi Arakaki
0e910b46fd Fix test: ein:notebook-toggle-cell-type-simple 2012-07-21 14:41:09 +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
122ddcebe2 Merge branch 'heading-face' 2012-07-21 00:57:07 +02:00
Takafumi Arakaki
c14c2475cc Update change log 2012-07-20 20:53:49 +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
bc1c59e333 Merge branch 'imenu' 2012-07-20 20:15:46 +02:00
Takafumi Arakaki
c3607f486e Update change log in the document 2012-07-20 20:15:05 +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