[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MSVC 2.9.13 and path completion with spaces
From: |
David Bateman |
Subject: |
Re: MSVC 2.9.13 and path completion with spaces |
Date: |
Wed, 03 Oct 2007 17:18:16 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Thinking more about this I see no logical way of getting this to work
correctly with readline or rather with only the help of readline. How
would readline know to append a quote to the end of the string? Does it
do it for all filenames? What about if you want to go into a
subdirectory that is 2 or more levels below the current level?
I think a better solution might be to add a field
symbol_record:TYPE:COMMAND_EXPECTS_ONE_ARG enum and set it for Fcd and
Fls and perhaps others. Add the
bool
symbol_record::command_expects_one_arg ()
{
return (symbol_type & symbol_record::COMMAND_EXPECTS_ONE_ARG);
}
method. Then in parse.y when constructing a word_list for a command
check if the command expects a single argument, and if so don't split
the elements of tree_argument_list which are of type octave_value_list
into multiple octave_value but rather keep a single string respecting
the white space... However, I have difficulty following the parser code.
John does the above make sense? What would need to be done to implement it?
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
- MSVC 2.9.13 and path completion with spaces, David Bateman, 2007/10/02
- Re: MSVC 2.9.13 and path completion with spaces, Michael Goffioul, 2007/10/02
- Re: MSVC 2.9.13 and path completion with spaces, David Bateman, 2007/10/02
- Re: MSVC 2.9.13 and path completion with spaces,
David Bateman <=
- Re: MSVC 2.9.13 and path completion with spaces, John W. Eaton, 2007/10/03
- Re: MSVC 2.9.13 and path completion with spaces, David Bateman, 2007/10/03
- Re: MSVC 2.9.13 and path completion with spaces, John W. Eaton, 2007/10/03
- Re: MSVC 2.9.13 and path completion with spaces, Michael Goffioul, 2007/10/03
- Re: MSVC 2.9.13 and path completion with spaces, David Bateman, 2007/10/03
- Re: MSVC 2.9.13 and path completion with spaces, John W. Eaton, 2007/10/05
- Re: MSVC 2.9.13 and path completion with spaces, David Bateman, 2007/10/05
- Re: MSVC 2.9.13 and path completion with spaces, John W. Eaton, 2007/10/05
- Re: MSVC 2.9.13 and path completion with spaces, David Bateman, 2007/10/07
- Re: MSVC 2.9.13 and path completion with spaces, David Bateman, 2007/10/07