Re: [regression] special char expansion
- From: <tpgww@xxxxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Fri, 24 Jul 2009 10:35:04 +1000
On Wed, 22 Jul 2009 09:47:39 +0200
Tobias Jakobi <liquid.acid@xxxxxxx> wrote:
> >> I have the directory open action associated with a simple "cd %f", which
> >> worked without problems with the old version. However with the new
> >> version an old problem returns: directory names with "special chars"
> >> like ~ can't be opened anymore because e2 expands the ~ inside the dirname.
> >>
> >> Could this be fixed in the next version?
> >
> > Certainly, Tobias, if we can find what the problem is. I've just stepped
> > through (with a debugger) examples of entered command "cd %f", and also
> > checked "activation" of a dir using that command, where the selected dir
> > was respectively "special~dir" and "~special-dir" (both of them sans
> > quotes). I found it to work as expected. Likewise for "cd %%f".
> >
> > Any more hints about what to look for ?
> it looks like that the problem appears when two spaces surround the ~,
> so try a directory that looks like this "XXX ~ YYY".
This turns out to be a non-trivial fix. Until now, the same code is used to
interpret things like "cp ~ backsups" and "cd \"XXX ~ YYY\"".
I've now put into svn some changes which distinguish between cases of 'pure'
path-interpretation and argument-interpretation more generally. These changes
will need some evaluation, to make sure that the distinction is working
properly in all use-cases.
Regards
Tom
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
Other related posts: