Commit graph

1546 commits

Author SHA1 Message Date
dickmao
c7ff377a89 cl-generic 0.3 is not going to cut it 2019-04-14 12:15:54 -04:00
John M. Miller
3f5173cb2f Avoid completing against punctuation (again).
Fix #506 while maintaining (I hope) the spirit of #463.
2019-04-04 16:42:59 -05:00
dickmao
d730e2f42b melpa version of polymode 2019-04-04 11:47:36 -04:00
John Miller
b591c9b26a
Merge pull request #504 from millejoh/issue-503
fix for #503
2019-04-04 06:26:30 -05:00
dickmao
539c3339dd Undo did not account for slideshow
C-c C-d breaks undo.  Fix as follows:

Before: turn on slide indicator via C-c S, toggle type with C-c C-d

After: toggle type with C-c S.

Benefits: Fixes undo, simplifies slideshow operation, elpy users are
accustomed to having C-c C-d be "jump to doc"
2019-04-04 05:45:34 -04:00
John Miller
5736cb3716 Fortify tests, tweak cursor motion in notebooklist buffers. 2019-04-03 17:34:37 -05:00
John Miller
57ca951933 fix for #503 2019-04-03 14:27:32 -05:00
dickmao
f34bdf32ff irnb is a kagglism that jupyter doesn't understand 2019-04-02 19:40:34 -04:00
dickmao
7cb37f4093 add diagnostic to eldoc test failure 2019-04-02 11:00:31 -04:00
dickmao
c0753445bc avoid hardcoding packages 2019-04-02 09:35:56 -04:00
dickmao
234cf391f9 Polymode
M-x customize-group RET ein
Toggle Ein:Polymode

Avoid trying to emulate jump-to-definition, eldoc, and autocompletion
functionalities that Elpy will always do better.

