On Wednesday, February 23, 2011, Peter Stephenson <p.w.stephen...@ntlworld.com> wrote: > > To analyse a command line to find the current context, completion adds > an "x" at the cursor position which it later removes. In this case, the > "x" completes the word "ubox", which is then expanded to "ls". The > completion system doesn't notice and assumes it still has the original > command line.
Maybe the right thing to do here is insert something other than an "x" -- a metafied character, for example, something that can't appear in normal input. Unfortunately I'm not able to look at the source at the moment so I don't know whether the string is already metafied at that point. At least pick something less likely to form part of an actual word. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org