Skip to content

Commit 2711366

Browse files
author
dickmao
committed
product promotion
1 parent 998ba22 commit 2711366

File tree

4 files changed

+24
-18
lines changed

4 files changed

+24
-18
lines changed

.envrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export VIRTUAL_ENV="venv"
2+
layout python

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ README.rst: cask README.in.rst lisp/ein.el lisp/ein-notebook.el
3232
perl -ne "s/^((\s*)C-c C-c(\s+).*)$$/\$${1}\n\$${2}C-u C-c C-c \$${3}ein:worksheet-execute-all-cells/; print" README.rst0 > README.rst1
3333
perl -ne "s/^(\s*)\S+.*CI VERSION.*$$/\$${1}$(TEST_VERSION)/; print" README.rst1 > README.rst0
3434
grep ';;' lisp/ein.el \
35-
| awk '/;;;\s*Commentary/{within=1;next}/;;;\s*/{within=0}within' \
35+
| gawk '/;;;\s*Commentary/{within=1;next}/;;;\s*/{within=0}within' \
3636
| sed -e 's/^\s*;;*\s*//g' \
3737
| tools/readme-sed.sh "COMMENTARY" README.rst0 > README.rst
3838
rm README.rst0 README.rst1

README.rst

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ its heyday EIN never fully reconciled emac's monolithic buffer
1515
architecture to the notebook's by-cell discretization, leaving
1616
gaping functional holes like crippled undo.
1717

18-
Certainly in 2012 when jupyter was much smaller, an emacs client
19-
made perfect sense. With many years of hindsight, it's now clear
20-
the json-driven, git-averse notebook format is anathema to emacs's
21-
plain text ethos.
18+
**As of 2025, a greenfield notebook implementation resides at,**
19+
20+
https://github.com/commercial-emacs/xjupyter.git
21+
22+
It features full-fledged undo and relies on "mode overlays"
23+
instead of the complex and fragile polymode.
2224

2325
.. |build-status|
2426
image:: https://github.com/millejoh/emacs-ipython-notebook/workflows/CI/badge.svg
@@ -205,16 +207,16 @@ Keymap (C-h m)
205207
C-c M-w ein:worksheet-copy-cell-km
206208
207209
208-
This is a minor mode. If called interactively, toggle the
209-
‘Ein:Notebook mode’ mode. If the prefix argument is positive,
210-
enable the mode, and if it is zero or negative, disable the mode.
210+
This is a minor mode. If called interactively, toggle the ‘Ein:Notebook
211+
mode’ mode. If the prefix argument is positive, enable the mode, and if
212+
it is zero or negative, disable the mode.
211213
212-
If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable
213-
the mode if ARG is nil, omitted, or is a positive number.
214-
Disable the mode if ARG is a negative number.
214+
If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
215+
mode if ARG is nil, omitted, or is a positive number. Disable the mode
216+
if ARG is a negative number.
215217
216218
To check whether the minor mode is enabled in the current buffer,
217-
evaluate ‘ein:notebook-mode’.
219+
evaluate the variable ‘ein:notebook-mode’.
218220
219-
The mode’s hook is called both when the mode is enabled and when
220-
it is disabled.
221+
The mode’s hook is called both when the mode is enabled and when it is
222+
disabled.

lisp/ein.el

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@
3636
;; architecture to the notebook's by-cell discretization, leaving
3737
;; gaping functional holes like crippled undo.
3838
;;
39-
;; Certainly in 2012 when jupyter was much smaller, an emacs client
40-
;; made perfect sense. With many years of hindsight, it's now clear
41-
;; the json-driven, git-averse notebook format is anathema to emacs's
42-
;; plain text ethos.
39+
;; **As of 2025, a greenfield notebook implementation resides at,**
40+
;;
41+
;; https://github.com/commercial-emacs/xjupyter.git
42+
;;
43+
;; It features full-fledged undo and relies on "mode overlays"
44+
;; instead of the complex and fragile polymode.
4345

4446
;;; Code:
4547

0 commit comments

Comments
 (0)