literate-scratch 
- Description
- Lisp Interaction w/ text paragraphs
- Latest
- literate-scratch-2.2.tar (.sig), 2025-Apr-25, 20.0 KiB
- Maintainer
- Sean Whitton <spwhitton@spwhitton.name>
- Website
- https://git.spwhitton.name/dotfiles/tree/.emacs.d/site-lisp/literate-scratch.el
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
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'.
Old versions
literate-scratch-2.1.tar.lz | 2025-Apr-20 | 2.97 KiB |
literate-scratch-2.0.tar.lz | 2025-Apr-18 | 2.89 KiB |
literate-scratch-1.0.tar.lz | 2024-Jun-21 | 2.22 KiB |
News
Ver 2.2 2025/04/25 Sean Whitton Bug fix: prevent \\`M-j' and \\`M-q' copying the first characters of block comment lines to the beginnings of newly added lines. Bug fix: prevent `comment-indent' indenting block comment lines as though they were Lisp comments beginning with single semicolons. Make \\`TAB' indent block comment lines, copying the preceding block comment line's indentation downwards. Ver 2.1 2025/04/19 Sean Whitton Bug fix: before adding whitespace syntax to the newline character following a block comment line, check we're not on the last line of a buffer with no final newline character. Ver 2.0 2025/04/18 Sean Whitton Rewrite core algorithm to use comment starters not comment fences, and therefore no `syntax-propertize-extend-region-functions' entry. Thanks to Stefan Monnier for comments which prompted this. Newly recognise `\\=`(' as starting paragraphs of Lisp. Ver 1.0 2024/06/21 Sean Whitton Initial release. Thanks to Philip Kaludercic for review.