From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37189: 25.4.1: vc-hg-ignore implementation is missing Date: Sat, 01 Feb 2020 10:27:08 +0200 Message-ID: <838slmk90j.fsf@gnu.org> References: <1ba53ae2-42a4-3ab3-d4f2-2ceae565d198@gmx.de> <52917e6f-2f00-25cf-4353-dfb40287d0ea@gmx.de> <83pnkrdpb3.fsf@gnu.org> <679942e8-abe9-b0fc-720d-75a54d8d0b5a@gmx.de> <95da41e8-7a55-a15c-cfa7-d70366f9ee6b@gmx.de> <412195c1-e196-12af-933b-0312f5075847@yandex.ru> <57825d73-27a4-d5f5-8198-a172796a558a@gmx.de> <1ebc6077-9175-65ba-4996-282bb2c8eca5@yandex.ru> <6145d6f6-37a8-7166-731b-57669086b145@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50978"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 37189@debbugs.gnu.org, dgutov@yandex.ru To: Wolfgang Scherer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 01 09:28:11 2020 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 1ixo8R-000D8K-4Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Feb 2020 09:28:11 +0100 Original-Received: from localhost ([::1]:36808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixo8P-0004ml-PF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Feb 2020 03:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46623) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixo8J-0004mf-Ew for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2020 03:28:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixo8I-0007Wz-Cj for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2020 03:28:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixo8I-0007Wu-9O for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2020 03:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixo8I-0005Ct-6K for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2020 03:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Feb 2020 08:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37189 X-GNU-PR-Package: emacs Original-Received: via spool by 37189-submit@debbugs.gnu.org id=B37189.158054565419982 (code B ref 37189); Sat, 01 Feb 2020 08:28:02 +0000 Original-Received: (at 37189) by debbugs.gnu.org; 1 Feb 2020 08:27:34 +0000 Original-Received: from localhost ([127.0.0.1]:38337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixo7p-0005CD-V9 for submit@debbugs.gnu.org; Sat, 01 Feb 2020 03:27:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixo7o-0005C2-FR for 37189@debbugs.gnu.org; Sat, 01 Feb 2020 03:27:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixo7i-0006J2-O1; Sat, 01 Feb 2020 03:27:26 -0500 Original-Received: from [176.228.60.248] (port=4206 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixo7i-0008AW-25; Sat, 01 Feb 2020 03:27:26 -0500 In-reply-to: <6145d6f6-37a8-7166-731b-57669086b145@gmx.de> (message from Wolfgang Scherer on Sat, 1 Feb 2020 02:20:08 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:175550 Archived-At: > From: Wolfgang Scherer > Date: Sat, 1 Feb 2020 02:20:08 +0100 > > I don't think, that the problem with ignore specs can be solved in > this (adhoc) manner. It should (finally) be properly designed. > > There is a fundamental difference between per-directory ignore specs > and per-tree ignore specs. Let me try to outline, where I see the > problem with the current implementation: > > 1. Per-tree VC support is (unecessarily) mapped onto per-directory >    semantics. > 2. `vc-ignore` is a quick and dirty afterthought, which does not >    properly model per-tree use cases. > 3. The rationale for my implementation of `vc-hg-ignore` covers >    several use cases, which should be considered for a proper design. Could you please elaborate on these 3 points? I've read the rest of your message at least twice, and I still don't think I understand your POV on these 3 issues well enough to make up my mind about them. I appreciate the overview of the history of these features -- it might very well help us understand your POV -- but the POV itself is not clearly presented, AFAICT, so I at least couldn't find a path from the history of these features to the problems you allude to. And the history alone cannot explain the problems in the current design, because there's nothing wrong in evolving a design per se. IOW, I'm OK with discussing design issues of ignoring files in VC, but please let's begin by presenting clear and detailed descriptions of the problems in the current design, and why you think the current design cannot easily support valid use cases with modern VCSes. Thanks.