GNU bug report logs -
#46091
ido: Add support for tab completion using an alist collection.
Previous Next
Reported by: Keith David Bershatsky <esq <at> lawlist.com>
Date: Mon, 25 Jan 2021 02:47:02 UTC
Severity: wishlist
Tags: moreinfo
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Thanks for having a look at this particular issue.
After evaluating the snippet, press the TAB key. An error will occur in all recent versions of Emacs.
Keith
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> Date: [06-13-2022 12:04:31] <13 Jun 2022 21:04:31 +0200>
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> To: Keith David Bershatsky <esq <at> lawlist.com>
> Cc: 46091 <at> debbugs.gnu.org
> Subject: Re: bug#46091: ido: Add support for tab completion using an alist collection.
>
> Keith David Bershatsky <esq <at> lawlist.com> writes:
>
> > Currently, ido does not support tab completion using an alist collection.
> >
> > (require 'ido)
> >
> > (let* ((alist '(("pine" . "cones")
> > ("oak" . "acorns")
> > ("maple" . "seeds")))
> > (choice (ido-completing-read "CHOOSE: " alist nil 'confirm)))
> > (cdr (assoc choice alist)))
> >
> > ;;; Debugger entered--Lisp error: (wrong-type-argument listp "seeds")
> > ;;; ido-no-final-slash(("maple" . "seeds"))
> > ;;; ido-file-lessp(("maple" . "seeds") ("oak" . "acorns"))
>
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
>
> You say "currently", but not what Emacs version this was about.
>
> I tried evaling the form above in Emacs 25.1 and Emacs 29, and it didn't
> fail in either of those cases, but perhaps there's something missing in
> the recipe? Or has this gone away since whateve version you say this in?
This bug report was last modified 2 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.