|
From: | npostavs |
Subject: | bug#26997: 25.2; Ido broken when ido-enable-dot-prefix non-nil and empty string is a choice |
Date: | Sat, 20 May 2017 21:56:43 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
tags 26997 fixed close 26997 26.1 quit Ryan <rct@thompsonclan.org> writes: > Open "emacs -Q" and run the following code: > > (let ((ido-enable-dot-prefix t)) > (ido-completing-read "Pick: " '("" "a" "b" "c"))) > > Then try to type anything and you will get a message (but no backtrace): > > Error in post-command-hook (ido-exhibit): (args-out-of-range "" 0) > > And ido completion will be broken. This happens any time > ido-enable-dot-prefix is non-nil and "" is one of the choices for ido. > The following patch to ido.el seems to fix the problem. > Thanks, pushed to master [1: f422b46eb1]. [1: f422b46eb1]: 2017-05-20 21:54:02 -0400 Fix ido-enable-dot-prefix for empty choice (Bug#26997) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f422b46eb1d3c62c912ee0806486d017f5153e54
[Prev in Thread] | Current Thread | [Next in Thread] |