Commit graph

2845 commits

Author SHA1 Message Date
John Miller
fe3430102c Add documentation, work around smartrep.
I am starting to get annoyed by smartrep...
2019-05-25 10:23:22 -05:00
Miller
321d0e6c15 ein-notebook: Command to jump to an open notebook buffer.
Per issue #523, add a command that let's user select and switch to an open
notebook buffer.
2019-05-24 14:15:36 -05:00
John Miller
92fddc899e
Merge pull request #536 from dickmao/ob-ein-no-output
ob-ein bugfix
2019-05-21 20:49:13 -05:00
dickmao
c7b8b4cb27 ob-ein bugfix
Currently, an org block that has no output (e.g., `foo = 5`) never
clears the `[....]` upon block completion.

Also, no `:session` should default to localhost.
2019-05-21 19:24:24 -04:00
John Miller
f314d48be2
Merge pull request #535 from dickmao/ob-ein-agnosticism
Ob-ein Improvements
2019-05-20 16:16:58 -05:00
dickmao
e491ac6f1c Ob-ein Improvements
Bring the org offering to feature parity.
2019-05-20 10:59:43 -04:00
John Miller
74e79c7b94
Merge pull request #531 from dickmao/issue-530
If you see something, say something
2019-05-16 18:42:48 -05:00
dickmao
88d9158a66 add diagnostic for undo test 2019-05-16 10:51:57 -04:00
dickmao
6e53d8f1a8 futz with undo.ipynb 2019-05-16 10:15:11 -04:00
dickmao
8738fa5e0a If you see something, say something
Avoid silently failing as in #530 where kernelspec language is unrecognized.
2019-05-16 09:47:24 -04:00
John Miller
f98d49ff94
Merge pull request #528 from dickmao/kernel-agnosticism
Julia, etc.
2019-05-15 09:47:29 -05:00
dickmao
cb0a819929 Julia, etc.
Prove we are agnostic about kernels.
2019-05-15 06:40:10 -04:00
John Miller
7c7691c26d
Merge pull request #525 from dickmao/already-open-bug
Cleanup save-before-quit logic, and polymode kill buffer bugfix
2019-05-11 07:31:33 -05:00
dickmao
dcda68310b half-baked cookie jar messes up websocket 2019-05-07 22:46:37 -04:00
dickmao
c9252ee436 cask avoid accepting input 2019-05-07 12:46:05 -04:00
dickmao
05c642e967 make test won't work out of the box for most people 2019-05-07 10:17:10 -04:00
dickmao
f4d301d8c9 Cleanup save-before-quit logic, and polymode kill buffer bugfix
Before: Exit emacs with modified notebooks.  Be asked "You have
unsaved notebooks.  Discard changes?"  Respond no, and manually figure
out which notebooks haven't been saved.

After: Exit emacs with modified notebooks.  Be asked "Save A?".
Respond yes.  Quit without further ado.

Also, bugfix killing of buffers in polymode.  Must kill host buffer,
not indirect buffers.
2019-05-07 09:54:20 -04:00
John Miller
5600a2ce0d
Merge pull request #518 from dickmao/two-bugs
Polymode patchup, stopping bug, plot bug
2019-04-30 08:40:23 -05:00
dickmao
910e6ea565 can't specify version in cask install. Need to apply blunt instrument. 2019-04-29 17:16:55 -04:00
dickmao
d3b0b97037 pm--get-existing-mode changed signature. 2019-04-29 15:35:32 -04:00
dickmao
1da03d69f6 Stop bug, Image bug
Initial SIGTERM prompts server to dutifully shutdown kernel, but
another SIGTERM necessary to kill server.  Perhaps ipython changed
since the last time I tested this.

Ipython doesn't send a display_data message upon initial plot
request.  This is probably our bug, or is it?  Document this bug in an
ecukes test.

Also enforce emacs version >= 25
2019-04-29 13:15:53 -04:00
John Miller
70845a3411
Use completing-read instead of ido-completing-read. (#514)
* Use completing-read instead of ido-completing-read.

Per @seagle0128 and issue #496.

* lisp/ein-notebook.el:

* Wrap all calls to completing-read with ein:completing-read

Use `ein:completing-read' everywhere we need to do completion as it wraps Emacs
completing-read functionality and tries to use sane defaults.
2019-04-16 10:04:11 -05:00
John Miller
b08aed3a85
Merge pull request #517 from dickmao/cl-generic-issue-516
cl-generic 0.3 is not going to cut it
2019-04-15 21:41:51 -05:00
dickmao
921b3a94e4 need to see websocket output of eldoc call 2019-04-14 14:39:46 -04:00
dickmao
a6641f05cf cl-generic 1.0 is built-in 2019-04-14 12:31:14 -04:00
dickmao
c7ff377a89 cl-generic 0.3 is not going to cut it 2019-04-14 12:15:54 -04:00
John Miller
5accc13b51
Merge pull request #513 from millejoh/issue-506
Avoid completing against punctuation (again).
2019-04-04 18:25:47 -05: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
John Miller
d302f805cf
Merge pull request #510 from dickmao/mfrasca-polymode
stale versions of polymode
2019-04-04 12:52:13 -05:00
dickmao
d730e2f42b melpa version of polymode 2019-04-04 11:47:36 -04:00
John Miller
c58f8f0a2b
Merge pull request #509 from dickmao/obey-mfrasca
Test emacs 25.1
2019-04-04 10:42:24 -05:00
dickmao
81b42f338c 25.2 for osx 2019-04-04 11:06:29 -04:00
dickmao
8ce2da3a9d well, ubuntu 16.04 is using emacs 25.1.1 2019-04-04 10:10:41 -04:00
John Miller
b591c9b26a
Merge pull request #504 from millejoh/issue-503
fix for #503
2019-04-04 06:26:30 -05:00
John Miller
3d16ccf62a
Merge pull request #505 from dickmao/slide-breaks-undo
Undo did not account for slideshow
2019-04-04 05:54:32 -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
John Miller
6b752bc36e
Merge pull request #502 from dickmao/polymode
Polymode
2019-04-03 10:59:38 -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
John Miller
60578bd297
Merge pull request #500 from finalpatch/master
indent name tag
2019-04-01 16:15:48 -05: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
12d5727cd5 Readme updates per suggestions in issue #495.
Thanks to @mfrasca for the suggestion to make the Emacs version dependency more
explicit.
2019-03-28 14:41:44 -05: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
John Miller
d900978671
Merge pull request #493 from dickmao/curl-debug
add curl trace to `M-x ein:log-pop-to-request-buffer`
2019-03-22 09:55:46 -05:00
dickmao
e0369c28a6 add curl trace to M-x ein:log-pop-to-request-buffer 2019-03-21 15:28:42 -04:00