Ryan <rct@thompsonclan.org> writes:
`completing-read' uses 0-based index while `read-from-minibuffer' uses
1-based index.
Looking at "ido-read-internal", it passes the inital-input argument
directly to "read-from-minibuffer" without incrementing it as
"completing-read-default" does. Therefore any initial input of the form
"(STRING . POSITION)" is handled incorrectly by ido, but this can be
fixed by copying over the logic from "completing-read-default", as in
this patch:
https://mneme.dedyn.io/zerobin/?7cd07d73217c68e5#Aynth3YcZDcE7bkq8cxQnBl+uJ0/+d0UGYmB+7PqLT4=
The link is dead now, but I think I've now fixed this for Emacs 27.