[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19031: 24.4; find-file in icomplete-mode shows completions with no i
From: |
Eli Zaretskii |
Subject: |
bug#19031: 24.4; find-file in icomplete-mode shows completions with no input |
Date: |
Tue, 08 Dec 2020 17:34:38 +0200 |
> From: Andrii Kolomoiets <andreyk.mad@gmail.com>
> Date: Tue, 08 Dec 2020 12:43:21 +0200
> Cc: Ole Laursen <olau@iola.dk>, Lars Ingebrigtsen <larsi@gnus.org>,
> 19031@debbugs.gnu.org
>
> 1. emacs -Q
> 2. M-: (setq insert-default-directory nil)
> 3. M-x icomplete-mode
> 4. C-x C-f ~/
>
> In this case everything works as described by the docstring: user input
> is here so completions are shown. But IMO Ole's issue is not
> completely solved: bunch of uninteresting dotfiles are shown.
Emacs never filters out the dotfiles, not by default anyway. Try
"C-x C-f TAB TAB", and you will see that. IMO, it would be confusing
if some completion packages did this and some didn't.
> If the 'read-file-name-default' function can set the
> 'minibuffer-default' variable to the substring of the minibuffer content
> from (minibuffer-prompt-end) to the last occurence of the path
> separator, then, in addition to the patched 'icomplete-exhibit', this
> can give desired result: no completions will be show until some input
> after path separator.
But file-name input is not limited to absolute file names. The user
can legitimately enter a relative file name, in which case the
separator may not be present at all.
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Lars Ingebrigtsen, 2020/12/04
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Andrii Kolomoiets, 2020/12/04
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Lars Ingebrigtsen, 2020/12/06
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Ole Laursen, 2020/12/07
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Juri Linkov, 2020/12/08
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Andrii Kolomoiets, 2020/12/08
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Lars Ingebrigtsen, 2020/12/08
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input,
Eli Zaretskii <=
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Andrii Kolomoiets, 2020/12/08
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Ole Laursen, 2020/12/08
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Juri Linkov, 2020/12/08
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Andrii Kolomoiets, 2020/12/08
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Juri Linkov, 2020/12/09
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Andrii Kolomoiets, 2020/12/10
- bug#19031: 24.4; find-file in icomplete-mode shows completions with no input, Juri Linkov, 2020/12/14