From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [michael.cadilhac@lrde.org: PC-do-completion with directories adding stars.] Date: Mon, 06 Mar 2006 13:38:45 -0500 Message-ID: References: <874q2d56uw.fsf@mahaena.lrde> <87d5h0pqfo.fsf-monnier+emacs@gnu.org> <200603052105.k25L53514913@raven.dms.auburn.edu> <873bhwmerd.fsf-monnier+emacs@gnu.org> <200603061409.k26E9iE22611@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141671226 11500 80.91.229.6 (6 Mar 2006 18:53:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Mar 2006 18:53:46 +0000 (UTC) Cc: eliz@gnu.org, michael.cadilhac@lrde.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 06 19:53:37 2006 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1FGKpt-0002nU-00 for ; Mon, 06 Mar 2006 19:53:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGKq3-0005ow-Hk for ged-emacs-devel@m.gmane.org; Mon, 06 Mar 2006 13:53:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGKcI-0007hK-5R for emacs-devel@gnu.org; Mon, 06 Mar 2006 13:39:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGKc9-0007dK-5S for emacs-devel@gnu.org; Mon, 06 Mar 2006 13:39:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGKc7-0007cw-32 for emacs-devel@gnu.org; Mon, 06 Mar 2006 13:39:23 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FGKe2-0000Kd-Pu; Mon, 06 Mar 2006 13:41:22 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id B33AA33E60D; Mon, 6 Mar 2006 13:38:50 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 6F1EE452B; Mon, 6 Mar 2006 13:38:45 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 5248271553; Mon, 6 Mar 2006 13:38:45 -0500 (EST) Original-To: Luc Teirlinck In-Reply-To: <200603061409.k26E9iE22611@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 6 Mar 2006 08:09:44 -0600 (CST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51279 Archived-At: > When I try it, I don't get that. Instead I just see "[Ambiguous dir name]" > appended to the minibuffer for 2 seconds. > Then you must have a subdirectory of ~/ starting with `a'. No, that wasn't it. It turns out the difference is that my shell is zsh. If I set SHELL to bash I can now reproduce your description. This happens to illustrate what I said earlier: > ... Of course, this part of the code is difficult to get right because it > uses an underlying shell to do the globbing ... I'll see if I can find a good fix for it, Stefan