GNU bug report logs - #26997
25.2; Ido broken when ido-enable-dot-prefix non-nil and empty string is a choice

Previous Next

Package: emacs;

Reported by: Ryan <rct <at> thompsonclan.org>

Date: Fri, 19 May 2017 15:09:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 25.2

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Ryan <rct <at> thompsonclan.org>
Cc: 26997 <at> debbugs.gnu.org
Subject: Re: 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
tags 26997 fixed
close 26997 26.1
quit

Ryan <rct <at> 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




This bug report was last modified 8 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.