[Xmonad] i18n for XPrompt

Andrea Rossato mailing_list at istitutocolli.org
Fri Sep 14 08:23:52 EDT 2007

On Fri, Sep 14, 2007 at 12:15:03AM -0400, Xiao-Yong Jin wrote:
> Finally, one not related to the new patch is that some
> special characters, like spaces or quotes, in the path name
> are not properly escaped, which in turn makes the path name
> completion useless, when such characters are in the path.
> It completes, but apparently the completion doesn't work
> properly.

I'm a bit puzzled about escaping spaces, actually. Now the string in
the prompt is broken down to words in order to use the last one for
finding new completions: this is what makes it possible to complete a
command and then complete a file path. How can I tell which space must
be escaped and which is not to be escaped?

I think we should just replicate the behavior of a command line: you
must manually escape characters, and I must take that into account when
splitting the string.

Am I right? What do you think?


More information about the Xmonad mailing list