]> git.eshelyaron.com Git - emacs.git/commit
Add more separators to longlines-mode
authorManuel Giraud <manuel@ledu-giraud.fr>
Sat, 2 Jul 2022 15:38:36 +0000 (17:38 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 2 Jul 2022 15:39:54 +0000 (17:39 +0200)
commita06fc4be132b8dcf7a5dab9d68be3f280e14f436
tree1b428fba2402ac60fe3b76e6d5ed35da890894b9
parent3ace37a387cf87aec11ace23e6b4d9a3058db667
Add more separators to longlines-mode

* lisp/obsolete/longlines.el (longlines-breakpoint-chars): New
custom to have multiple breakpoint chars.
(longlines-set-breakpoint): Add a target-column parameter and use
`longlines-breakpoint-chars'.
(longlines-find-break-backward, longlines-find-break-foreward):
Use `longlines-breakpoint-chars'.
(longlines-wrap-line): Do not insert space upon merging, just
remove the soft newline. Fix "space before tab" in indent.
(longlines-merge-lines-p): Use the new target-column parameter to
find out if the next line could be merged with the current one.
(longlines-encode-region): Do not replace a soft newline with a
space, just remove it.
* etc/NEWS: New user option 'longlines-breakpoint-chars'
etc/NEWS
lisp/longlines.el