all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 8926@debbugs.gnu.org
Subject: bug#8926: 24.0.50; pcomplete regression
Date: Sun, 26 Jun 2011 21:18:13 -0400	[thread overview]
Message-ID: <jwv7h88dqfk.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87tybdq2u6.fsf@gmail.com> (Thierry Volpiatto's message of "Sat,  25 Jun 2011 18:43:13 +0200")

>> 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





  reply	other threads:[~2011-06-27  1:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-24  7:03 bug#8926: 24.0.50; pcomplete regression thierry
2011-06-25 16:43 ` Thierry Volpiatto
2011-06-27  1:18   ` Stefan Monnier [this message]
2011-06-27  4:21     ` Thierry Volpiatto
2011-06-30 16:51       ` Stefan Monnier
2011-06-30 16:53       ` Stefan Monnier
2011-06-30 17:45         ` Thierry Volpiatto
2011-06-30 21:19           ` Stefan Monnier
2011-07-01  4:41             ` Thierry Volpiatto
2011-07-01 14:33               ` Stefan Monnier
2011-07-01 19:30                 ` Thierry Volpiatto
2011-07-01 21:59         ` Thierry Volpiatto
2011-07-04 16:00           ` Stefan Monnier
2011-06-26 13:03 ` Stefan Monnier
2011-06-26 18:17   ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7h88dqfk.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=8926@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.