Commit graph

2866 commits

Author SHA1 Message Date
dickmao
dc48a7e75d Fixes #433 2018-12-13 13:27:27 -05:00
John Miller
76c3ddb7ce Revert "Merge pull request #426 from millejoh/faster-generate-menu"
This reverts commit 0ba5e42009, reversing
changes made to 483bbe8d3f.
2018-12-12 09:37:21 -06:00
John Miller
0ba5e42009
Merge pull request #426 from millejoh/faster-generate-menu
ein-utils: Make ein:get-docstring a deferred construct.
2018-12-12 08:33:50 -06:00
John Miller
483bbe8d3f
Merge pull request #429 from dickmao/betteR
Clean up multilang
2018-12-11 09:31:51 -06:00
dickmao
3c18cda125 reverse hunks 2018-12-11 08:48:40 -05:00
dickmao
7a6ab26f5c config path must be /tmp for travis evm 2018-12-08 22:03:04 -05:00
dickmao
bead667ee0 Clean up multilang
Do not assume python... leverage ESS to improve R interaction.
Fix both undo and fontify in the presence of toggling cells (`C-c
C-t`)
Fix and test switching kernels
2018-12-08 21:25:48 -05:00
John Miller
ba1c812147 ein-utils: Make ein:get-docstring a deferred construct.
This may or may not help performance during startup. See issue #409.
2018-12-06 09:11:45 -06:00
John Miller
a6fca6b8d0
Merge pull request #424 from dickmao/jupyterhub
jupyterhub basic (PAM only)
2018-12-05 10:09:47 -06:00
John Miller
269b8f38cb ein-jupyterhub: Whitespace cleanup. 2018-12-05 09:41:47 -06:00
John Miller
50cb7a0348 ein-websocket: Look for jupyterhub cookies when opening a websocket.
Jupyterhub loves her cookies - we try to find them all now.
2018-12-05 09:40:46 -06:00
dickmao
f0984eab55 jupyterhub basic (PAM only)
`ein:login` or `ein:notebooklist-login` is the preferred way to access
jupyterhub, although `ein:jupyterhub-connect` is still autoloaded.
2018-12-04 18:31:44 -05:00
John Miller
608058e07c ein-worksheet: Fix unhelpful error message.
Be more informative to the user when we cannot find an executing cell in either
`ein:worksheet-jump-to-first-executing-cell' or
`ein:worksheet-jump-to-next-executing-cell'.
2018-12-04 09:25:16 -06:00
John Miller
4ec86c1d00
Merge pull request #422 from dickmao/readme
readme fix
2018-12-03 21:38:55 -06:00
dickmao
f07b7caf88 fix the input, not the output 2018-12-03 11:04:16 -05:00
dickmao
5b2e7ab58b fix 2018-12-03 10:57:59 -05:00
John Miller
eaf7c9ccf5
Merge pull request #417 from dickmao/readme
RFC: readme revision
2018-12-03 09:54:58 -06:00
John Miller
e8f9202edf
Merge pull request #421 from dickmao/bug-login-420
the whir is occluding the prompt
2018-12-03 09:52:41 -06:00
John Miller
d443cda083
Merge pull request #416 from dickmao/compile-fixups-and-install
make test-compile and make install
2018-12-03 09:47:36 -06:00
dickmao
11223f636e reinstate tools/emacslisp.py 2018-12-02 21:32:56 -05:00
dickmao
9f1ed02895 retry more times under travis 2018-12-02 17:23:55 -05:00
dickmao
36727c9415 new notebook needs more time 2018-12-02 17:11:55 -05:00
dickmao
fb1b527121 the whir is occluding the prompt 2018-12-02 15:23:20 -05:00
dickmao
20de508c52 make test-compile and make install
test-compile attempts to egrep "bad" warnings with hardcoded strings.
This is better than nothing, but misses a lot.  We are close
to elimiinating this hack in favor of `(setq
byte-compile-error-on-warn t)` to enforce no warnings whatsoever.  Until
then, keep adding egrep strings to `test-compile`.

Without `(package-refresh-contents)`, the `make install` won't be able
to download and install dependencies for new users.  Remedy this.

Retire files that will never be used.
2018-12-01 08:32:56 -05:00
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