all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ELPA package submission: code-cells
@ 2022-02-28 18:54 Augusto Stoffel
  0 siblings, 0 replies; only message in thread
From: Augusto Stoffel @ 2022-02-28 18:54 UTC (permalink / raw)
  To: emacs-devel

I would like to propose the following package for inclusion in ELPA:

   https://github.com/astoff/code-cells.el

The package does two things:

A. It allows opening Jupyter notebook (ipynb) files as normal scripts.
   This widespread file format is, unfortunately, encoded as JSON.  So
   an external program (jupytext) is used to convert back and forth a
   script with special comments to indicate "cell boundaries".

B. It provides facilities to work with code split into cells through special
   comments, such as those obtained from A.

PS: While writing this package I had to handicraft something I wish
Emacs had built-in: a generic `eval-region' command that sends the
region to the appropriate comint depending on the major mode (or the
Elisp interpreter in Elisp mode, or to whatever else you want in X
mode).  The UI of different REPLs is quite inconsistent, and the lack of
a general REPL infrastructure also makes things hard to integrate with
project.el, for example.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-28 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-28 18:54 ELPA package submission: code-cells Augusto Stoffel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.