[xmonad] Issue 300 in xmonad: XMonad.Prompt.Shell doesn't escape ampersands in tab completed file names.

codesite-noreply at google.com codesite-noreply at google.com
Wed Jun 10 07:12:17 EDT 2009

Status: New
Owner: ----

New issue 300 by ha... at haeg.in: XMonad.Prompt.Shell doesn't escape  
ampersands in tab completed file names.

What steps will reproduce the problem?
1. Open the XMonad.Prompt.Shell (using DefaultXPConfig but this may not be
2. Use tab completion to enter a file name containing an ampersand.
3. Observe that the ampersand is not backslash escaped and thus the
filename is not processed correctly.

What is the expected output? What do you see instead?
The ampersand should be backslash escaped in the prompt but it is not.

What version of the product are you using? On what operating system?
xmonad 0.8 on 2.6.28-11-generic #42-Ubuntu (64bit) with xmonad-contrib-0.8

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
Yes, see attached for xmonad.hs. xmonad --recompile produces no output so I
didn't attach it.

Please provide any additional information below.
I have also attached a patch that I think fixes this problem.

	xmonad.hs  5.2 KB
	XMonad-Prompt-Shell-Ampersand-bug.patch  111 bytes

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

More information about the xmonad mailing list