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#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project Date: Tue, 5 Oct 2021 19:56:28 +0300 Message-ID: <6f237243-8cd6-a22c-a5f5-d241d76ddd53@yandex.ru> References: <5f584d83-ef45-9912-bfbc-d2f00b24b9fd@yandex.ru> <87pnahjgdr.fsf@linkov.net> <87ftb92u8q.fsf@thornhill.no> <0ab90cf2-eab2-6fea-6698-4164d7753cd7@yandex.ru> <87d06ck2b0.fsf@thornhill.no> <2fbe5d5d-03a1-212b-9dd7-4723e168ad06@yandex.ru> <5EpzudgjedeKADsX4_Tq-2WtNm3XKXmZjnEI7Y1lmw-Pcn_KrzKPD1o31Ele0JOIrZ1ITDdeQrOsJTHfGVPJlzyLhmqjxP3rmVVzou8KEBo=@thornhill.no> <2a70c748-e250-2f96-5d74-712b6d71e8be@yandex.ru> <871riitzch.fsf@gnus.org> <11e8e147-092d-d840-4d55-005654ff603c@gmail.com> <290a72b8-1e00-2e61-5665-a9bc2ca4289b@yandex.ru> <54c4b3c5-6142-2d2e-b531-a5e3d5a25e3a@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9398"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: Zhu Zihao , Theodor Thornhill , 41572@debbugs.gnu.org, Juri Linkov To: Nikolay Kudryavtsev , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 05 20:04:20 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 1mXonb-0002DZ-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 20:04:19 +0200 Original-Received: from localhost ([::1]:45310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXona-0001NT-Nw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 14:04:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXnkX-0003Ep-M0 for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 12:57:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXnkU-00043n-EO for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 12:57:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXnkU-0002G6-E5 for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 12:57: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: Tue, 05 Oct 2021 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41572-submit@debbugs.gnu.org id=B41572.16334530028647 (code B ref 41572); Tue, 05 Oct 2021 16:57:02 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 5 Oct 2021 16:56:42 +0000 Original-Received: from localhost ([127.0.0.1]:41764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXnk9-0002FO-QH for submit@debbugs.gnu.org; Tue, 05 Oct 2021 12:56:41 -0400 Original-Received: from mail-lf1-f42.google.com ([209.85.167.42]:39760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXnk8-0002FA-DT for 41572@debbugs.gnu.org; Tue, 05 Oct 2021 12:56:40 -0400 Original-Received: by mail-lf1-f42.google.com with SMTP id n8so32267838lfk.6 for <41572@debbugs.gnu.org>; Tue, 05 Oct 2021 09:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hOUZwFJWCX2XXnJYggBVtWp8/INa4AwYK/Ku1rB28mk=; b=kdP0jCaXHQJZQDx7aODDVo7Z5Snk+O5rSxT9Ew5SHxvDImmyA/reXizBwx4iUzSRbu y5u9ZXLicAaTbkDnB0tJFNuBSv0gDuVrgCmr5bSuOQjfxV0NHRRDXVIjZzm5Fm//zzBm HbWp869gzQ2RJz1c2ucKTGo+WUiYPmyttN3znaOCYIXqMLXjOMNZySEzVSTbhwcBx+xO 4yf4ZMeJ+NVTVwUsNxYayHyRu0OgIlT0yYQOx4VWlt6e4HeynOtuNBdwsHN9UGCZRV6u tSYa9JrLgIeZsBrVOGpOYRZSDrp9iwpEL8ht3mWGRn6K9v0LcDwVpDXjrTVx3hKlmbmY 6DDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=hOUZwFJWCX2XXnJYggBVtWp8/INa4AwYK/Ku1rB28mk=; b=AhHL89QYDqDQtOQBIl+nXCsoveghMXdqTkhC3z9PRqyjM0cjI19hlRceb3JqqQChBe N1iVAAeMuGbO0orQiqrcEzTYwu4SZlpc8yHdysL+3jafXJ2R4jhU/wqbkhkknrRt7nTK PKd5jDVJ6yI3e+6WtqSPaL+hdAIc+SHOSikTjkCP24r/6APaZ5hx3khQGtmoWqHGFIoJ oGmn06YkG/UiBgoBlRJzqCC52ARoxzezQNfpIJnq3xG2zsDvS8b3nin4mKvVkZabo4mb ZC87IDrH9FY0YGpAaT53LL0jG7WCl1dpimCuDhmkH+RRhhhHEWT4T3m52MnNmCrpM66U mLOA== X-Gm-Message-State: AOAM530+kgx9dpF8mt76gnKDACET8GvDsMUVwhKunqvdWxS4hM+CMfY0 guDo4Qj/eMeBy0SD8GRdpEA= X-Google-Smtp-Source: ABdhPJz9uu35aqm0xKubAHEW6jUqBQhOiKn9KgfeTT1yyCmdEMdd5zNjpDMC6DfFHYPuSdC3mefHsQ== X-Received: by 2002:a05:651c:120f:: with SMTP id i15mr22677314lja.59.1633452989220; Tue, 05 Oct 2021 09:56:29 -0700 (PDT) Original-Received: from [192.168.1.113] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id n9sm2008984lfu.88.2021.10.05.09.56.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Oct 2021 09:56:28 -0700 (PDT) In-Reply-To: <54c4b3c5-6142-2d2e-b531-a5e3d5a25e3a@gmail.com> 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:216476 Archived-At: On 05.10.2021 18:21, Nikolay Kudryavtsev wrote: > It's mostly to somewhat empower people to add new backends. It's not too difficult to do even now. > But being to chose backend order is helpful too, since lets say I'm a > major mode developer. I add my project type to the end of the list. Then > someone says "hey, my VC structure is non-standard so the project gets > detected wrongly" and I can just point the user to reorder his list. As long as major mode developers don't do that, it's probably fine. But you can provide a backend of your own > I don't think we should worry about the user experience getting worse > too much, since anyone touching project-find-functions should know what > they're doing. I wouldn't be so sure. Especially if you tell your users to do that. But let's talk about "your project type". Is it an existing backend? What kind of projects are we talking about? Does it optimize the file listing performance?