Skip to content

Conversation

SequentialDesign
Copy link
Contributor

this patch makes kill-whole-line, one, kill the entire line, including the new line at the end of a line if indeed it is there, and, two, allow for prefixes

|;; one one one
;; two two two
;; three three three
;; four four four
;; five five five

(| is point) if 5 kill-whole-line, all lines are deleted.

;; one one one
;; two two two
;; three three |three
;; four four four
;; five five five

(| is point) if 0 kill-whole-line, nothing happens.

;; one one one
;; two two two
;; three three |three
;; four four four
;; five five five

(| is point) if -2 kill-whole-line, ";; one one one" and ";; two two two" are deleted, and the point stays right before the last "three". if you want to delete the previous "three"s, then you can use the kill command.

i'm curious if others agree with me

…ing the new line at the end of a line if indeed it is there, and, two, allow for prefixes

|;; one one one
;; two two two
;; three three three
;; four four four
;; five five five

(| is point) if `5 kill-whole-line`, all lines are deleted.

;; one one one
;; two two two
;; three three |three
;; four four four
;; five five five

(| is point) if `0 kill-whole-line`, nothing happens.

;; one one one
;; two two two
;; three three |three
;; four four four
;; five five five

(| is point) if `-2 kill-whole-line`, ";; one one one" and ";; two two two" are deleted, and the point stays right before the last "three".  if you want to delete the previous "three"s, then you can use the `kill` command.

i'm curious if others agree with me
@cxxxr
Copy link
Member

cxxxr commented Nov 27, 2024

Thanks

@cxxxr cxxxr merged commit 76bcff8 into lem-project:main Nov 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants