unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: "Giáp Trần" <giaptx@mht.vn>, 49204@debbugs.gnu.org
Subject: bug#49204: 28.0.50; How to create new file in project by project-find-file
Date: Sun, 27 Jun 2021 03:07:56 +0300	[thread overview]
Message-ID: <6f475812-e088-f0e0-e01f-11cd643ff3e6@yandex.ru> (raw)
In-Reply-To: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@mail.gmail.com>

Hi!

On 24.06.2021 10:17, Giáp Trần wrote:

> I'm trying to migrate from projectile package to project(0.6.0). That
> is amazing.
> 
> Today I see I can
> not create a new file by using `project-find-file.
> 
> I wish we can create a new file with `project-find-file when the file is
> not in candidates as `find-file function do.

Any particular reason you'd want to do that? Do you want to bind this 
command to `C-x C-f` instead of `find-file`?

I've always figured we need the existing binding for a lot of cases 
anyway: it's often faster than project-find-file, and it's easier to use 
to create a file in the current directory (or nearby). There could be no 
current project (project-find-file will then ask you to choose one, and 
that's a nuisance).

And having the REQUIRE-MATCH behavior is nice to avoid typos.

That said, if you can describe the desired behavior, I could live with a 
user option. Bonus points for submitting a patch.





  reply	other threads:[~2021-06-27  0:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24  7:17 bug#49204: 28.0.50; How to create new file in project by project-find-file Giáp Trần
2021-06-27  0:07 ` Dmitry Gutov [this message]
2021-06-28  2:07   ` Giáp Trần
2021-06-29 13:49     ` Dmitry Gutov
2021-06-30  4:44       ` Giap Tran
2021-07-04  1:07         ` Dmitry Gutov
2021-07-05  4:03           ` Giap Tran
2021-07-18  0:46             ` Dmitry Gutov
2021-07-19  2:15               ` Giap Tran
2021-07-19 15:20                 ` Juri Linkov
2021-07-20  2:15                   ` Dmitry Gutov
2021-07-20  2:58                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-21  0:29                       ` Dmitry Gutov
2021-07-21  1:34                         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-02 11:37                           ` Dmitry Gutov
2021-08-02 13:42                             ` Giap Tran
2021-08-06  0:31                               ` Dmitry Gutov
2021-07-20  2:18                 ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f475812-e088-f0e0-e01f-11cd643ff3e6@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=49204@debbugs.gnu.org \
    --cc=giaptx@mht.vn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).