Subject: bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil

From: Chris Withers <[email-masked]>
Date: Sun, 10 May 2009 23:42:36 +0100

Chong Yidong wrote:
>> Did you do the all important '..' to go to a parent directory?
> 
> After typing `..', I type TAB.  The text in the minibuffer completes to
> 
>   ../
> 
> After typing TAB again, Emacs offers a completions list showing the
> directories in /home.  This is expected.

Okay, here's what I did:

- open a file in a folder
- C-x C-f
- .. TAB to go to parent folder of the folder containing the file you opened
- type 'so' and hit TAB
- minibuffer now shows "../something/", *Completions* shows contents of 
'something' folder
- now delete all characters in the minibuffer with backspace
- hit TAB, *Completions* still shows contents of 'something' folder
- type first two characters of a name in *Completions*, no completion 
happens [1]
- delete those two characters
- type 'so' and hit TAB
- minibuffer now shows "something/"
- hitting TAB one or two more times and *Completions* once more shows 
the contents of 'something' folder
- type first two characters of a name in *Completions*, no completion 
happens and current working directory in minibuffer seems very confused [1]

[1] these bullet points feel like bugs to me...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk