unofficial mirror of emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).