Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 19 Feb 2003 13:35:11 -0500 From: Robinows AT netscape DOT net (David Robinow) To: cygwin AT cygwin DOT com Subject: RE: Output of bash dirs command vs. emacs MIME-Version: 1.0 Message-ID: <5133CDA7.6304773C.00822747@netscape.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Ixnay Amenay wrote: >The output of the 'dirs' builtin does not escape space >characters: > >bash> dirs >~/program files ~/src/emacs >bash> > >This breaks the M-x dirs function of both cygwin emacs >and NT emacs. > >I believe this to be a bash bug: There is no way for >emacs (or anything else) to parse the output of dirs >and disambiguate "space used as delimiter" vs. "space >in the directory name". bash is working as advertised. In any case, unless this is a cygwin-specific behaviour, it's offtopic. "M-x dirs" is not a standard emacs function. I suggest you recode it to use "dirs -p". That should be easy enough to parse. __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/