This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Output of bash dirs command vs. emacs


Ixnay Amenay <ixnay_amenay at yahoo dot com> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]