Subject: 28.0.60; visual-line-mode breaks C-a and C-e in extreme case

From: [email-masked]
Date: Sun, 28 Nov 2021 14:49:04 +0000

* Reproducing
- Case 1:
   emacs -Q
   C-u 999 a
   visual-line-mode
   C-p C-a
   C-e C-a

* Notes
Most likely C-a won't move cursor in given scenario and C-e do C-n in
effect. No bug with emacs -nw.

For smaller line C-e can sometimes move cursor before last displayed
character on line. This works with emacs -nw
Increase or decrease text-scale to make this behaviour appear/