Fixes #497 #482 #418
2019-04-02 09:35:17 -04:00
finalpatch
e178f92772
fix last commit 2019-04-01 21:13:18 +11:00
finalpatch
35244abc88
indent name tag 2019-04-01 20:58:28 +11:00
John Miller
419a74ce67
Connect features (#492)
* Testing for shared eval and connecting buffers.

* Forgot the feature.

* Need a small delay to make sure code is evaluated.

* Testing for shared eval and connecting buffers.

* Forgot the feature.

* Need a small delay to make sure code is evaluated.

* Add scenario for company completion in a connected buffer.

* Works better if we test completion first.

* Update ipython version tested in travis.

* Stab in the dark to fix travis erroring under ipython 6.x

* Revert "Stab in the dark to fix travis erroring under ipython 6.x"

This reverts commit 7255d31fdb.
2019-03-27 15:53:47 -05:00
dickmao
e0369c28a6 add curl trace to M-x ein:log-pop-to-request-buffer 2019-03-21 15:28:42 -04:00
dickmao
831508d615 spacemacs diagnostic 2019-03-17 12:00:43 -04:00
dickmao
042cda12a1 spacemacs related #445 #489 #338, etc. 2019-03-16 13:49:58 -04:00
John Miller
f41cfbc410
Merge pull request #487 from dickmao/markdown-no-completion
Don't attempt completion in markdown cells
2019-03-15 23:14:39 -05:00
John Miller
f6bab5c077
Merge pull request #488 from dickmao/text-plain
text/plain over text/html
2019-03-15 10:46:03 -05:00
dickmao
22b4e58e56 preserve the no-op for now 2019-03-15 00:50:13 -04:00
dickmao
041a66cf28 need to reorder interactive arguments after function signature change 2019-03-15 00:14:22 -04:00
dickmao
6698b4f563 Don't attempt completion in markdown cells 2019-03-11 22:37:13 -04:00
dickmao
7985387178 :text/plain is also :text
Notebooks with :text/plain and :text/html outputs opt for
:text/html which looks bad in emacs.

There is already code to prefer :text over :text/html, so it should
prefer :text/plain as well.
2019-03-11 00:02:08 -04:00
John Miller
f2e9193da6
Merge pull request #481 from dickmao/self-diagnose
Move self-diagnosing information
2019-03-09 20:28:30 -06:00
dickmao
67e82d2f94 Move self-diagnosing information
Move self-diagnosing information from CONTRIBUTING.md to README.in.rst
2019-03-09 12:52:03 -05:00
dickmao
188b2c0dec Toggle output (C-c C-e) should also invalidate footer
Attempt fixing longstanding annoyance whereby `C-c C-e` leaves a
peachpuff or pink newline when toggling output with nonempty stderr.
2019-03-08 18:33:15 -05:00
John Miller
bf1bcf12cf ein-company: Hotfix for #478
Do no run ein company backend unless we can find a kernel to do completion
against.
2019-03-05 21:50:51 -06:00
John Miller
b790c749d4
Merge pull request #477 from millejoh/connected-buffer-company
ein-company: Implement company completion in connected buffers.
2019-02-28 14:08:49 -06:00
John Miller
80306130cf
Merge pull request #475 from dickmao/ob-ein-reconnect-kernel
reconnect kernel if necessary under org-ctrl-c-ctrl-c
2019-02-26 19:51:14 -06:00
dickmao
7ba5a0d5d3 Be less opaque about unfound jupyter executable
Fixes #473
2019-02-26 18:04:50 -05:00
dickmao
dd01c4578c reconnect kernel if necessary under org-ctrl-c-ctrl-c
when `C-c C-c`, reconnect to kernel if it disconnected
2019-02-26 17:58:42 -05:00
John Miller
94655e7738 ein-company: Implement company completion in connected buffers. 2019-02-26 08:55:17 -06:00
John Miller
b9f8854949
Merge pull request #470 from dickmao/org-bug-468
Add ob-ein tests
2019-02-22 09:28:24 -06:00
dickmao
4f468ee5f7 Singleton
We can't be certain when the shared output cell can be safely turned
over to the next org block.  I have witnessed `display_data` updates being
received *after* both the `execute_result` and `execute_reply`
messages.  As a HACK, we `run-at-time 2` seconds the turning over of
the cell to accommodate any eleventh hour straggler display_data's.
2019-02-21 23:14:11 -05:00
dickmao
0f7f8b14cd Test C-c ' 2019-02-20 11:50:46 -05:00
Felipe Lema
9168b2cf8e sorted items 2019-02-20 12:28:27 -03:00
Felipe Lema
9147159ece Edit julia code cells. Fixes #471
BTW, julia-mode is a dependency for ESS, so wherever you have R, you
have Julia (which is the way I implemented this)
2019-02-20 12:28:06 -03:00
dickmao
2f19904fe7 travis buttressing 2019-02-19 15:29:18 -05:00
dickmao
ed6482096e Add ob-ein tests
Also, speed up login and other cleanups
2019-02-19 10:06:15 -05:00
John Miller
50b9a8d134 ob-ein: Better output for babel.
Greg Sexton clearly knows his way around org better than I. For async execution
make sure we insert results "the org way."
2019-02-17 21:10:08 -06:00
John Miller
111826958f Process all output types on json export.
We were only selectively fixing the mime type for execute_result outputs, now we
treat those the same as we do display outputs. Also fixed image/svg+xml MIME
type wherever I could find it.
2019-02-09 13:36:37 -06:00
John Miller
b276d6ad0a Fix mime type for svg images.
Update, part 1, for #467.
2019-02-09 12:59:55 -06:00
leizhe
46e3fc6247 ignore nonascii completion 2019-02-02 22:32:27 +09:00
dickmao
34b30b5e60 User llcc reports read-only bug in fresh input cell under mingw32 2019-01-23 08:05:09 -05:00
John Miller
297b216a42
Merge pull request #459 from dickmao/turn-off-debug
turn off --debug in jupyter
2019-01-22 13:13:29 -06:00
dickmao
428f0a1493 turn off --debug in jupyter 2019-01-22 08:15:36 -05:00
dickmao
fbda27ba7f Surface curl errors
In light of #425 and #456, provide more guidance on curl errors.

Also, clean up eldoc stub.  Leveraging elpy's eldoc perfection seems
the only sensible choice, however.
2019-01-21 13:42:35 -05:00
John Miller
bcbefbe0b9 ein-notebook: Workaround for issue #454
EIN can sometimes lose the reference to the notebook buffer when trying to save
"huge" notebooks. This is a temporary (hah!) workaround until the problem is
better understood.
2019-01-21 07:54:44 -06:00
Sam Steingold
5ee7ae7d6b last patch was too aggressive 2019-01-16 18:23:39 -05:00
Sam Steingold
48fa153435 Use standard functionality instead of ad hoc functions
(ein:filter identity ...) ---> (delete nil ...)
ein:filter --> seq-filter
hash-vals --> hash-table-values
hash-keys --> hash-table-keys
2019-01-15 11:26:09 -05:00