[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/coterm f334168 24/80: Rename function
From: |
ELPA Syncer |
Subject: |
[elpa] externals/coterm f334168 24/80: Rename function |
Date: |
Wed, 13 Oct 2021 18:57:29 -0400 (EDT) |
branch: externals/coterm
commit f3341688947fa58a88c56ff4b42cbf3525d11554
Author: m <>
Commit: m <>
Rename function
---
coterm.el | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/coterm.el b/coterm.el
index 263849c..ccce584 100644
--- a/coterm.el
+++ b/coterm.el
@@ -93,7 +93,7 @@ region."
(skip-chars-backward "\n") (delete-region (point) opoint)))
(setq coterm--t-pmark-in-sync nil))
-(defun coterm--t-open-space-at-point (proc-filt process newlines spaces)
+(defun coterm--t-open-space (proc-filt process newlines spaces)
"Insert NEWLINES newlines and SPACES spaces at point.
Insert them using PROC-FILT and PROCESS. Afterwards, remove
characters that were moved after the column specified by
@@ -137,7 +137,7 @@ insertion of empty lines."
(coterm--t-delete-region coterm--t-scroll-beg 0
(1+ coterm--t-scroll-beg) 0)
(coterm--t-goto coterm--t-row 0)
- (coterm--t-open-space-at-point proc-filt process 1 0))
+ (coterm--t-open-space proc-filt process 1 0))
((and (= coterm--t-row (1- coterm--t-height))
(coterm--t-scroll-by-deletion-p))
;; Behaviour of xterm
@@ -161,7 +161,7 @@ insertion of empty lines."
(coterm--t-delete-region (1- coterm--t-scroll-end) 0
coterm--t-scroll-end 0)
(coterm--t-goto coterm--t-row 0)
- (coterm--t-open-space-at-point proc-filt process 1 0))
+ (coterm--t-open-space proc-filt process 1 0))
((and (= coterm--t-row 0)
(coterm--t-scroll-by-deletion-p))
;; Behaviour of xterm
@@ -418,15 +418,14 @@ initialize it sensibly."
((and ?J (guard (eq 1 (car ctl-params))))
(coterm--t-delete-region 0 0 coterm--t-row
coterm--t-col)
- (coterm--t-open-space-at-point
+ (coterm--t-open-space
proc-filt process coterm--t-row coterm--t-col))
(?J (coterm--t-delete-region 0 0))
;; \E[K - clear to end of line (terminfo: el, el1)
((and ?K (guard (eq 1 (car ctl-params))))
(coterm--t-delete-region coterm--t-row 0
coterm--t-row coterm--t-col)
- (coterm--t-open-space-at-point proc-filt process
- 0 coterm--t-col))
+ (coterm--t-open-space proc-filt process 0
coterm--t-col))
(?K (coterm--t-delete-region
coterm--t-row coterm--t-col
coterm--t-row coterm--t-width))
@@ -440,16 +439,14 @@ initialize it sensibly."
coterm--t-scroll-end 0)
;; Insert at position
(coterm--t-goto where 0)
- (coterm--t-open-space-at-point
- proc-filt process lines 0)))
+ (coterm--t-open-space proc-filt process lines 0)))
(?M ;; \E[M - delete lines (terminfo: dl, dl1)
(let ((lines
(min (car-or-1)
(max 0 (- coterm--t-scroll-end
coterm--t-row)))))
;; Insert at bottom
(coterm--t-goto coterm--t-scroll-end 0)
- (coterm--t-open-space-at-point proc-filt process
- lines 0)
+ (coterm--t-open-space proc-filt process lines 0)
;; Remove at position
(coterm--t-delete-region
coterm--t-row 0
@@ -462,8 +459,7 @@ initialize it sensibly."
(let ((width (min (car-or-1) (- coterm--t-width
coterm--t-col -1))))
(coterm--t-goto coterm--t-row coterm--t-col)
- (coterm--t-open-space-at-point proc-filt process
- 0 width)
+ (coterm--t-open-space proc-filt process 0 width)
(cl-incf coterm--t-col width)
(setq coterm--t-col (min coterm--t-col
(1- coterm--t-width)))
- [elpa] externals/coterm 9e7720b 37/80: Use save-excursion more sparingly, (continued)
- [elpa] externals/coterm 9e7720b 37/80: Use save-excursion more sparingly, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 4943e16 41/80: Footer and header, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm d6912da 42/80: Support sequences \eE[E, F and G (pacman uses them), ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 71d2dc1 30/80: Implement user-facing variables and minor mode, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm dfebb62 46/80: Add comint output filter function buffer locally, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm bd103f9 56/80: [auto-char] Fix searching in less, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm d5042f6 65/80: Inhibit Emacs from automatically decoding \r\n into \n, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 90823af 77/80: Revert "Inhibit Emacs from automatically decoding \r\n into \n", ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 066cd45 70/80: Explain how coterm does/doesn't do line-wrapping, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 08208f3 33/80: Handle \r\n sequence properly, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm f334168 24/80: Rename function,
ELPA Syncer <=
- [elpa] externals/coterm 8b2836e 28/80: Fix incorrect handling of incomplete escape sequences, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 1ec97d2 29/80: \n doesn't go to column 0, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 9184a46 34/80: Always synchronize pmark at the end, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm e64027a 43/80: Restore 'window-point' of non-selected windows, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 8f0a13b 44/80: Refactor scroll snapping, snap in all windows, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm dc5f8db 38/80: Improve doc string, add autoload cookie, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm ee37b4b 39/80: Initial support for char-mode and scroll snapping, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 6f42ba6 45/80: Initialize home marker properly, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm 5e40af4 47/80: Prevent modification of user input harder, ELPA Syncer, 2021/10/13
- [elpa] externals/coterm dc9466e 57/80: Implement \t (move cursor to tab stop), needed for "emacs -nw", ELPA Syncer, 2021/10/13