on account of a rather stingy buffering threshold of 512 characters.
Now configurable, its default has been relaxed eightfold to 4096.
+** Stray key binding removed from 'erc-fill-wrap-mode-map'.
+The command 'erc-fill-wrap-cycle-visual-movement' was mistakenly given
+the key binding "C-c a" in an inadvertent holdover from development. It
+has been removed.
+
** New option determines 'keep-place-indicator's influence on 'truncate'.
Option 'erc-keep-place-indicator-truncation' manages the tension between
truncation and place keeping, prioritizing one or the other.
"<remap> <toggle-truncate-lines>" #'erc-fill-wrap-toggle-truncate-lines
"<remap> <next-line>" #'erc-fill--wrap-next-line
"<remap> <previous-line>" #'erc-fill--wrap-previous-line
- "C-c a" #'erc-fill-wrap-cycle-visual-movement
;; Not sure if this is problematic because `erc-bol' takes no args.
"<remap> <erc-bol>" #'erc-fill--wrap-beginning-of-line)
(should (search-forward "done to her." nil t)))
(ert-info ("Value: nil")
- (execute-kbd-macro "\C-ca")
+ (call-interactively #'erc-fill-wrap-cycle-visual-movement)
(should-not erc-fill--wrap-visual-keys)
(goto-char (point-min))
(should (search-forward "in debug mode" nil t))
(should (eql ?\] (char-before (point)))))
(ert-info ("Value: t")
- (execute-kbd-macro "\C-ca")
+ (call-interactively #'erc-fill-wrap-cycle-visual-movement)
(should (eq erc-fill--wrap-visual-keys t))
(goto-char (point-min))
(should (search-forward "that he hath" nil t))
(should (eobp)))
(ert-info ("Value: nil") ; same
- (execute-kbd-macro "\C-ca")
+ (call-interactively #'erc-fill-wrap-cycle-visual-movement)
(should-not erc-fill--wrap-visual-keys)
(execute-kbd-macro "\C-y")
(should (looking-back "its buffer\\."))
(should (eobp)))
(ert-info ("Value: non-input")
- (execute-kbd-macro "\C-ca")
+ (call-interactively #'erc-fill-wrap-cycle-visual-movement)
(should (eq erc-fill--wrap-visual-keys t))
(execute-kbd-macro "\C-y")
(execute-kbd-macro "\C-a")