[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic eb558ae8e3 260/333: Prepare for v0.12 release.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic eb558ae8e3 260/333: Prepare for v0.12 release. |
Date: |
Tue, 27 Feb 2024 13:00:42 -0500 (EST) |
branch: externals/lentic
commit eb558ae8e33fb532366b18e2dc33fdd1e19da6fc
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Prepare for v0.12 release.
---
Cask | 2 +-
README.md | 9 ++++++++-
lentic-block.el | 22 +++++++++++++++++++++-
3 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/Cask b/Cask
index 8080df17e9..f3a67c6a06 100644
--- a/Cask
+++ b/Cask
@@ -1,7 +1,7 @@
;; -*- emacs-lisp -*-
(source gnu)
(source marmalade)
-(source melpa)
+(source melpa-stable)
(package-file "lentic.el")
diff --git a/README.md b/README.md
index be640fa2ed..8ce47d9a60 100644
--- a/README.md
+++ b/README.md
@@ -35,9 +35,16 @@ completed the relevant paperwork with the FSF.
## ChangeLog
+### 0.9
+
+This release introduces one new feature: unmatched-block buffers. These are
+forms of buffer where the start and end of blocks are not matched. They have
+been introduced mainly to support org-mode files which can support multiple
+embedded source languages, all of which share the same close tag.
+
### 0.8
-This buffer introduces two new features. First, it is now possible to have
+This release introduces two new features. First, it is now possible to have
multiple lentic buffers. This is important because lentic has more than one
use -- both for maintaining two syntactic views (for example for literate
programming) and for maintaining two identical persistent views (for example,
diff --git a/lentic-block.el b/lentic-block.el
index f32fb2f46f..e94065b31c 100644
--- a/lentic-block.el
+++ b/lentic-block.el
@@ -55,7 +55,7 @@
;; The implementation
-;; ** Configuration Options
+;; ** Block Configuration
;; #+begin_src emacs-lisp
(require 'm-buffer)
@@ -514,6 +514,26 @@ between the two buffers; we don't care which one has
comments."
((conf lentic-uncommented-block-configuration))
(oref conf :comment-stop))
+
+;; #+end_src
+
+;; ** Unmatched Block Configuration
+
+;; Unmatched blocks are those when the number of "start" delimitors and "end"
+;; delimitors are not the same. The motivating example here was org-mode where
+;; the =begin_src= tags name the language but the =end_src= do not. Hence, one
+;; org file with two languages break lentic.
+
+;; The solution is to search for the start tags and then take just the next
stop
+;; tag, a solution we already use for asciidoc. The disadvantage is that the
+;; buffer can no longer become invalid which is useful for detecting
accidentally
+;; mis-matched tags.
+
+;; The implementation is provided by the `lentic-unmatched-block-configuration'
+;; class, which is then mixed-in with the two subclasses.
+
+
+;; #+begin_src emacs-lisp
(defclass lentic-unmatched-block-configuration ()
()
:documentation "Configuration for blocked lentics where the
- [elpa] externals/lentic 19c58b8bf7 238/333: Completion for all lentic packages., (continued)
- [elpa] externals/lentic 19c58b8bf7 238/333: Completion for all lentic packages., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 90c36b492a 233/333: Correcting typos, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a3b6da6235 235/333: lentic-doc now generic for any package., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 15ff7a4d72 234/333: Checkdoc ran., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 1d09bc2355 243/333: Readme update., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic c7b960c851 240/333: Force all features into strings., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic dabbea6db8 253/333: Various documentation changes., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 22a8adcee0 252/333: Better handling of valid to invalid state., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9178ace0c4 256/333: lentic-batch now returns config., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e5c09af545 254/333: Git cleanups., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic eb558ae8e3 260/333: Prepare for v0.12 release.,
ELPA Syncer <=
- [elpa] externals/lentic 3a2df0f8c5 263/333: Image added to README, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a1cb301c84 258/333: Convert lentic-blk-marker-boundaries to method., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d50b1924f3 257/333: Prepare for next iteration., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 83e75f48a6 251/333: lentic-dev now adds a "pulse" to the dirty region., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8885bfcde8 277/333: 0.10 Release, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b2d664c72d 278/333: Videos for README., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 1f7d929f37 303/333: Fix header line of lentic-script, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 0e6e64e0b6 306/333: Autoload lentic-script-hook, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic af2e447a65 287/333: Run installation test on every commit., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 597a717ac6 316/333: Support for external publishing, add include dir, ELPA Syncer, 2024/02/27