Commit graph

16 commits

Author SHA1 Message Date
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
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
dickmao
bc10cea743 Normalize url-or-port
```
"http://localhost:8888"
"http://localhost:8888/"
"http://127.0.0.1:8888"
"http://127.0.0.1:8888/"
"8888"
8888
```

Ideally these should converge to the same thing.  Since many hash
tables are keyed off `url-or-port`, forgetting to
normalize `url-or-port` with `ein:url` leads to missed cache hits and
general malaise.  So we try to do that.

Address a FIXME: apply callbacks to `ein:notebook-list-login-and-open`.

Removed py3.5 from travis build matrix to reduce developer strain.
2018-10-12 21:55:33 -05:00
Sam Steingold
32351e0cf3 Narrow to cell when indenting code (fix bug#269)
(ein:narrow-to-cell, ein:python-indent-line-function)
(ein:python-indent-region): New functions.
(ein:ml-lang-setup-python): Set
 `indent-line-function` to `ein:python-indent-line-function` and
 `indent-region-function` to `ein:python-indent-region`.
2018-02-14 11:11:26 -05:00
John Miller
aebdbc1eb8 ein-cell: Fix saving images in worksheets.
Images weren't being save to json in the way they should have. Mostly had to do
with how the attirbutes were being ordered. This is still, unfortunately, a
nasty bit code but it still seems to work.
2017-06-30 21:41:16 -05:00
Sam Steingold
4297ea0fc8 set and make-local-variable in one form
This is clearer and complies with the traditional Emacs coding style.
2016-09-13 09:33:25 -04:00
John Miller
ac53106194 Setup and documentation
Some test code and some exploratory writing (see Enhancements.org) to
get my head on straight.
2015-05-03 00:14:38 -05:00
Takafumi Arakaki
fdce914808 Don't set beginning/end-of-defun-function in ein:ml-lang-setup-python 2012-10-05 16:00:03 +02:00
Takafumi Arakaki
9a34c1ca50 Set beginning/end-of-defun-function in multilang-mode 2012-10-05 13:01:18 +02:00
Takafumi Arakaki
4ae699dabc Support comment-dwim etc. in ein:multilang 2012-10-03 22:33:26 +02:00
Takafumi Arakaki
23cf0158a2 Rename: ml-keymap-setup-LANG -> ml-lang-setup-LANG 2012-10-03 22:08:20 +02:00
Takafumi Arakaki
b6aa11eb8f Update ein:notebook-multilang-mode docstring 2012-09-30 20:33:32 +02:00
Takafumi Arakaki
8fd7334fce Add autoload cookie for ein:notebook-multilang-mode 2012-09-30 20:31:48 +02:00
Takafumi Arakaki
4fd899528a Rename symbols etc. in ein-multilang.el 2012-09-30 20:17:32 +02:00
Takafumi Arakaki
fa8a7d3bad %s/ein:org-src/ein:ml/g 2012-09-30 20:12:29 +02:00
Takafumi Arakaki
a4c3b42653 git mv ein-org-src.el ein-multilang.el 2012-09-30 20:10:36 +02:00
Renamed from lisp/ein-org-src.el (Browse further)