X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DA8D6D6.9090601@ece.cmu.edu>
Date: Fri, 15 Apr 2011 19:37:58 -0400
From: Ryan Johnson <ryanjohn@ece.cmu.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Eric Blake <eblake@redhat.com>
CC: cygwin@cygwin.com
Subject: Re: Re: Spurious warnings about MS-DOS paths
References: <4DA70298.3040601@redhat.com>
In-Reply-To: <4DA70298.3040601@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2:59 PM, Eric Blake wrote:
> On 04/13/2011 09:10 PM, Ryan Johnson wrote:
>> Hi all,
>>
>> A recent cygwin update has started spewing warnings such as the
>> following when I do tab completion on a path containing spaces:
>>> $ cd ~/Home/Documents/Pcygwin warning:
>>>    MS-DOS style path detected: ~/Home/Documents/PC\ reviews\ 2011
>>>    Preferred POSIX equivalent is: ~/Home/Documents/PC/ reviews/ 2011
>>>    CYGWIN environment variable option "nodosfilewarning" turns off this
>>> warning.
>>>    Consult the user's guide for more details about POSIX paths:
>>>      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>> Would it be possible to make the check exclude common character escapes?
> No, but it probably is an upstream bug the bash-completion package worth
> reporting and fixing.  Can you use 'set -vx' just before typing the
> command that triggers the message, so I can see which command in the
> completion function is insufficiently quoting the pathname such that a
> glob completion is being inappropriately attempted on escape characters?
I don't have bash-completion(s) installed.

If set -vx would be useful with vanilla bash, I'm happy to try it, though.

Regards,
Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

