info-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New GNU ELPA package: literate-scratch - Lisp Interaction w/ text paragr


From: Sacha Chua
Subject: New GNU ELPA package: literate-scratch - Lisp Interaction w/ text paragraphs
Date: Mon, 24 Jun 2024 12:03:16 -0400

    Summary: Lisp Interaction w/ text paragraphs
   Requires: emacs-29.1
    Website: 
https://git.spwhitton.name/dotfiles/tree/.emacs.d/site-lisp/literate-scratch.el
   Keywords: lisp text 
 Maintainer: Sean Whitton <spwhitton@spwhitton.name>
     Author: Sean Whitton <spwhitton@spwhitton.name>

Variant Lisp Interaction mode for easier interleaving of paragraphs of
plain text with Lisp code.  This means you can have

    ;; This buffer is for text that is not saved ...
    ;; To create a file, visit it with C-x C-f and ...

    (here is some Lisp)

    Here is a plain text paragraph )( including some unmatched parentheses.
    Uh oh!  Paredit won't like that.

    (here is some more Lisp)

but (e.g.) Paredit won't complain about the unmatched parentheses.
Indeed, the whole plain text paragraph is font-locked as a comment.

If you use Paredit but want to be able to use *scratch* for both Lisp
interaction and blocks of plain text, then this mode is for you.
Also compatible with the `orgalist-mode' and `orgtbl-mode' minor modes.

To enable this mode after installing this file, simply customise
`initial-major-mode' to `literate-scratch-mode'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]