GNU bug report logs -
#8926
24.0.50; pcomplete regression
Previous Next
Reported by: thierry <thierry.volpiatto <at> gmail.com>
Date: Fri, 24 Jun 2011 07:04:02 UTC
Severity: normal
Tags: notabug, wontfix
Found in version 24.0.50
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> in emacs-24 i notice a regression with pcomplete:
>>
>> M-x eshell
>>
>> cd do
>>
>> M-: (pcomplete-completions)
>> => doesn't return a list of directories starting with "do" but an elisp
>> object unusable.
>>
>> In emacs-23 a list is returned as expected.
>>
>> However if i do:
>>
>> M-x eshell
>>
>> cd
>>
>> M-: (pcomplete-completions)
>>
>> I have a list of commands starting with "cd" as expected.
> Note that loading the old file of emacs-23 here in emacs-24 make
> pcomplete work as expected.
Yup. Because among the various completion cases, the case for "files"
used to return a list and now returns a function. Both are valid
completion tables. Any caller of pcomplete-completions should expect to
receive a completion table and not just a list of strings. It may very
well receive a list of strings (which is one kind of completion table),
but it may just as well receive something else.
Stefan
This bug report was last modified 13 years and 315 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.