Commit graph

2910 commits

Author SHA1 Message Date
dickmao
dcea37d02e Forestall Polymode "Contamination"
`advice.el` suggests the `ad-default-compilation-action=maybe` admits
inadvertent byte-compilation of advised syntax-ppss in non-EIN
packages reported in #537.

Prevent this by setting `ad-default-compilation-action=never`
when ein:polymode is activated.
2019-05-29 18:56:57 -04:00
Federico Beffa
1cab86995a ein:kernel-complete: use ':code' instead of ':line' for api-version 4. 2019-05-29 18:34:09 +02:00
Federico Beffa
9b7b88c5d4 Normalize kernel language name: Don't change case. 2019-05-29 17:02:16 +02:00
John Miller
9b6cb649ae
Merge pull request #546 from dickmao/cask-install
need to run cask install, generally
2019-05-28 10:14:28 -05:00
dickmao
e2d86613c8 force rm will not yield error 2019-05-28 09:44:11 -04:00
dickmao
9a27d42490 need to run cask install, generally 2019-05-28 09:14:16 -04:00
Federico Beffa
f0c9812c5a Normalize the kernelspec language string. 2019-05-27 16:24:47 +02:00
John Miller
96ce586517
Merge pull request #544 from dickmao/issue-537-void-function
Gate the add-functions in ein:polymode
2019-05-26 08:09:40 -05:00
dickmao
a969736a03 gate the add-functions in ein:polymode 2019-05-26 00:28:23 -04:00
John Miller
8a6b8aade1
Merge pull request #541 from millejoh/issue-523
Issue 523
2019-05-25 16:39:35 -05:00
John Miller
9a7a0273c6
Merge pull request #542 from dickmao/issue-540-metadata
Standardize metadata a bit
2019-05-25 16:38:29 -05:00
dickmao
ceda628f92 Standardize metadata a bit 2019-05-25 11:31:05 -04:00
John Miller
fe3430102c Add documentation, work around smartrep.
I am starting to get annoyed by smartrep...
2019-05-25 10:23:22 -05:00
John Miller
4f82cfaee3
Merge pull request #539 from dickmao/evildoers
The only thing necessary for the triumph of evil...
2019-05-25 10:02:18 -05:00
dickmao
1b745d4781 evil doesn't turn off undo-tree-mode when you toggle it 2019-05-24 16:39:12 -04:00
dickmao
f79a211c6c The only thing necessary for the triumph of evil...
Protect against undo-tree-mode both now and in the future.
2019-05-24 16:39:06 -04: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