From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs 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 Message-ID: <6f475812-e088-f0e0-e01f-11cd643ff3e6@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17921"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 To: =?UTF-8?Q?Gi=C3=A1p_?= =?UTF-8?Q?Tr=E1=BA=A7n?= , 49204@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 27 02:09:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxIMI-0004VX-LJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Jun 2021 02:09:10 +0200 Original-Received: from localhost ([::1]:35228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxIMH-0003AR-7k for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Jun 2021 20:09:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxIMA-0003AI-Qe for bug-gnu-emacs@gnu.org; Sat, 26 Jun 2021 20:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lxIMA-0005tG-IX for bug-gnu-emacs@gnu.org; Sat, 26 Jun 2021 20:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lxIMA-0000bG-CK for bug-gnu-emacs@gnu.org; Sat, 26 Jun 2021 20:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Jun 2021 00:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49204 X-GNU-PR-Package: emacs Original-Received: via spool by 49204-submit@debbugs.gnu.org id=B49204.16247524882235 (code B ref 49204); Sun, 27 Jun 2021 00:09:02 +0000 Original-Received: (at 49204) by debbugs.gnu.org; 27 Jun 2021 00:08:08 +0000 Original-Received: from localhost ([127.0.0.1]:48782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxILH-0000Zz-S3 for submit@debbugs.gnu.org; Sat, 26 Jun 2021 20:08:08 -0400 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]:45709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxILE-0000ZU-OJ for 49204@debbugs.gnu.org; Sat, 26 Jun 2021 20:08:07 -0400 Original-Received: by mail-ej1-f50.google.com with SMTP id hc16so21842362ejc.12 for <49204@debbugs.gnu.org>; Sat, 26 Jun 2021 17:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7+FZ/Mm/Ps/YoAfV7rOguG57gXaaaCkhBJHuQiTbSZY=; b=s8Demvwns+cIrUC0BXKE/nVyQWu+/9E2aZhBf6mLuWGFelFNFYurQ53JhbdRx7gI12 fwmpezXEp94QOsM/owdlqry/Dp2v/j9INYAOAaqfoEG4z5Bh8Gqviatl048Af4d5YDI0 XsH94AfbsSOLXseQzmP2y3c4EUcrxX0UVUFU8uE27UoNvWGSiaSBSJUQ2llmn0MT3+pF AqXSPFmYxWRLF2rbpd7/JtZGtrTMptZHHLIDZsgoACPW3d1KAO5Q/M868NCbGd61l/gN 8q0FUKtBimA1/jaAroNznvzbLulupzLlZYpf5dcBhq8sQ7+ShMqoF58+6gu+DbN+3zbC hquQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7+FZ/Mm/Ps/YoAfV7rOguG57gXaaaCkhBJHuQiTbSZY=; b=t56TbRzxi4c0y07SpNhYoF8817RaIP02hhxumexle7qg04mBENUeAALhm/MYnnrV7W 75z66/S4IY1bNHRYH9q5fE+F3rGeDJZQxpxebI9MxnyQfW315yJ1JqqowO9EMGDbTfbX sE4MuGocyhpryRqSG2bnl6qr7tAU5tT8c0SGuFUFUV8quqav+KmQ25NJQ3xFCslbWnlW +JDBq61PtSA+OklFwu6UMiYnvOhTFklcNCZBxgtMUWqDqqhate3GPqYf3j9WTtpi8bfz m0yi2EDClBXlrY2VfkxBrVYGmKMo/dXizs18eQtzO1rXoPUUuzrpCh3HFBuXF8RyUL+G ZM2Q== X-Gm-Message-State: AOAM53128BG2Cy7tLR2VRCdaLFMOW/VBAuw1T7QVyRQf2lJ8Ez1kn0eF agSwBvEC3UERIcIF1TW1z0wy25hXZn4= X-Google-Smtp-Source: ABdhPJy7ENqCGvImSep49X+vsWuzEN4jHarLhjO0rGkqxIhGdfbwZCzSFTfL0p2WCdCQzu9dG1ZWNA== X-Received: by 2002:a17:906:2608:: with SMTP id h8mr17573023ejc.380.1624752478770; Sat, 26 Jun 2021 17:07:58 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id my48sm112829ejc.105.2021.06.26.17.07.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Jun 2021 17:07:58 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209027 Archived-At: 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.