Takafumi Arakaki
ed0bd74630
Adapt to new messaging protocol (add metadata)
...
As this change just introduces an additional key in outgoing
message, the new version of EIN also works with previous versions
of IPython.
fixes #46
2012-08-08 19:33:51 +02:00
Takafumi Arakaki
ac29aa2e8a
No auto-complete drop-down list when no matches
2012-08-04 04:28:21 +02:00
Takafumi Arakaki
5888582310
Fix ein:filename-translations docstring
2012-08-04 04:16:05 +02:00
Takafumi Arakaki
c4924efdbd
Refactor ein:filename-to/from-python functions
2012-08-04 02:13:14 +02:00
Takafumi Arakaki
d2c8c5eee6
Document ein:kernel-request-stream
2012-08-04 00:04:16 +02:00
Takafumi Arakaki
959102e70e
Document ein:tramp-create-filename-translator more
2012-08-03 23:58:08 +02:00
Takafumi Arakaki
6113b47a76
Rename to ein:tramp-create-filename-translator
...
And make it more robust by adapting code from slime-tramp.el.
2012-08-03 23:52:34 +02:00
Takafumi Arakaki
7a7e1bfa31
Use filename translator in ein:kernelinfo-update-ccwd
2012-08-03 23:28:38 +02:00
Takafumi Arakaki
1be0c9924e
Add ein:make-tramp-filename-translation
2012-08-03 23:06:46 +02:00
Takafumi Arakaki
51992efe5b
ein:pytools-jump-to-source works with tramp now
...
ein:filename-translations is added.
2012-08-03 23:05:23 +02:00
Takafumi Arakaki
c58d16d12a
Use destructuring-bind in ein:pytools-jump-to-source
2012-08-03 22:21:17 +02:00
Takafumi Arakaki
454ecffa8d
Check that the cell to merge exists
2012-08-01 23:20:57 +02:00
Takafumi Arakaki
4308b8ba9f
Reverse the direction to merge
...
Rational to do this is this makes split+merge an identity operation.
2012-08-01 23:19:37 +02:00
Takafumi Arakaki
d4d1b0c9aa
Fix ein:notebook-merge-cell-command undo spec
...
Follow the specification written in ein:notebook-enable-undo.
2012-08-01 23:04:48 +02:00
Takafumi Arakaki
22848bdd91
Use the output area of the bottom cell when merge
...
fixes #37
2012-08-01 23:02:17 +02:00
Takafumi Arakaki
b3050b27ef
Preserve output of the bottom cell when splitting
...
Also eintest:notebook-undo-after-split is fixed. Previous test
was actually wrong. Note that (ein:notebook-empty-undo-maybe)
is added to make the test pass for ein:notebook-enable-undo=yes.
The current behavior is what mentioned in ein:notebook-enable-undo.
fixes (part of) #37
2012-08-01 22:44:00 +02:00
Takafumi Arakaki
c611076807
Add ein:connect-to-notebook-command
2012-08-01 21:04:50 +02:00
Takafumi Arakaki
d25ef23ba8
Do not start completion by "." when in comment/str
2012-08-01 20:04:47 +02:00
Takafumi Arakaki
96dd850ee5
Document ein:complete-on-dot bit more
2012-07-29 18:19:28 +02:00
Takafumi Arakaki
64ead0598a
Use set-keymap-parent instead of setcdr
...
Otherwise, the previous commit does not work.
2012-07-29 18:14:33 +02:00
Takafumi Arakaki
38d8321259
Option to start completion when "." is inserted
2012-07-29 18:14:31 +02:00
Takafumi Arakaki
d65dfc457d
Cosmetic changes on ein-connect.el
2012-07-29 17:33:08 +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
b329b03bdd
Change connect-mode lighter depending on :autoexec
2012-07-29 17:11:57 +02:00
Takafumi Arakaki
dbfeb30f89
Invoke auto-execution via after-save-hook
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
fa9b845b3e
Change ein:iexec-mode lighter
2012-07-29 17:11:30 +02:00
Takafumi Arakaki
e75c562181
Don't require rst.el in ein-dev.el
...
This workarounds the bug in rst.el:
rst.el: Symbol's function definition is void: copy-list
https://sourceforge.net/tracker/?func=detail&aid=3551316&group_id=38414&atid=422030
2012-07-29 14:18:30 +02:00
Takafumi Arakaki
4406d00e33
Rename ein-autoexec.el to ein-iexec.el
2012-07-29 14:17:05 +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
5af748430b
Fix tooltip help when it is not found
...
ein:kernel-construct-help-string returned empty string when help
is not found in the previous version.
2012-07-25 21:54:56 +02:00
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
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
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