GNU bug report logs -
#59674
28.2; icomplete-force-complete Incorrectly Completes Filename Case
Previous Next
Full log
View this message in rfc822 format
>
> I cannot reproduce what you describe. I see a completely different
> behavior: as soon as I type ~/d/m M-C-i, ~/Documents disappears from the
> completions, and I see only ~/dir/moo ("dir" is another directory I have
> under my home directory).
>
> So I'm not sure why you see what you see: perhaps there's some step
> missing in the recipe?
>
The recipe is not incomplete, but it must be followed very carefully (it's
really a corner case):
mkdir -p ~/Zack/foo/bar ~/zock
echo baz > ~/Zack/foo/bar/baz.txt
emacs -Q
M-x icomplete-mode RET
M-: (setq read-file-name-completion-ignore-case t) RET
M-x cd ~/zock RET
C-x C-f ~/z/f/b/b ;; only type these characters, with only lower case letters
;; at that point you should see this in the minibuffer:
;; Find file: ~/zock/~/z/f/b/b[...ack/foo/bar/baz.txt] [Matched]
C-M-i
;; now you see:
;; Find file: ~/zock/~/zack/foo/bar/baz.txt[...ack/foo/bar/baz.txt] [Matched]
RET
;; the above baz.txt file is not opened, instead a new empty file is created, and you see:
;; Use M-x make-directory RET RET to create the directory and its parent
This bug report was last modified 2 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.