Commit graph

995 commits

Author SHA1 Message Date
Takafumi Arakaki
5888582310 Fix ein:filename-translations docstring 2012-08-04 04:16:05 +02:00
Takafumi Arakaki
dedef7e032 Workaround error in tests from MuMaMo
Without this workaround, I had three failed tests:

3 unexpected results:
   FAILED  ein:notebook-ask-before-kill-emacs-simple
   FAILED  ein:notebook-from-json-simple
   FAILED  ein:notebook-yank-cell-command-two-buffers

These tests failed because of the following same error:

    (error "fun-var-sym=mumamo-eval-in-ein:notebook-bg-mode, use-major-entry=(ein:notebook-bg-mode (mumamo-eval-in-ein:notebook-bg-mode mumamo-def-eval-in-ein:notebook-bg-mode mumamo-kw-eval-in-ein:notebook-bg-mode))")
2012-08-04 04:10:58 +02:00
Takafumi Arakaki
e49811db5c Add tests for filename translator 2012-08-04 04:01:27 +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
286f9d0df8 Merge branch 'fix-merge-split' 2012-08-01 23:22:38 +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
c1b0eab11d Document eintest:notebook-split-cell-at-point 2012-08-01 22:02:37 +02:00
Takafumi Arakaki
7eecbd9478 Document ein:connect-to-notebook-command 2012-08-01 21:05:56 +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
1be099d4e7 Merge branch 'complete-on-dot' 2012-07-29 18:21:02 +02:00
Takafumi Arakaki
e493368721 Update change log and document 2012-07-29 18:19:46 +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
6b38440568 Merge branch 'autoexec2' 2012-07-29 17:16:05 +02:00
Takafumi Arakaki
7849492059 Added auto-execution document and change log 2012-07-29 17:12:40 +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
8c09058d02 %s/autoexec/iexec/g in doc/source/index.rst 2012-07-29 17:10:58 +02:00
Takafumi Arakaki
98781260c0 Fix document build due to autoexec rename 2012-07-29 17:09:18 +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
7015abf223 Add tests for ein:kernel-construct-help-string 2012-07-25 22:16:05 +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
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