John Miller
07bc906df9
Maybe using the right name for the map will help.
...
Sigh.
2018-11-15 13:53:22 -06:00
John Miller
a186c52fd1
Wouldn't it be interesting if this actually worked?
2018-11-14 19:00:27 -06:00
John Miller
6a23dded5a
Update tests for change in notification messages.
2018-11-13 20:58:43 -06:00
Sam Steingold
7a6781f05d
ein:notification: fix help
2018-11-13 16:17:41 -05:00
John Miller
f8ac77df66
Merge pull request #402 from sam-s/master
...
use defconst to define ein:source-dir
2018-11-12 12:19:00 -06:00
Sam Steingold
5af9956dba
use defconst to define ein:source-dir
...
This resets `ein:source-dir's value every time the file is reloaded,
which means that `ein:dev-reload' as well as elpa upgrades will reset it.
2018-11-12 09:04:44 -05:00
John Miller
b6bb63809a
Merge pull request #401 from dickmao/kernel-delete
...
C-c C-q improved visual feedback
2018-11-10 08:54:35 -06:00
dickmao
6ca6752319
C-c C-q improved visual feedback
...
As `ein:notebok-kill-kernel-then-close-cmmand` must wait for the
server to delete the session, the buffer wouldn't disappear right
away, leaving the user nonplussed whether the `C-c C-q` took. Display
a status message "Ending session" with a modest animation instead.
Also add a "Stop" test for notebooklist. Sorry about breaking "Stop"
in ee3b0f0
2018-11-10 00:09:44 -05:00
John Miller
6f19d8bf83
Correct typos, make some code more succinct.
...
Let this be a lesson kids - never program while under the influence of
power antihistamines...
2018-11-09 18:53:40 -06:00
John Miller
815ff1a10d
Merge branch 'master' of ssh://github.com/millejoh/emacs-ipython-notebook
2018-11-09 18:31:38 -06:00
John Miller
573b745509
Reintroduce proper behavior for kernel stop from nblist buffer.
...
Once upon a time it was possible to stop/delete/kill running kernels from the
notebooklist buffer regardless of whether there were any open notebooks
associated with the kernel session.
Some commmits ago this behavior was changed, and the code has recently required
that there a notebook buffer associated with the active kernel/session exist
before the stop command will proceed. This is incorrect behavior and is
inconsistent with the interface provided by the notebook web browser interface.
Kernels and notebooks are independent entities and should be treated as such in
the code.
2018-11-09 18:27:23 -06:00
John Miller
068f6963bb
Merge pull request #400 from dickmao/bug-issue-399
...
Enforce curl
2018-11-09 18:25:40 -06:00
dickmao
c0d46e96df
for the time being, revert a org-8.0 versus org-9.0 change
2018-11-09 15:07:30 -05:00
dickmao
20cf261a8e
fixes #399
2018-11-09 14:50:16 -05:00
John Miller
e4e0fc4abc
Merge branch 'pr-397'
2018-11-08 20:52:29 -06:00
John Miller
4fbdf514c9
Merge pull request #398 from dickmao/fix-master
...
Avoid leaving EIN in an uninstallable state
2018-11-08 18:42:24 -06:00
dickmao
04c16cf2b0
avoid leaving EIN in an uninstallable state. Fixes #395 .
2018-11-08 19:02:23 -05:00
Sam Steingold
25f2f49943
use cl-defmethod instead of defmethod
...
defmethod macro is obsolete.
it expands to a defun eieio-defmethod which cannot use cl-call-next-method
2018-11-08 16:24:28 -05:00
dickmao
52ae7c2e31
remove f.el dependency
2018-11-08 14:41:48 -05:00
John Miller
e6d377bad0
Update test scenario one more time.
2018-11-08 11:56:47 -06:00
dickmao
901748dc49
this is a debug message, not a verbose
2018-11-08 11:36:10 -06:00
dickmao
270f157751
squash one of possibly many bugs that could cause intermittent travis failure
2018-11-08 11:36:10 -06:00
dickmao
b4c51b46b9
try one more time with new notebook not being ready quickly enough in test
...
and fix PR #393
2018-11-08 11:36:10 -06:00
dickmao
aaed15f1e5
add f.el to pkg
2018-11-08 11:36:10 -06:00
Sam Steingold
1c6270c425
update the code base to avoid compilation warnings about obsolete functions
...
call-next-method -> cl-call-next-method
set-slot-value -> (setf slot-value)
*-child-p -> cl-typep
oref <keyword> -> slot-value <symbol>
object-p -> eieio-object-p
Closes https://github.com/millejoh/emacs-ipython-notebook/issues/394
2018-11-08 09:36:35 -05:00
John Miller
ea90c4a3e2
Are double slashes confusing the test?
...
Let's push and find out!
2018-11-08 06:33:26 -06:00
John Miller
18c997c43f
Update tests for change in notification message.
2018-11-08 06:05:22 -06:00
John Miller
55f44434b7
Merge branch 'pr-393'
2018-11-07 22:00:49 -06:00
John Miller
ad35ef1b22
Fix notification test to be consistent with new notification strings.
2018-11-07 21:59:41 -06:00
John Miller
ac152a71af
Merge pull request #392 from dickmao/cleanup-websockets
...
When I C-c C-c also C-c C-r if necessary
2018-11-07 20:32:43 -06:00
Sam Steingold
d3a1bf829b
use substitute-command-keys instead of hard-coding keys in help
2018-11-07 09:17:04 -05:00
dickmao
84fa177a1e
When I C-c C-c also C-c C-r if necessary
...
If user wants to execute cell, and the connection is down,
automatically reconnect, then execute the cell.
2018-11-06 18:36:46 -05:00
John Miller
f4aac8c951
Merge pull request #391 from dickmao/undo-timestamp
...
Fixes #356
2018-11-06 13:10:01 -06:00
dickmao
0e29c39929
Fixes #356
...
Unforeseen "timestamp" extension breaks undo
2018-11-06 13:26:33 -05:00
John Miller
827d909113
Merge pull request #390 from sam-s/master
...
make ein:version interactive and include the ELPA version if available
2018-11-06 09:29:14 -06:00
Sam Steingold
4848c57c54
make ein:version interactive and include the ELPA version if available
2018-11-06 09:36:58 -05:00
John Miller
47ba0e11c7
ein-notebook: Add alias for the old ein:notebook-reconnect-kernel
...
John's rule of updates: respect and compassion for the user is
paramount.
2018-11-05 19:56:52 -06:00
John Miller
6438d078fd
Merge branch 'pr-382'
2018-11-05 19:48:30 -06:00
John Miller
fcb4040850
ein-completer: Robuster oinfo
...
By covering our ears and ignoring as much as possible. Apparently SyntaxError is
not a subtype of Exception. Also need to send raw strings otherwise unicode
characters will cause fits.
Also added new command, `ein:pytools-reinject` to reinject ein's pytools code.
The name could probably use some work.
2018-11-05 17:05:38 -06:00
John Miller
3c6f29bed8
Merge pull request #387 from sam-s/master
...
there may be NO local jupyter installation
2018-11-05 15:46:08 -06:00
John Miller
939e4ed383
Merge pull request #385 from sam-s/master
...
add missing iteration arg to the kernel-start call
2018-11-05 12:46:52 -06:00
Sam Steingold
c21540f68a
avoid byte compilation warnings on unused arguments
2018-11-05 11:51:40 -05:00
Sam Steingold
0469fd0e35
there may be NO local jupyter installation
...
(ein:crib-token--all-local-tokens): wrap execution of
`ein:jupyter-default-server-command' in `condition-case'
2018-11-05 11:46:20 -05:00
Sam Steingold
0bbe4bcf3a
add missing iteration arg to the kernel-start call
2018-11-05 09:20:07 -05:00
dickmao
d7985ffc6b
sometimes travis finds bugs
2018-11-04 21:38:20 -06:00
dickmao
7d31fe7f34
fix the osx testing bug
2018-11-04 21:38:20 -06:00
dickmao
ee3b0f095c
Follow-up to cleaning up websockets
...
Renaming of functions with better understanding of reconnects. Under
the original logic, reconnecting blithely created a new session if
the original no longer existed. Now it will alert the user when this
happens.
Also hopefully fixes #381 as there was a bug of missing argument not
being caught by lisp's undisciplined typing.
2018-11-04 21:38:20 -06:00
John Miller
c92b8bdfc1
Merge pull request #380 from sam-s/master
...
make C-c C-x a prefix key
2018-11-04 21:15:35 -06:00
Sam Steingold
387d067558
make C-c C-x a prefix key
2018-11-04 15:07:29 -05:00
John Miller
85d80f4394
Merge branch 'fix-oinfo-errors'
2018-11-02 16:16:39 -05:00