Commit graph

1546 commits

Author SHA1 Message Date
dickmao
57e84c61b6 only detect multiple cursors if necessary 2020-03-19 09:42:01 -04:00
dickmao
f2f94fcdf2 save a length call 2020-03-19 08:02:35 -04:00
dickmao
506fcb5f98 cannot easily turn off multiple cursors, must detect and correct 2020-03-19 07:36:24 -04:00
dickmao
ee3083d96d disable multiple-cursors-mode 2020-03-19 06:34:21 -04:00
dickmao
c4a9013534 if cribbing fails, fail ein:run immediately 2020-03-17 18:43:38 -04:00
dickmao
d7a19d9859 getting undo failure diagnostic in gha 2020-03-14 12:05:29 -04:00
dickmao
a0943af912 ecukes clear kernel connect message 2020-03-14 00:43:19 -04:00
dickmao
53ab1c34f3 Normalize keymap and menu commands
Apply same "km wrapper" and docstring to key and menu bindings.
2020-03-14 00:13:57 -04:00
dickmao
b265205a57 Avoid after-change-major-mode-hook
Fixes #680.
2020-03-07 15:48:54 -05:00
John Miller
fbe1833c5e
Merge pull request #679 from millejoh/kernel-on-connect-hook
Run custom hooks after a kernel connection is made.
2020-03-05 07:54:03 -07:00
dickmao
160a0aa885 ein:login autoload bug 2020-03-05 09:22:04 -05:00
John Miller
28b9f46215 Run custom hooks after a kernel connection is made.
Introduce new user custom variable `ein:on-kernel-connect-functions' which is an
abnormal hook called after a kernel connection is made. All functions in the
hook are called with the connected kernel as an argument.

This replaces the old, unused `ein:kernel-run-after-start-hook' function.
2020-03-01 16:30:35 -07:00
dickmao
10d7f10179 fix rename notebook 2020-03-01 03:02:31 -05:00
dickmao
a4325c0aa4 conflate ein:worksheet-{change,toggle}-cell-type 2020-03-01 01:56:41 -05:00
dickmao
8a2544ab4a must require ein-jupyter for ipynb-mode 2020-03-01 00:56:57 -05:00
dickmao
54cb27701f remove longstanding recursive requires workaround 2020-02-29 22:35:49 -05:00
dickmao
47c46b9d5a unnecessary poly-ein--remove-hook calls 2020-02-28 23:41:06 -05:00
dickmao
9f5c06b696 also turn off undo-tree 2020-02-28 23:09:32 -05:00
dickmao
760d8fbded display-line-numbers emacs26 only 2020-02-28 22:38:06 -05:00
dickmao
d2a11cd83e turn off visual-line-mode and display-line-numbers-mode 2020-02-28 22:30:05 -05:00
dickmao
cc87b7ec1c correct t command 2020-02-24 08:46:08 -05:00
dickmao
f787e326b0 Fixes #675 2020-02-24 08:25:20 -05:00
John Miller
d29716b2a4 Restore ein-connect.el
Some caveats: completion and tooltips using the kernel are no longer available
as ein-pytools has been mostly neuterd. Cell autoexecution also been removed.
2020-02-23 10:02:16 -06:00
dickmao
3f30422f0a missed a spot 2020-02-22 12:22:02 -05:00
dickmao
4403b65a04 Wrap comint-carriage-motion in disabling of buffer-undo-list 2020-02-22 11:26:29 -05:00
dickmao
34e9ef39d1 must autoload ob-ein-anonymous-p, not declare-function 2020-02-19 10:01:18 -05:00
dickmao
58e73f2e9a autoload, not declare-function, for ob-ein 2020-02-19 09:27:13 -05:00
dickmao
c10a059b62 reduce package dependencies 2020-02-19 09:15:16 -05:00
dickmao
0fc8259f18 cleanups 2020-02-17 16:36:22 -05:00
dickmao
4fc4c67f87 Closes #668 2020-02-17 07:52:32 -05:00
dickmao
ec67737883 poly-ein--record-window-buffer
`C-x b` should take me back to base notebook buffer, if not indirect buffer.
2020-02-15 14:29:00 -05:00
dickmao
a3604a329a "an info file will be left behind... if you hard-kill it"
https://github.com/jupyter/notebook/issues/2844#issuecomment-461770716
2020-02-11 21:38:40 -05:00
dickmao
5fbc371da5 use the correct equality predicate for symbols 2020-02-11 21:30:38 -05:00
dickmao
612153688b sudhir shenoy's recommendations 2020-02-11 21:08:27 -05:00
dickmao
81b018a4a8 continue removing pytools cruft 2020-02-10 16:37:22 -05:00
John Miller
8ac0b90bf9 Missing pieces for pager support. 2020-02-09 21:01:17 -07:00
John Miller
f476baf850 Restore lost pager support.
Executing '<object>?' works correctly again with python kernels. Boggles the
mind why this feature was removed in the first place.
2020-02-09 20:59:28 -07:00
dickmao
1a4cc40e46 Check symbolp before assuming symbol-name in poly--ein-remove-hook
Fixes #658
2020-02-09 17:26:46 -05:00
dickmao
e522e52108 redundant boolean check 2020-02-09 11:11:34 -05:00
dickmao
caa760f9d7 test undo in combination with worksheet-execute-all-cells 2020-02-08 19:04:18 -05:00
dickmao
b478940c9f syntax-propertize-chunks takes us too far afield 2020-02-08 13:49:35 -05:00
dickmao
204e944d8d purge iexec 2020-02-06 02:04:21 -05:00
dickmao
aa3159c2af modify readme 2020-02-05 10:21:27 -05:00
dickmao
a960c65802 we try to avoid "wait x seconds" in ecukes 2020-02-04 22:19:14 -05:00
Tomasz Mieszkowski
b2267afcfa Add commands to execute all cells above/below current one 2020-02-04 21:18:58 -05:00
dickmao
d902f1fbc0 reassert ignorance of redirects
As the reasons for the redirect seem to be lost in time, and as
@noonker points out in #635 the redirect logic wasn't correct and
stymied file saves, we retry removing the redirect as initially suggested in #370.
2020-02-04 20:02:29 -05:00
dickmao
1753b73412 suggest -Q [skip ci] 2020-02-04 13:47:03 -05:00
dickmao
0cb185dde6 avoid reloading notebooklist three times on "Stop" 2020-02-01 21:07:42 -05:00
dickmao
6443937258 must touch a file in lisp/* to trigger melpa build 2020-02-01 15:13:10 -05:00
dickmao
f4d6d4e9a8 remove pytools cruft, only print polymode-mode-name-aliases warning once 2020-01-23 11:25:27 -05:00