[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49204: 28.0.50; How to create new file in project by project-find-fi
From: |
Stefan Monnier |
Subject: |
bug#49204: 28.0.50; How to create new file in project by project-find-file |
Date: |
Mon, 19 Jul 2021 22:58:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov [2021-07-20 05:15:59] wrote:
> On 19.07.2021 18:20, Juri Linkov wrote:
>> The same way as switch-to-buffer confirms a non-existent buffer with:
>> C-x b non-existent TAB RET [Confirm]
>
> switch-to-buffer uses read-buffer-to-switch, which delegates to read-buffer,
> a standard function.
>
> read-file-name uses, say, read-file-name-default. Neither delegate to
> a user-provided completion table, though. So we might have to reimplement
> the check-and-prompt interface.
I haven't followed the discussion, so I might be off, but I think what
is described above is something you can get simply by passing the
appropriate value for `mustmatch` to `completing-read` and friends
(including `read-file-name`).
Stefan
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Dmitry Gutov, 2021/07/03
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Giap Tran, 2021/07/05
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Dmitry Gutov, 2021/07/17
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Giap Tran, 2021/07/18
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Juri Linkov, 2021/07/19
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Dmitry Gutov, 2021/07/19
- bug#49204: 28.0.50; How to create new file in project by project-find-file,
Stefan Monnier <=
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Dmitry Gutov, 2021/07/20
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Stefan Monnier, 2021/07/20
- bug#49204: 28.0.50; How to create new file in project by project-find-file, Dmitry Gutov, 2021/07/19