[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic 475d8e14ba 071/333: Case sensitivity an option f
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic 475d8e14ba 071/333: Case sensitivity an option for blocks. |
Date: |
Tue, 27 Feb 2024 13:00:06 -0500 (EST) |
branch: externals/lentic
commit 475d8e14baa8e8fb0a5dd2f5ca8ba87742f447ae
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Case sensitivity an option for blocks.
The start and end of blocks is determined by regexp. This commit now
allows configuring the case sensitivity of this regexp.
---
linked-buffer-block.el | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/linked-buffer-block.el b/linked-buffer-block.el
index 7e81c6b473..b3dbe95c04 100644
--- a/linked-buffer-block.el
+++ b/linked-buffer-block.el
@@ -40,12 +40,15 @@
"Demarcation for the start of the commenting region")
(comment-stop :initarg :comment-stop
:documentation
- "Demarcaction for the end of the commenting region."))
+ "Demarcaction for the end of the commenting region.")
+ (case-fold-search :initarg :case-fold-search
+ :documentation
+ "Should match be case sensitive"
+ :initform :default))
:documentation "Base configuration for blocked linked-buffers.
A blocked linked-buffer is one where blocks of the buffer have a
start of line block comment in one buffer but not the other."
- :abstract t
- )
+ :abstract t)
(defmethod linked-buffer-blk-comment-start-regexp
@@ -152,10 +155,12 @@ implicit start and END an implicit stop."
(list
(m-buffer-match-begin
buffer
- (linked-buffer-block-comment-start-regexp conf))
+ (linked-buffer-block-comment-start-regexp conf)
+ :case-fold-search (oref conf :case-fold-search))
(m-buffer-match-end
buffer
- (linked-buffer-block-comment-stop-regexp conf))))
+ (linked-buffer-block-comment-stop-regexp conf)
+ :case-fold-search (oref conf :case-fold-search))))
(defun linked-buffer-pabbrev-expansion-length ()
"Returns the length of any text that pabbrev has currently added to the
buffer."
- [elpa] externals/lentic bfebaa4997 058/333: Support for orgel files., (continued)
- [elpa] externals/lentic bfebaa4997 058/333: Support for orgel files., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8da4b5f906 062/333: Added file local for orgel, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 63a217ec37 059/333: m-buffer dependency to 0.5, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic fcc9aaefb7 069/333: org-to-clojure support added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic aee6bef444 073/333: Full commenting and orgel style documentation., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e80d2346e6 070/333: Split local variables string., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic f7ad2e9267 077/333: Small documentation update., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 191e7b3c66 080/333: Initial incorporation of incremental change., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e3032a6ebc 067/333: v0.5 release, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a188840402 090/333: Incremental updates for block mode., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 475d8e14ba 071/333: Case sensitivity an option for blocks.,
ELPA Syncer <=
- [elpa] externals/lentic e195259aac 076/333: linked-buffer-org documentation completed., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic bf5a5cfbf1 085/333: Add long test file., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 070c94118e 074/333: Added .dir-locals, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 08cb364e4c 094/333: Nil markers after use., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 449c4d0bc1 098/333: Pass start and end through., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 10c91c51d5 110/333: Specialised beginning of line treatment., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8ab992a0d0 113/333: Added a test to bug with orgel->org mode., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 48d809a4af 115/333: Use unwind-protect in test forms., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic abcdc7f422 117/333: m-buffer-with-markers used., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 934c7bc313 118/333: Fixes for incremental updates., ELPA Syncer, 2024/02/27