You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are cases where ivy-read returns a propertized string (see test case below). There is code at the end of ivy-read that removes idx property, but it is done after the function return value has been calculated (prog1).
I think this is a bug with Ivy because:
ivy-completing-read is supposed to be compatible with completing-read, and it is not if there are observable differences between the two given the same inputs.
The idx property is an implementation detail of Ivy that should not be leaking out.
At the moment I'm using an advice around ivy-read to strip away any text properties (using substring-no-properties), but it would be nice if the library could be fixed properly.