John Miller
16c14fa695
Merge pull request #415 from dickmao/autocomplete-initial-refactor
...
Allow disabling of autocomplete
2018-11-29 21:05:52 -06:00
dickmao
7ce38ffaf0
RFC: readme revision
...
Requesting comment on README.rst geared towards brevity for new users.
2018-11-29 16:54:30 -05:00
John Miller
c146cceaf8
Merge pull request #414 from dickmao/notebook-mode
...
notebook-mode as a proper minor mode
2018-11-29 12:07:00 -06:00
dickmao
8c3d4fc502
keep fortifying
2018-11-28 22:25:20 -05:00
dickmao
52ac49cc5e
fortify travis defences
2018-11-28 21:29:32 -05:00
dickmao
d4ef4ed81c
Allow disabling of autocomplete
...
```
M-x customize-group RET ein-completion
```
Set `Ein:Completion Backend` to `ein:use-none-backend`, Set `State` to
`Save for Future Sessions`.
Also use `featurep` and `with-eval-after-load` to clean up the
subpackage requiring gymnastics.
2018-11-28 17:45:23 -05:00
dickmao
4e8a9b51b5
notebook-mode as a proper minor mode
...
Previously `notebook-mode` was an ordinary function that called
`notebook-minor-mode` to install `ein:notebook-mode-map`. Make
`ein:notebook-mode` a proper minor mode via `define-minor-mode`. This
has a few visible benefits primarily that `describe-mode` or `F1 m` will now
show all the keybindings, and mode-line will reflect.
As a consequence `ein:notebook-mode-hook` is no longer an explicit
`defcustom` (proper minor modes get it for free). This had been a
dangerous situation as the default hook containing critical functions could be overridden.
2018-11-28 13:31:23 -05:00
John Miller
476a08f119
Merge pull request #413 from millejoh/rfe-411
...
ein-worksheet: Jump to executing cell.
2018-11-27 17:41:50 -06:00
John Miller
5e1406b912
ein-worksheet: Jump to executing cell.
...
Add commands `ein:worksheet-jump-to-first-executing-cell' and
`ein:worksheet-jumpto-next-executing-cell' which do pretty much what they say.
2018-11-27 16:57:41 -06:00
John Miller
c4f23d5ce6
Merge pull request #408 from stardiviner/master
...
Allow ob-ein auto create directory with parents when specify header argument like :dir "data/images".
2018-11-26 07:41:35 -06:00
stardiviner
f6e55fde96
ob-ein support automatically create direct with parents
2018-11-26 14:57:31 +08:00
John Miller
36afeaa6ea
Merge pull request #407 from millejoh/company-caching
...
ein-company: Add completion caching, make caching kernel specific.
2018-11-24 09:55:57 -07:00
John Miller
f459747352
ein-company: Install pytools when missing.
...
During kernel resets ein's pytools code can be lost. We try, crudely, to detect
this situation and reinject the code.
2018-11-24 10:23:34 -06:00
John Miller
d88507bf38
Merge pull request #406 from jackkamm/ob-ein-nonpython
...
ob-ein support non-Python languages, and other minor changes
2018-11-22 15:19:39 -06:00
Jack Kamm
058db79f87
Document ein:org-register-lang-mode
2018-11-22 11:24:22 -08:00
Jack Kamm
96e6ead132
Recommend :results raw drawer for ob-ein blocks
2018-11-22 11:24:01 -08:00
Jack Kamm
f96558004e
Always prefer text to html for ob-ein output
2018-11-22 11:23:22 -08:00
Jack Kamm
9c98beaab2
Allow non-Python languages in ob-ein.
2018-11-22 11:22:43 -08:00
John Miller
e280bb8633
ein-company: Add completion caching, make caching kernel specific.
2018-11-22 09:07:02 -07:00
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