[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New for GNU ELPA: literate-scratch
From: |
Sean Whitton |
Subject: |
New for GNU ELPA: literate-scratch |
Date: |
Sun, 09 Jun 2024 13:53:08 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello,
I'm planning to add this to GNU ELPA. Posting here for comments.
--8<---------------cut here---------------start------------->8---
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'.
--8<---------------cut here---------------end--------------->8---
literate-scratch.el
Description: application/emacs-lisp
--
Sean Whitton
- New for GNU ELPA: literate-scratch,
Sean Whitton <=