[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/m-buffer 710ae5ae1a 029/115: Second attempt to remove p
From: |
ELPA Syncer |
Subject: |
[elpa] externals/m-buffer 710ae5ae1a 029/115: Second attempt to remove pluralisation from nil-markers |
Date: |
Tue, 19 Jul 2022 15:58:46 -0400 (EDT) |
branch: externals/m-buffer
commit 710ae5ae1a92708592ab52de709f8e8b2c7bc4ed
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Second attempt to remove pluralisation from nil-markers
---
m-buffer.el | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/m-buffer.el b/m-buffer.el
index 0e04535546..281df4cdd8 100644
--- a/m-buffer.el
+++ b/m-buffer.el
@@ -200,7 +200,7 @@ too."
(defun m-buffer-match-begin-n (n &rest match)
"Return markers to the start of the match to the nth group.
MATCH may be of any form accepted by `m-buffer-ensure-match'. Use
-`m-buffer-nil-markers' after the markers have been finished with
+`m-buffer-nil-marker' after the markers have been finished with
or they will slow future use of the buffer until garbage collected."
(-map
(lambda (m)
@@ -212,15 +212,15 @@ or they will slow future use of the buffer until garbage
collected."
"Return positions of the start of the match to the nth group.
MATCH may be of any form accepted by `m-buffer-ensure-match'. If
`match-data' is passed markers will be set to nil after this
-function. See `m-buffer-nil-markers' for details."
- (m-buffer-markers-to-pos-nil
+function. See `m-buffer-nil-marker' for details."
+ (m-buffer-marker-to-pos-nil
(apply 'm-buffer-match-begin-n
n match)))
(defun m-buffer-match-begin (&rest match)
"Returns a list of markers to the start of matches.
MATCH may of any form accepted by `m-buffer-ensure-match'. Use
-`m-buffer-nil-markers' after the markers have been used or they
+`m-buffer-nil-marker' after the markers have been used or they
will slow future changes to the buffer."
(apply 'm-buffer-match-begin-n 0 match))
@@ -228,14 +228,14 @@ will slow future changes to the buffer."
"Returns a list of positions at the start of matcher.
MATCH may be of any form accepted by `m-buffer-ensure-match'.
If `match-data' is passed markers will be set to nil after this
-function. See `m-buffer-nil-markers' for details."
+function. See `m-buffer-nil-marker' for details."
(apply 'm-buffer-match-begin-n-pos 0 match))
(defun m-buffer-match-end-n (n &rest match)
"Returns markers to the end of the match to the nth group.
MATCH may be of any form accepted by `m-buffer-ensure-match'.
If `match-data' is passed markers will be set to nil after this
-function. See `m-buffer-nil-markers' for details."
+function. See `m-buffer-nil-marker' for details."
(-map
(lambda (m)
(nth
@@ -247,15 +247,15 @@ function. See `m-buffer-nil-markers' for details."
"Return positions of the end of the match to the nth group.
MATCH may be of any form accepted by `m-buffer-ensure-match'.
If `match-data' is passed markers will be set to nil after this
-function. See `m-buffer-nil-markers' for details."
- (m-buffer-markers-to-pos-nil
+function. See `m-buffer-nil-marker' for details."
+ (m-buffer-marker-to-pos-nil
(apply 'm-buffer-match-end-n-pos
n match)))
(defun m-buffer-match-end (&rest match)
"Returns a list of markers to the end of matches to regexp in buffer.
MATCH may be of any form accepted by `m-buffer-ensure-match'. Use
-`m-buffer-nil-markers' after the markers have been used or they
+`m-buffer-nil-marker' after the markers have been used or they
will slow future changes to the buffer."
(apply 'm-buffer-match-end-n 0 match))
@@ -263,12 +263,12 @@ will slow future changes to the buffer."
"Returns a list of positions to the end of the matches.
MATCH may be of any form accepted by `m-buffer-ensure-match'.
If `match-data' is passed markers will be set to nil after this
-function. See `m-buffer-nil-markers' for details."
- (m-buffer-markers-to-pos-nil
+function. See `m-buffer-nil-marker' for details."
+ (m-buffer-marker-to-pos-nil
(apply 'm-buffer-match-end match)))
;; marker/position utility functions
-(defun m-buffer-nil-markers (markers)
+(defun m-buffer-nil-marker (markers)
"Takes a (nested) list of markers and nils them all.
Markers slow buffer movement while they are pointing at a
specific location, until they have been garbage collected. Niling
@@ -278,11 +278,11 @@ them prevents this. See Info node `(elisp) Overview of
Markers'."
(set-marker marker nil))
(-flatten markers)))
-(defun m-buffer-markers-to-pos (markers &optional postnil)
+(defun m-buffer-marker-to-pos (markers &optional postnil)
"Transforms a list of markers to a list of positions.
If the markers are no longer needed, set postnil to true, or call
-`m-buffer-nil-markers' manually after use to speed future buffer
-movement. Or use `m-buffer-markers-to-pos-nil'."
+`m-buffer-nil-marker' manually after use to speed future buffer
+movement. Or use `m-buffer-marker-to-pos-nil'."
(-map
(lambda (marker)
(prog1
@@ -291,10 +291,10 @@ movement. Or use `m-buffer-markers-to-pos-nil'."
(set-marker marker nil))))
markers))
-(defun m-buffer-markers-to-pos-nil (markers)
- "Transforms a list of MARKERS to a list of positions then nils.
+(defun m-buffer-marker-to-pos-nil (markers)
+ "Transforms a list of MARKER to a list of positions then nils.
See also `m-buffer-nil-markers'"
- (m-buffer-markers-to-pos markers t))
+ (m-buffer-marker-to-pos markers t))
(defun m-buffer-marker-tree-to-pos (marker-tree &optional postnil)
(-tree-map
- [elpa] branch externals/m-buffer created (now d2e35bf929), ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer ce7b6aa0fc 001/115: Initial Checkin, ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 1ecae2db10 007/115: Argument handling reworked., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer a3c5ab72c9 010/115: Added test file., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 20daafd37d 003/115: Lots more changes!, ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 48166c86e6 020/115: Whitespace changes., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer d4aeb66bb3 028/115: Removed pluralisation from nil-markers., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 710ae5ae1a 029/115: Second attempt to remove pluralisation from nil-markers,
ELPA Syncer <=
- [elpa] externals/m-buffer 0450374662 002/115: Lots of changes!, ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 76b65c025d 016/115: Test file for previous tests., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 94251c2abe 019/115: Package metadata added., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 2e1e7b5d29 021/115: Version Update., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 5784538b01 034/115: v0.4 iteration., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 354e1c6b2a 036/115: Change version suffix to alpha., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer dc5f6c4149 038/115: Version 0.4 release., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 72acc99a91 042/115: New function: m-buffer-delete-match, ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 2803b1f9b6 048/115: Match functions now accept a :numeric arg., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer edfa6ef412 062/115: m-buffer-at added., ELPA Syncer, 2022/07/19