From: Sean Whitton via "Emacs development discussions." <emacs-devel@gnu.org>
To: emacs-devel@gnu.org
Subject: New for GNU ELPA: literate-scratch
Date: Sun, 09 Jun 2024 13:53:08 +0800 [thread overview]
Message-ID: <87ed96wtkr.fsf@melete.silentflame.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
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---
[-- Attachment #2: literate-scratch.el --]
[-- Type: application/emacs-lisp, Size: 4904 bytes --]
[-- Attachment #3: Type: text/plain, Size: 18 bytes --]
--
Sean Whitton
next reply other threads:[~2024-06-09 5:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-09 5:53 Sean Whitton via Emacs development discussions. [this message]
2024-06-10 6:16 ` New for GNU ELPA: literate-scratch CToID
2024-06-15 14:14 ` Philip Kaludercic
2024-06-15 13:12 ` Philip Kaludercic
2024-06-19 2:42 ` Sean Whitton via Emacs development discussions.
2024-06-19 5:44 ` Philip Kaludercic
2024-06-19 6:37 ` Joost Kremers
2024-06-19 6:47 ` Philip Kaludercic
2024-06-20 5:37 ` Sean Whitton via Emacs development discussions.
2024-06-20 23:12 ` Michael Heerdegen
2024-06-21 5:57 ` Philip Kaludercic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ed96wtkr.fsf@melete.silentflame.com \
--to=emacs-devel@gnu.org \
--cc=spwhitton@spwhitton.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.