Hi, Org mode maintainers. When org-special-ctrl-a/e is active, and when a list item is a whole paragraph spanning many visual lines, `C-a' and `C-e' both misbehave.
`C-e' moves to the end of the visual paragraph (that is, the end of the physical line) instead of moving at the end of the visual line. `C-a' produces an error if the cursor is after the first visual line in the visual paragraph, see the traceback below. My guess is that (org-list.el) org-at-item-p should return true only when on the first visual line, while currently, it always return a true value. François Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) >(11477 nil) (or (> pos after-bullet) (= (point) pos)) (if (or (> pos after-bullet) (= ... pos)) (progn (goto-char after-bullet))) (when (or (> pos after-bullet) (= ... pos)) (goto-char after-bullet)) (if (eq special t) (when (or ... ...) (goto-char after-bullet)) (when (and ... ...) (goto-char after-bullet))) (let ((after-bullet ...)) (if (eq special t) (when ... ...) (when ... ...))) (cond ((and ... ...) (setq refpos ...) (goto-char ...)) ((org-at-item-p) (let ... ...))) (progn (cond (... ... ...) (... ...))) (if special (progn (cond ... ...))) (when special (cond (... ... ...) (... ...))) (let ((pos ...) (special ...) refpos) (if (org-bound-and-true-p line-move-visual) (beginning-of-visual-line 1) (beginning-of-line 1)) (if (and arg ...) (call-interactively ...) (if ... nil ... ...)) (when special (cond ... ...)) (org-no-warnings (and ... ...))) org-beginning-of-line(nil) call-interactively(org-beginning-of-line nil nil)