GNU bug report logs - #49204
28.0.50; How to create new file in project by project-find-file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Giáp Trần <giaptx@HIDDEN>; dated Thu, 24 Jun 2021 10:34:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 19 Jul 2021 15:43:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 19 11:43:49 2021
Received: from localhost ([127.0.0.1]:59943 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m5VQr-0005XR-8L
	for submit <at> debbugs.gnu.org; Mon, 19 Jul 2021 11:43:49 -0400
Received: from relay4-d.mail.gandi.net ([217.70.183.196]:34777)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1m5VQp-0005XC-3y
 for 49204 <at> debbugs.gnu.org; Mon, 19 Jul 2021 11:43:47 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 80B41E0014;
 Mon, 19 Jul 2021 15:43:36 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Giap Tran <giaptx@HIDDEN>
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
Organization: LINKOV.NET
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
 <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
 <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
 <ac58f9e5-ce06-439f-f4f7-81af0b95fa01@HIDDEN>
 <b8fff5d6-f19c-09aa-d309-0656f06fde82@HIDDEN>
 <c49d335e-1bd9-9697-fc7b-82c0f3d979a5@HIDDEN>
 <e0b1dd52-a4fe-5e3e-06f7-73519f77bf47@HIDDEN>
 <d4687516-1c49-95df-1d0d-861220caf008@HIDDEN>
Date: Mon, 19 Jul 2021 18:20:04 +0300
In-Reply-To: <d4687516-1c49-95df-1d0d-861220caf008@HIDDEN> (Giap Tran's
 message of "Mon, 19 Jul 2021 09:15:10 +0700")
Message-ID: <87k0lmqu8r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 49204
Cc: Stephen Leake <stephen_leake@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 49204 <at> debbugs.gnu.org,
 Dmitry Gutov <dgutov@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> How can we know? Do you mean that it tells you that by asking to confirm
>> after you press RET?
>
> I mean we have to looks by our eyes :P
>
> Oh, you mentioned "confirm". Do you use magit? I see this package has
> a good UI/UX by default. If the user wants to push to a new branch is not
> exist, magit will a "confirm" question.

The same way as switch-to-buffer confirms a non-existent buffer with:

  C-x b non-existent TAB RET [Confirm]




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 19 Jul 2021 02:15:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 18 22:15:21 2021
Received: from localhost ([127.0.0.1]:57744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m5IoT-0007tn-6U
	for submit <at> debbugs.gnu.org; Sun, 18 Jul 2021 22:15:21 -0400
Received: from mail-pf1-f172.google.com ([209.85.210.172]:43757)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <giaptx@HIDDEN>) id 1m5IoR-0007ta-So
 for 49204 <at> debbugs.gnu.org; Sun, 18 Jul 2021 22:15:20 -0400
Received: by mail-pf1-f172.google.com with SMTP id a127so15080893pfa.10
 for <49204 <at> debbugs.gnu.org>; Sun, 18 Jul 2021 19:15:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mht-vn.20150623.gappssmtp.com; s=20150623;
 h=subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=OG9yaCs1P51Omra5VV/Ml2i677YYhxSkW9BVJy45oPw=;
 b=ylbOoJkOBmUZO9RzVf+TlnO3eWmP7RPv4zBCmNQ9A4UorWBfZxUu7w7Ad1pEpoE199
 SsCCWOC7aU0dfcqmHxwFZmfCShC2Pkbf2xWaFrC5KKnsHT8T3dI0lQ9cwd+Kwl5vSI1B
 +jj4DDa4m2+9LN2q4/BLUy5XY1WbL+O/fWDQlKCELtVzj5U5PynvT5kDLADWgJhYU6Hn
 Mg76sFwkVWSKiHimha6HqJEfWT66XhmfUhMw3mJMZnldc4dD3JVkuc8pZz7VYoSOXugJ
 RqvGn1PPnhHOSZDkPXSzOfc+7kyxxUF0CW7FbOHFWbiS3McM38IXl4HVTdhdJ80XImeM
 1vxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=OG9yaCs1P51Omra5VV/Ml2i677YYhxSkW9BVJy45oPw=;
 b=j08/2l7gWrSMzcA6oO5J/NGz0xAaJb9xovuz0dNpNDDL+XJ34x8BVsIvjTSjObPiiP
 /5bYiF0827WLH3GsLEVp6hVDk5F/b8j3RP3dwFcv6bLBfkUCJJu7/X9xf++trE1qCVY6
 ITjA1mZfHblJL86ZUzKPlU2fViknuUwGxo+4MQC7nA1/gKzSqLW+KfD8cthyKbxSV4dJ
 d02NCUqgdsXtNaPv0WBHFxXXVagiFaZEFTTH93+LU9TFG3TkwiqbIoc5Kiv46xSOk1IE
 45r7h2oFHSqTt9EtzQhIG6F4COvmRVu0xArYhvX1GCgTRqqoZi6AEcmGc66Vbhr/qG57
 Zvlw==
X-Gm-Message-State: AOAM532pLpc7lQRY5/c9cqzYo6qzx5vzeK9fShwvuqwnMbwg5BdQ0nCk
 +VNoqTBGwXn12p2s6NnviRz/liXT/OWppZ7Z3yE=
X-Google-Smtp-Source: ABdhPJx1ae13MH/sb1pyXUVG4IHv+/iVG8Nq3KhycLWrYxCWkMNt3NRv+jUR848ynax4y+C/7tZs3A==
X-Received: by 2002:a63:1755:: with SMTP id 21mr11674556pgx.435.1626660913948; 
 Sun, 18 Jul 2021 19:15:13 -0700 (PDT)
Received: from [192.168.1.73] ([27.72.97.105])
 by smtp.gmail.com with ESMTPSA id ev20sm14376414pjb.43.2021.07.18.19.15.12
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 18 Jul 2021 19:15:13 -0700 (PDT)
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
To: Dmitry Gutov <dgutov@HIDDEN>
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
 <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
 <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
 <ac58f9e5-ce06-439f-f4f7-81af0b95fa01@HIDDEN>
 <b8fff5d6-f19c-09aa-d309-0656f06fde82@HIDDEN>
 <c49d335e-1bd9-9697-fc7b-82c0f3d979a5@HIDDEN>
 <e0b1dd52-a4fe-5e3e-06f7-73519f77bf47@HIDDEN>
From: Giap Tran <giaptx@HIDDEN>
Message-ID: <d4687516-1c49-95df-1d0d-861220caf008@HIDDEN>
Date: Mon, 19 Jul 2021 09:15:10 +0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <e0b1dd52-a4fe-5e3e-06f7-73519f77bf47@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 49204
Cc: Stephen Leake <stephen_leake@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 49204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.1 (-)

On 7/18/21 7:46 AM, Dmitry Gutov wrote:
> 
> 
> Perhaps we should change the above workflow to be more "standard", but 
> IIRC the existing one was requested to be this way, and has received 
> surprisingly little complaints over the years.

I checked how the find-file func works. I see we should learn find-file 
behavior.

That means `project-find-file' will not set the default file instead 
using M-n (next-history-element) if the user wants to use find file at 
point.

By using this behavior, we can go to in dired mode of project root by 
default. Currently, we can not jump to dired mode if the text around 
point 'compile.el'

> How can we know? Do you mean that it tells you that by asking to confirm 
> after you press RET?

I mean we have to looks by our eyes :P

Oh, you mentioned "confirm". Do you use magit? I see this package has a 
good UI/UX by default. If the user wants to push to a new branch is not 
exist, magit will a "confirm" question.


Regards,




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 18 Jul 2021 00:46:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 17 20:46:35 2021
Received: from localhost ([127.0.0.1]:54883 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m4ux1-00060Y-8D
	for submit <at> debbugs.gnu.org; Sat, 17 Jul 2021 20:46:35 -0400
Received: from mail-ej1-f44.google.com ([209.85.218.44]:33763)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1m4uwz-0005v6-Vk
 for 49204 <at> debbugs.gnu.org; Sat, 17 Jul 2021 20:46:34 -0400
Received: by mail-ej1-f44.google.com with SMTP id bu12so21564661ejb.0
 for <49204 <at> debbugs.gnu.org>; Sat, 17 Jul 2021 17:46:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=+3O2Z5RoABO0kLVC9ajT5Qj9ReHPdbN9BKIiGtEL9KU=;
 b=XTkNpoprl1weYfc7fCYGLsTDm0Yv/Ni+6TVSrUx9Jkky1YbtvxJsWM88FW8yP7Uk/3
 mMgi0g892dhTzK2cMeRlZFhpM08cbAtwV4nWbyIln5gzUbI+aH8BEyU8qiFxcEEy/CT9
 ulaMzxTAM16ojbRFgK5eVLGHL9ie4z289V79oMw6jdinUfHjohuQxOEI5++LYpoyDErj
 gD86WoIlIvnRCIIVP2Zs8icF6FyrB7ygnRaQSCmmbr53MP0mNp5XC7d7/jux+/wCn0Np
 uEsR4c7r5x2XCkwo3ugNM5TrOJSx4Ws/g5ixPkvP6V2anVbG8pVg2iKDkxbsHlmKegCR
 RaZw==
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:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=+3O2Z5RoABO0kLVC9ajT5Qj9ReHPdbN9BKIiGtEL9KU=;
 b=U7KvfTJuChEhKN9Q1uqeNycFkx4Ds062oWnTTU0d29JizXlM9AxQ7O/wzNMfsvMFUG
 H29TES+ItYY9WCZw2vUjXazxTpEodAr/v3lYK6JVT4y0EDbnyk/Zvvu6XarwLkZtMBtT
 LRZYVWOFYmHBVnnP/jBADAF8axaJON5rG0R5nJsrPxekQCXDC136wYeTnQMDXnfIati3
 6Ou6JRxk/L5phWz50IJKDKynJ2Tb7+bvcE81Rt+IQf7czu7s8MX3A5tA2/fh9le7K/uX
 uls9blKc+NXnL4x/glUwYrjZR49hEdpgTbm8cuF0KEPo+r72WTPBjww93TIQ/TkXrRwZ
 RSnQ==
X-Gm-Message-State: AOAM530HZSX7/2YBdrVmOJVHVrNVNLLDEuGm86Q2SUDHt58QrA8vxADt
 hEd7O1fDKJUYgamTCVcyP+RkdNfjRY8=
X-Google-Smtp-Source: ABdhPJz74pIYMNFdhgy1nH1mHQmkSxVSvoGrdbFdr6unBkGNMhpkPTNDCYhHYrqr62v4130IfxS0Sw==
X-Received: by 2002:a17:906:fc6:: with SMTP id
 c6mr19609073ejk.65.1626569188007; 
 Sat, 17 Jul 2021 17:46:28 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id v11sm4351225ejx.104.2021.07.17.17.46.26
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 17 Jul 2021 17:46:27 -0700 (PDT)
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
To: Giap Tran <giaptx@HIDDEN>
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
 <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
 <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
 <ac58f9e5-ce06-439f-f4f7-81af0b95fa01@HIDDEN>
 <b8fff5d6-f19c-09aa-d309-0656f06fde82@HIDDEN>
 <c49d335e-1bd9-9697-fc7b-82c0f3d979a5@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <e0b1dd52-a4fe-5e3e-06f7-73519f77bf47@HIDDEN>
Date: Sun, 18 Jul 2021 03:46:25 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <c49d335e-1bd9-9697-fc7b-82c0f3d979a5@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 49204
Cc: Stephen Leake <stephen_leake@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 49204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On 05.07.2021 07:03, Giap Tran wrote:
> On 7/4/21 8:07 AM, Dmitry Gutov wrote:
>> But I suppose an override for project--completing-read-strict might 
>> require less code, if you still want to retain the "completion from 
>> relative names" part of behavior from project--read-file-cpd-relative.
>>
>> The flip side is someday you might have to deal with breakage when we 
>> have to make a change to project--completing-read-strict (which is a 
>> "private" function) or stop using it.
>>
>> Let me know which approach you choose in the end, and how it works out.
> 
> Ya, I'm overriding project--completing-read-strict. It looks good to me.

Excellent.

> As I see I still can use find a file at point by M-n. So don't 
> understand why you said we can not use find file at point anymore if we 
> set REQUIRE-MATCH is nil

Right, but then if you press RET, the file will be created.

If, for example, the text around point is 'compile.el', and you call 
project-find-file and press RET right away, you're not going to visit 
(or create) a file named 'compile.el' in the project root, you're going 
to see the list filered with 'compile.el' as initial-input instead.

Perhaps we should change the above workflow to be more "standard", but 
IIRC the existing one was requested to be this way, and has received 
surprisingly little complaints over the years.

> Do you want this file to exist, right? IMO, If file is not exist
> we can know it by look at minibuffer.

How can we know? Do you mean that it tells you that by asking to confirm 
after you press RET?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 5 Jul 2021 04:03:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 05 00:03:53 2021
Received: from localhost ([127.0.0.1]:43551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m0Fpp-0007HZ-74
	for submit <at> debbugs.gnu.org; Mon, 05 Jul 2021 00:03:53 -0400
Received: from mail-pf1-f179.google.com ([209.85.210.179]:41579)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <giaptx@HIDDEN>) id 1m0Fpl-0007HI-NF
 for 49204 <at> debbugs.gnu.org; Mon, 05 Jul 2021 00:03:51 -0400
Received: by mail-pf1-f179.google.com with SMTP id f17so4054954pfj.8
 for <49204 <at> debbugs.gnu.org>; Sun, 04 Jul 2021 21:03:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mht-vn.20150623.gappssmtp.com; s=20150623;
 h=subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=yMqqrGim/q32o2lqF63TBvF6+DK++69RK6i6bQGmI8E=;
 b=w9qQG2B+myqFZWP7ox+YTxNNht2VKMJmD5m6Op82fng1CMHyf/Li6+yxliQdxHbp1x
 Ro0WySV5F3ZJBo+rPiEIDBqbyJJxjyYNsq33uo+5EvJuE6XLegYV0bDFWgDYoAPKeObs
 RiGIbHwrv+svLpZAkk/1fPrUxp29i3rapdd6s3k198S1qNS3A4bZJCRKmoDJbOm3pKC9
 EJLnTb9dKfI4QX+bMjCk9xLRVJz5spnKfeXC6plinqkXyEQV3j4lU91XKjIXbq93N1Qm
 8pKKEQVqBHeqeR7bZfJH5d+7GG6gCw2QAFE1BmOBjX6TfUsu+JsHruywyw3TUq0lc9M4
 9sMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=yMqqrGim/q32o2lqF63TBvF6+DK++69RK6i6bQGmI8E=;
 b=f7m0cx9BvoRBMIFTi3BWd4/3gbgEv74vOBqyGvk2nv0v2bSX9RdmSA1SStbc2bXKGA
 2NUt/NWoVN97SwUl6xMkdsscMVoa292YnnHoAdTzQPMbsyadGF8MiwOZJ8BKApLjRDmk
 UnTeLswgzchUfwLPbcSBm2BL7mZMqGuTM24ZbDCvFch5GaKEb8y8GA3i3N63mM115Y1I
 Gp7IlNcNFA+KfXc5FNOzaGK599cyTbhKfe2HTEEVMqfcfQINi/JJmdEeFhzIQNcJsIjA
 sbzLZ+iBpq6x6ywfBdQSAxa/PWNKa6wmxOtrJcAJf6evzqGk/U5SIFB8ZNDsu9RG4Goz
 GF4A==
X-Gm-Message-State: AOAM530Jy/smNx8hjHnZvd7ukMaHRrYGeWtxrINjuqwPkYc/X8ZorqK7
 Uo/WycVrO2YIupS0qlUXodiN+LQavcJou0+NrLOLTQ==
X-Google-Smtp-Source: ABdhPJyqgfuJQNMECimWZiS+4mRZM6EIOGS7YLUGj4aiZhzEyEdX8EdY3XQQPeIzrERl/Q97fas8aw==
X-Received: by 2002:a63:5351:: with SMTP id t17mr13194567pgl.315.1625457823623; 
 Sun, 04 Jul 2021 21:03:43 -0700 (PDT)
Received: from [192.168.1.73] ([27.72.97.105])
 by smtp.gmail.com with ESMTPSA id o25sm12094496pgd.21.2021.07.04.21.03.41
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 04 Jul 2021 21:03:43 -0700 (PDT)
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
To: Dmitry Gutov <dgutov@HIDDEN>
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
 <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
 <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
 <ac58f9e5-ce06-439f-f4f7-81af0b95fa01@HIDDEN>
 <b8fff5d6-f19c-09aa-d309-0656f06fde82@HIDDEN>
From: Giap Tran <giaptx@HIDDEN>
Message-ID: <c49d335e-1bd9-9697-fc7b-82c0f3d979a5@HIDDEN>
Date: Mon, 5 Jul 2021 11:03:40 +0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <b8fff5d6-f19c-09aa-d309-0656f06fde82@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 49204
Cc: Stephen Leake <stephen_leake@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 49204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 7/4/21 8:07 AM, Dmitry Gutov wrote:
> But I suppose an override for project--completing-read-strict might 
> require less code, if you still want to retain the "completion from 
> relative names" part of behavior from project--read-file-cpd-relative.
> 
> The flip side is someday you might have to deal with breakage when we 
> have to make a change to project--completing-read-strict (which is a 
> "private" function) or stop using it.
> 
> Let me know which approach you choose in the end, and how it works out.

Ya, I'm overriding project--completing-read-strict. It looks good to me.
As I see I still can use find a file at point by M-n. So don't 
understand why you said we can not use find file at point anymore if we 
set REQUIRE-MATCH is nil

Do you want this file to exist, right? IMO, If file is not exist
we can know it by look at minibuffer.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 4 Jul 2021 01:07:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 03 21:07:40 2021
Received: from localhost ([127.0.0.1]:40200 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lzqbk-0006N4-IF
	for submit <at> debbugs.gnu.org; Sat, 03 Jul 2021 21:07:40 -0400
Received: from mail-wm1-f54.google.com ([209.85.128.54]:41810)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1lzqbi-0006Mr-Em
 for 49204 <at> debbugs.gnu.org; Sat, 03 Jul 2021 21:07:38 -0400
Received: by mail-wm1-f54.google.com with SMTP id
 a5-20020a7bc1c50000b02901e3bbe0939bso8892388wmj.0
 for <49204 <at> debbugs.gnu.org>; Sat, 03 Jul 2021 18:07:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=MLt3ICuw1gqAMLI3gsAj6RhDcv6aofF4yQdjHDW3gZo=;
 b=oqTEJqY5CO9NH+PleZds0UK/Qffy0GeVilL0kkskWGuDsqVJOLICUX13NUvdEgmJRw
 e8FCP+9/Fgree0kN/oND1q5AdHrmcKyforRuvEL6djKFLb8RmYkYlab76VJ7n/+GTxv5
 ItJkWtqNvTsyy/JscQbrc8rb4lM/LLCRAVv0/tGlObNKDWz6VEUW8QFWVVegwsFhULCm
 o7tNT4NQp7dYlkCNU9Ux4eB/qdfoVcToktAbSMHJb8I9b6nhe5lY48JfAuC/DgVnmHdv
 FCfZTZI9HDcTa3eR4J8SV2g5LPgyEFmWG/WMpZzh6omliRi1JlQYnwCBHBo8roo6BWPn
 62dQ==
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:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=MLt3ICuw1gqAMLI3gsAj6RhDcv6aofF4yQdjHDW3gZo=;
 b=HvqDV4Eig1+ErZyT1vpziSU/kOM4HVqBbkCZwCGIO//LZq8qJRbgod16cnJoJ9dWCL
 SYK1uWdpeY3BHsIQnNI4v2Pci0CnAn1aQu7lUoRR4tfVZ8EeiMxPqVLivdqr2/6TWFEM
 qbfXAcvndnBlQucmZczxc36SxAj7ILRPFdikn/m3y4FDeMSm5DTGSYoAWMmym2Bl7P99
 UadYQvypYWE5NKcX23VJHRnRChkYJj181niWbAXL8kO4uhYRyweghOfNmnZtTTjdoagX
 zNiRoEZQwKHbUvbYf97SletQGQEeeArF5cK7zF8/w7WApcjuALea9bL53qa/Us9KeCwM
 NSJA==
X-Gm-Message-State: AOAM5320V+YOJtscWs1dL8Y1UiDE84NCBWA7Fe/RcFZw19GIpfeZrJEe
 rrg+c51yrkOsgfVgBqA/V1h8GwTUNbk=
X-Google-Smtp-Source: ABdhPJwxiP4GKmWmMf5DDZcntiGimstwPtyOJpDrqOh1eHNvxv4uDJZ2EKhSBKiNbUV6camKy0l/Bw==
X-Received: by 2002:a1c:f312:: with SMTP id q18mr7164241wmq.12.1625360852532; 
 Sat, 03 Jul 2021 18:07:32 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id f2sm8186310wrq.69.2021.07.03.18.07.30
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 03 Jul 2021 18:07:31 -0700 (PDT)
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
To: Giap Tran <giaptx@HIDDEN>
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
 <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
 <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
 <ac58f9e5-ce06-439f-f4f7-81af0b95fa01@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <b8fff5d6-f19c-09aa-d309-0656f06fde82@HIDDEN>
Date: Sun, 4 Jul 2021 04:07:29 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <ac58f9e5-ce06-439f-f4f7-81af0b95fa01@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 49204
Cc: Stephen Leake <stephen_leake@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 49204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On 30.06.2021 07:44, Giap Tran wrote:
> On 6/29/21 8:49 PM, Dmitry Gutov wrote:
>>>
>>
>> Thanks for the explanations. You previously wrote about Projectile. 
>> Does it enable this workflow?
> 
> Yes, as I see projectile support this feature by default (1). I used it 
> before

Thanks for the link.

projectile-find-file doesn't specify any INITIAL-INPUT when calling 
projectile-completing-read, so Projectile seems exempt from this dilemma 
that I described.

>> I wonder how we can reconcile this requirement with the "find name at 
>> point" behavior: we use whatever string at point that looks similar 
>> enough to a file name (or a part of it). To avoid mistakes, we 
>> currently even call completing-read again if the first finished input 
>> doesn't match any files.
>>
>> If the command allows non-matching input, having a default value that 
>> doesn't necessarily match any file names exactly will be a problem. 
>> Moving it from DEFAULT to INITIAL-INPUT shouldn't make a difference 
>> either.
> 
> Thanks for clarifying, I will try to override 
> project--completing-read-strict func when calling completing-read with 
> REQUIRE-MATCH is nil
> 
> (1) - 
> https://github.com/bbatsov/projectile/blob/6b88b69ecd7e6f2b6bbcae0b68026a486be516a4/projectile.el#L1885 

Better than that, you can set project-read-file-name-function to a 
function with the same signature that uses REQUIRE-MATCH=nil.

But I suppose an override for project--completing-read-strict might 
require less code, if you still want to retain the "completion from 
relative names" part of behavior from project--read-file-cpd-relative.

The flip side is someday you might have to deal with breakage when we 
have to make a change to project--completing-read-strict (which is a 
"private" function) or stop using it.

Let me know which approach you choose in the end, and how it works out.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 30 Jun 2021 04:44:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 30 00:44:46 2021
Received: from localhost ([127.0.0.1]:56230 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyS5d-0000kW-P5
	for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 00:44:45 -0400
Received: from mail-pg1-f193.google.com ([209.85.215.193]:38709)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <giaptx@HIDDEN>) id 1lyS5b-0000kI-Bx
 for 49204 <at> debbugs.gnu.org; Wed, 30 Jun 2021 00:44:44 -0400
Received: by mail-pg1-f193.google.com with SMTP id h4so1010549pgp.5
 for <49204 <at> debbugs.gnu.org>; Tue, 29 Jun 2021 21:44:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mht-vn.20150623.gappssmtp.com; s=20150623;
 h=subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=CYfvZuCMkUjUQCLJiMi/bCWlkwxjNdMX3yoevWGntpk=;
 b=jypI3Xs6sqng43AOyBAcG/a+ETOeYInnTAcOvn2SMAxpbY+BtJbxwVDBe7Xly3Nlvc
 c9kLrM88jRemEaJZ0rKbJraql8WtlyZLXDp4Z4FTvFcPa/hUC3QYeIZlPQg/oLN42TMw
 tRLM0bcr7eOsI5G9QruczRa/bQXt0WCAgtipS+OvVcw8uTCiqTOn1rUH8hF8XPmdw2l+
 0iT+7rs3MXBXF8DrC894nYDvF4Lqs1Y+2r1OcFhCjOMg8bfwdim0jDzjNE5Dwe2ZEp+0
 lUdZkbwHFAPsYH1I1AsNs49srh1kMOqUH57udmrH9ToRdfp+WJdBPzAV15LY2JIytANz
 123g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:cc:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=CYfvZuCMkUjUQCLJiMi/bCWlkwxjNdMX3yoevWGntpk=;
 b=uAKU93lUgUOYc8DJbxyIvZDUz01etgr9LES10/lWkPNzBVWtk0hBOFRr1etiX6hiV2
 ggnOoSjhzQeEnSMZ6LkruOj04iSG6OKBbJiwgjzr8z5bVCVC+nhfjVNo79haFLfhzIMi
 x6gFLQTVa65BCSOr3w1ABkb683Pwhn1VfnkNKQTADiYqa5qJorovNCBbhyhttwSaTnhF
 2xgWQ9FadxFfcQ7NaT9obgjlOF5VvpdMIrQkzFFMaiy5KoRqGimRZjYf838YatPj2dOb
 inH7gcU28bKjJAqR2oDIW2s2WLodZ7lVJGS4rEGeuWlPglh6scyjC6mS2HauTlQg5Jgt
 8kRg==
X-Gm-Message-State: AOAM530z2lcgD0a3zCug5lFNmasqfqdemBBT9M4hy8pH8ywsDotBFuml
 Ve4aYB8HOe7FRKu2l5WCz+Fqrg==
X-Google-Smtp-Source: ABdhPJwO6xjHfWV4vMgRMu+tTlGydFVtQi5JukRFh7Xu1Mez6uIL8L9aJI/fZ0vtES7JMxt3Z79/kg==
X-Received: by 2002:a63:f616:: with SMTP id m22mr9660126pgh.412.1625028277601; 
 Tue, 29 Jun 2021 21:44:37 -0700 (PDT)
Received: from [192.168.1.17] ([27.72.97.105])
 by smtp.gmail.com with ESMTPSA id q14sm1039060pfh.135.2021.06.29.21.44.33
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 29 Jun 2021 21:44:35 -0700 (PDT)
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
To: Dmitry Gutov <dgutov@HIDDEN>
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
 <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
 <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
From: Giap Tran <giaptx@HIDDEN>
Message-ID: <ac58f9e5-ce06-439f-f4f7-81af0b95fa01@HIDDEN>
Date: Wed, 30 Jun 2021 11:44:31 +0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49204
Cc: Stephen Leake <stephen_leake@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 49204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 6/29/21 8:49 PM, Dmitry Gutov wrote:
>>
> 
> Thanks for the explanations. You previously wrote about Projectile. Does 
> it enable this workflow?

Yes, as I see projectile support this feature by default (1). I used it 
before

> I wonder how we can reconcile this requirement with the "find name at 
> point" behavior: we use whatever string at point that looks similar 
> enough to a file name (or a part of it). To avoid mistakes, we currently 
> even call completing-read again if the first finished input doesn't 
> match any files.
> 
> If the command allows non-matching input, having a default value that 
> doesn't necessarily match any file names exactly will be a problem. 
> Moving it from DEFAULT to INITIAL-INPUT shouldn't make a difference either.

Thanks for clarifying, I will try to override 
project--completing-read-strict func when calling completing-read with 
REQUIRE-MATCH is nil

(1) - 
https://github.com/bbatsov/projectile/blob/6b88b69ecd7e6f2b6bbcae0b68026a486be516a4/projectile.el#L1885




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 29 Jun 2021 13:49:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 29 09:49:44 2021
Received: from localhost ([127.0.0.1]:53967 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyE7T-0005ud-Qh
	for submit <at> debbugs.gnu.org; Tue, 29 Jun 2021 09:49:44 -0400
Received: from mail-wr1-f42.google.com ([209.85.221.42]:43755)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1lyE7S-0005uQ-DW
 for 49204 <at> debbugs.gnu.org; Tue, 29 Jun 2021 09:49:42 -0400
Received: by mail-wr1-f42.google.com with SMTP id a13so25900807wrf.10
 for <49204 <at> debbugs.gnu.org>; Tue, 29 Jun 2021 06:49:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=/XVmSsY2jGViNuOHEAdbKmzfUyZ0M3LSV0z9kS9Q5zA=;
 b=mEBDnDF8AIieHeQQ+psluL4fsuOVMOAan0OPu+MoMk9H7NHIsbD4eu3GofzT3CK6Pl
 t8f7BmpS7E1wcFthSVCJ4G7ZkrIxMbwvaGBpzGIzpHzW3L7MPt+0AYHEta6O0l94Uega
 v2Lh1mEZKKq/IbvaI7LBIXl8z4ltUzZlbV5xoylDtWQVC1abA4anXFjxv94HR+HEdrQt
 9If7epfll8/i3nQt2r5b0t8h0krqgAytezr9SddYowkLNUo6wUaeUNrx5KBXWFfnEXtD
 WhClsLNiptGiqkucf+75/TNoCATMBMDv7o2RfJFbByrC0Frel0WThPfuqMj4StTy7a7q
 eZRg==
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:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=/XVmSsY2jGViNuOHEAdbKmzfUyZ0M3LSV0z9kS9Q5zA=;
 b=UNWv+WGQ/FZeY7a18naE9+bcZEYZbXni/Qct8BQeQMLuGKnTpp6Z7AYezmCzvwL4J1
 vhT0OtKvRyhy3iuTx09Vb3vVmwavre/lxluyGQPuxnRR0zI6DVt3DsbNUhjZdLfP0zgz
 jdKvKGjzRmL26J9yRMY+krh97HCIj+mSjdVhhnW0iUWyom4fzWzCatsZpJt8Rq25CkSS
 JHZg3PzUwlQk1lOm1EEKRpUb9Sw/5LIBzykvBMIDcPDx5Hyxx8Ivdhzl5n8ViL64QoMo
 EbHT3Fg/VF5xI79m2SOYGbUHGsw1erm4le5wHibgUHTsuBez+XqkFE5LPW0hT5YGgeJm
 TmAQ==
X-Gm-Message-State: AOAM5337+joHX+KCO35+42VEaHK4ZeDmu+UJx+Ig/0EqmJjm9SYYnDKt
 pZULefY5FDqYyslMl9fO990=
X-Google-Smtp-Source: ABdhPJwDmxYBRGnz3mzvXTbV7MlWmC2qyHP/fqIvJkEsxlWwIn9OC6nms9fkhWXHF8+95M0iBIbFjg==
X-Received: by 2002:a05:6000:12c7:: with SMTP id
 l7mr14687345wrx.177.1624974576456; 
 Tue, 29 Jun 2021 06:49:36 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id b20sm1020224wmj.7.2021.06.29.06.49.34
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 29 Jun 2021 06:49:35 -0700 (PDT)
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
To: =?UTF-8?B?R2nDoXAgVHLhuqdu?= <giaptx@HIDDEN>
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
 <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <bae24d3d-804e-4444-1290-ff9b7afdcb56@HIDDEN>
Date: Tue, 29 Jun 2021 16:49:33 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 49204
Cc: Stephen Leake <stephen_leake@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 49204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Hi!

On 28.06.2021 05:07, Giáp Trần wrote:
>> That said, if you can describe the desired behavior, I could live with a
>> user option. Bonus points for submitting a patch.
> I have some cases as below:
> 1. I'm working on project A, and I believe I can find a file-b in
> project B/src/test. Then I switch project by project-switch-project
> and using project-find-file to lookup him, but I'm not lucky the
> file-b is not existed in project-B/src/test so I want to create this
> file now without exit project-find-file
> 2. I want to use project-find-file to create a new file because I have
> an overview of all subfolder levels in all folders. With find-file I
> don't have this overview
> These are normal case occur everyday on me.

Thanks for the explanations. You previously wrote about Projectile. Does 
it enable this workflow?

I wonder how we can reconcile this requirement with the "find name at 
point" behavior: we use whatever string at point that looks similar 
enough to a file name (or a part of it). To avoid mistakes, we currently 
even call completing-read again if the first finished input doesn't 
match any files.

If the command allows non-matching input, having a default value that 
doesn't necessarily match any file names exactly will be a problem. 
Moving it from DEFAULT to INITIAL-INPUT shouldn't make a difference either.

Ideas welcome, everybody.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 28 Jun 2021 03:06:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 27 23:06:08 2021
Received: from localhost ([127.0.0.1]:50573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lxhb2-0003rU-H2
	for submit <at> debbugs.gnu.org; Sun, 27 Jun 2021 23:06:08 -0400
Received: from mail-pl1-f175.google.com ([209.85.214.175]:38830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <giaptx@HIDDEN>) id 1lxggm-0002QF-KV
 for 49204 <at> debbugs.gnu.org; Sun, 27 Jun 2021 22:07:57 -0400
Received: by mail-pl1-f175.google.com with SMTP id b1so1530690pls.5
 for <49204 <at> debbugs.gnu.org>; Sun, 27 Jun 2021 19:07:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mht-vn.20150623.gappssmtp.com; s=20150623;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=TFs85RaIMwcKft+fGaoNXW+s6uQZr70gpapdaiLhEsk=;
 b=vBVFPtxhvxmzb46g0zj9qi1u/aVJA4UQruxfLkRMrITDeFF4sJpzHyqmGjjRwBgfp2
 BI2Xkqc4pSSS0qsPNbLySp1IFOvXzDu7j+ksFSM73B00ob5Qip8UVIvwAW3O4BTFXFMD
 Cw2l1WI+V4k4QAyLxU2d8/6DG8NG0DcUM6+u75WflI4VdxSX81g0unTO+5ydCUAfpDbg
 EyYIcbyKIVJCuf2D0grd5cauXnjOtgyXlo68CvbKH0FEdYLEp8j0t5vSRtWSRV5/iQJ2
 SdmalItqJ7SUdA3nF3pC9byNBwjIgE5TV7CE7lzDNupnBnRlG7yE8t9WSNvxS3WSPvOV
 TEbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=TFs85RaIMwcKft+fGaoNXW+s6uQZr70gpapdaiLhEsk=;
 b=ctP7qB4R+lHkJQobPT0XL8/+tYJaNmeuEtBtkNEFs055wXJeHNw7u86f1Sztc/FEam
 /YvjnKWWilGmhZnKC1T7eChiYJFcQmSacFE5S5HBi131LuhzYQj93bTR0+7wOJfk2zLF
 sTK3TEyug5YxuIzNXlac5dO+iwwhCEHbBztKd0KQmkeeS6Lb33zJz5h0Z5AwlsEC1AJl
 K1UpaSItRN0hqPzRvlEubrR3mCgMV2MDrtXNGJRia7Hp0xqXxADl0Z3s8kqvNKTCa37A
 30kSkHJTGeD2AJK7lHjV1DM1tRs5LizjP75SFir7StNa2FZSZggX/6T7mAZSjN0kyVFk
 QsQA==
X-Gm-Message-State: AOAM531Kq2nJ3X/PEoBxNiPCsivZlbPXNHBUYIrHk1BcpwKDFvw3grUC
 pABB1dB/a8rebW+VR6BmWrm3nN62xPsMJrq2Amfk0A==
X-Google-Smtp-Source: ABdhPJwTFiuB1VygGKZf2Ei68rvOvy9pXYNvPT39BAIxp7AgRj26Ro/w4k5OdEKd+Bg8NGGhcEhgu6JCGOn9ajWt8Io=
X-Received: by 2002:a17:902:694b:b029:118:b8b1:1e23 with SMTP id
 k11-20020a170902694bb0290118b8b11e23mr20375160plt.31.1624846070764; Sun, 27
 Jun 2021 19:07:50 -0700 (PDT)
MIME-Version: 1.0
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
 <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
In-Reply-To: <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
From: =?UTF-8?B?R2nDoXAgVHLhuqdu?= <giaptx@HIDDEN>
Date: Mon, 28 Jun 2021 09:07:39 +0700
Message-ID: <CADEhE7DbcdhEBDPJSAD-aU1HPuMKdbN3uVRETLb-Cknz5mtSYg@HIDDEN>
Subject: Re: bug#49204: 28.0.50;
 How to create new file in project by project-find-file
To: Dmitry Gutov <dgutov@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49204
X-Mailman-Approved-At: Sun, 27 Jun 2021 23:06:03 -0400
Cc: 49204 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Dmitry Gutov,

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

I have some cases as below:
1. I'm working on project A, and I believe I can find a file-b in
project B/src/test. Then I switch project by project-switch-project
and using project-find-file to lookup him, but I'm not lucky the
file-b is not existed in project-B/src/test so I want to create this
file now without exit project-find-file
2. I want to use project-find-file to create a new file because I have
an overview of all subfolder levels in all folders. With find-file I
don't have this overview
These are normal case occur everyday on me.

Thanks,

On Sun, Jun 27, 2021 at 7:07 AM Dmitry Gutov <dgutov@HIDDEN> wrote:
>
> Hi!
>
> On 24.06.2021 10:17, Gi=C3=A1p Tr=E1=BA=A7n 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 i=
s
> > 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at 49204 <at> debbugs.gnu.org:


Received: (at 49204) by debbugs.gnu.org; 27 Jun 2021 00:08:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 26 20:08:08 2021
Received: from localhost ([127.0.0.1]:48782 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lxILH-0000Zz-S3
	for submit <at> debbugs.gnu.org; Sat, 26 Jun 2021 20:08:08 -0400
Received: from mail-ej1-f50.google.com ([209.85.218.50]:45709)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1lxILE-0000ZU-OJ
 for 49204 <at> debbugs.gnu.org; Sat, 26 Jun 2021 20:08:07 -0400
Received: by mail-ej1-f50.google.com with SMTP id hc16so21842362ejc.12
 for <49204 <at> 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)
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)
Subject: Re: bug#49204: 28.0.50; How to create new file in project by
 project-find-file
To: =?UTF-8?B?R2nDoXAgVHLhuqdu?= <giaptx@HIDDEN>, 49204 <at> debbugs.gnu.org
References: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <6f475812-e088-f0e0-e01f-11cd643ff3e6@HIDDEN>
Date: Sun, 27 Jun 2021 03:07:56 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 49204
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jun 2021 10:33:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 24 06:33:30 2021
Received: from localhost ([127.0.0.1]:42509 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lwMfq-0003Ha-Ba
	for submit <at> debbugs.gnu.org; Thu, 24 Jun 2021 06:33:30 -0400
Received: from lists.gnu.org ([209.51.188.17]:52926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <giaptx@HIDDEN>) id 1lwJcs-0006fY-Bq
 for submit <at> debbugs.gnu.org; Thu, 24 Jun 2021 03:18:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54620)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <giaptx@HIDDEN>) id 1lwJcs-0003l3-1j
 for bug-gnu-emacs@HIDDEN; Thu, 24 Jun 2021 03:18:14 -0400
Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:37496)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <giaptx@HIDDEN>) id 1lwJcn-0007nx-TD
 for bug-gnu-emacs@HIDDEN; Thu, 24 Jun 2021 03:18:13 -0400
Received: by mail-pl1-x632.google.com with SMTP id y21so2481548plb.4
 for <bug-gnu-emacs@HIDDEN>; Thu, 24 Jun 2021 00:18:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mht-vn.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=Wz3R/R53unrJ3h/taaiCHZik6cLmtYM1NKHbvANlNhg=;
 b=E21vOKHxNspI3sUZbDmfnl6WgOcu1ziTf3ASHGE3P90EaA80IHtM0T63JctIimtPv5
 r5FGxcUCynYz/8RqCUyXLUlWSRtxTb4p9cCBih9pPrBC6Bf1VP1ACqoOHVtHNXlQvCA7
 S/qkNcn68kAuGcdor0z93MrnNhIpXB1kynjKaMk7GpOz5T0MrDiDZcc/U0soE/y+qGhK
 GZ1Euwu8hFIF3rjiG3AtToNSYNXHq28HkNinkdTJdIDoxgHS1B8vmASW1KH9q3PT6cFI
 zYC6ipdO7jNGd2d7nX782IOKRC0ivx/k+xtvK2KlEiC1kCvmfIFaHrK3lH8S5xOUfcjR
 Koag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=Wz3R/R53unrJ3h/taaiCHZik6cLmtYM1NKHbvANlNhg=;
 b=sMvYofMk2Yb6lw8YxLJaF7e8sQ91Uq6dw7t+XVGKJHqUgDzRVhBuIPXyxrKw1rVQ69
 V9Y1w/nImX48Vpi2RahnSTXWJZ04XS8WC95ix5gns+gBafoCOSfoMgOMy1iZ/TOdM28G
 wnb4CL7KeYq4OmeA8mDlxgqPqLsB2KW8b5TTJoxCDPu4ZNYcwzEZMhTbu/lfaStS4kfG
 gmC9wGHNnRxwieKv5r6dbV4fBg+zveOQMMu94++uBwzna3Sufq5+CWWJWM75Uz/MnIYE
 yioXCv1+re8Sx8V8qPxUSd/sK26KViHRPXjd2lcHqeaNtZgNAlSWqz/7sAQ1izxhHnJO
 NfJw==
X-Gm-Message-State: AOAM533v/270OOIxvCxoet13U2us2Jo9jPzcHNT4KZm6OHTmuGiul4OP
 jJanHseZV/zz038oVhqrRkFpeadkG7VYclLYFCDF0pl7FoSKfEvSvI8=
X-Google-Smtp-Source: ABdhPJz6CyvYrQ2UyZ3HZ77E1fWKr2a7ouPdGDXLuS5nVjuzvchsxpARvMHOdkAAdikzZU2KLC2/iO3YihHaKPDnrIY=
X-Received: by 2002:a17:90a:f293:: with SMTP id
 fs19mr13367093pjb.149.1624519086740; 
 Thu, 24 Jun 2021 00:18:06 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?B?R2nDoXAgVHLhuqdu?= <giaptx@HIDDEN>
Date: Thu, 24 Jun 2021 14:17:55 +0700
Message-ID: <CADEhE7DhgJ_Cm=unt8Rr71+SJY1=eANefcJseiygCpw9gztuMA@HIDDEN>
Subject: 28.0.50; How to create new file in project by project-find-file
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=2607:f8b0:4864:20::632;
 envelope-from=giaptx@HIDDEN; helo=mail-pl1-x632.google.com
X-Spam_score_int: 8
X-Spam_score: 0.8
X-Spam_bar: /
X-Spam_report: (0.8 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 24 Jun 2021 06:33:28 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Developers,

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.

Thanks.




Acknowledgement sent to Giáp Trần <giaptx@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#49204; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 19 Jul 2021 15:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.