Steps to reproduce
emacs -Q
M-x package-initialize RET
M-x ivy-mode RET
M-: (ivy-read "Pick a number: " (mapcar #'number-to-string (number-sequence 0 (ash ivy-height 1)))) RET
M->
C-'
- Select candidate
a
-
- Expected result:
"12"
- Actual result:
"0"
I believe I have narrowed the problem down to function window-start always returning 1, even when scrolled further down the candidate list. What I find peculiar is that window-end is always correct and (pos-visible-in-window-p (window-start) is always t. I have tried calling redisplay and calling window-end as (window-end nil t) before calling window-start but the result is always the same.
Steps to reproduce
emacs -QM-x package-initialize RETM-x ivy-mode RETM-: (ivy-read "Pick a number: " (mapcar #'number-to-string (number-sequence 0 (ash ivy-height 1)))) RETM->C-'a"12""0"I believe I have narrowed the problem down to function
window-startalways returning1, even when scrolled further down the candidate list. What I find peculiar is thatwindow-endis always correct and(pos-visible-in-window-p (window-start)is alwayst. I have tried callingredisplayand callingwindow-endas(window-end nil t)before callingwindow-startbut the result is always the same.