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: Thu, 13 Feb 2020 17:21:50 +0200 Message-ID: <83blq2qzqp.fsf@gnu.org> References: <1ba53ae2-42a4-3ab3-d4f2-2ceae565d198@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> <838slmk90j.fsf@gnu.org> <83h806gp2w.fsf@gnu.org> <8336bmg1o9.fsf@gnu.org> <2354821b-5c1e-f9e3-3a64-4ff978ded33b@gmx.de> <83sgjkdev5.fsf@gnu.org> <3fb73dbc-bf31-233b-4afc-2147c4ffd5b7@gmx.de> <5622487d-a21f-49cf-5420-21f87415af4f@gmx.de> <83wo8ubfbo.fsf@gnu.org> <83zhdpqbas.fsf@gnu.org> <2c8419ae-723d-c7ae-a60e-59d1b1cbc2c1@gmx.de> <83o8u3r6wg.fsf@gnu.org> <6f3ba261-e1f9-cf19-cc22-ec8c24cf3298@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="112463"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 37189@debbugs.gnu.org To: dgutov@yandex.ru Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 13 16:22:21 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 1j2GJp-000T52-20 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Feb 2020 16:22:21 +0100 Original-Received: from localhost ([::1]:54628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2GJo-0006qz-4T for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Feb 2020 10:22:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43723) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2GJX-0006lS-Cy for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 10:22:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2GJW-0005V7-DB for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 10:22:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2GJW-0005UY-9Y for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 10:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2GJW-00080B-5t for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 10:22: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: Thu, 13 Feb 2020 15:22: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.158160732030752 (code B ref 37189); Thu, 13 Feb 2020 15:22:02 +0000 Original-Received: (at 37189) by debbugs.gnu.org; 13 Feb 2020 15:22:00 +0000 Original-Received: from localhost ([127.0.0.1]:60353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2GJU-0007zw-FU for submit@debbugs.gnu.org; Thu, 13 Feb 2020 10:22:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2GJT-0007zj-40 for 37189@debbugs.gnu.org; Thu, 13 Feb 2020 10:21:59 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2GJN-0005FF-VR; Thu, 13 Feb 2020 10:21:54 -0500 Original-Received: from [176.228.60.248] (port=1545 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2GJJ-0002fp-Uq; Thu, 13 Feb 2020 10:21:50 -0500 In-reply-to: (message from Wolfgang Scherer on Thu, 13 Feb 2020 02:18:00 +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:175997 Archived-At: I'm replying to a couple of points here FTR, since the future of this discussion (and of handling these issues) is not clear to me now. > From: Wolfgang Scherer > Cc: dgutov@yandex.ru, 37189@debbugs.gnu.org > Date: Thu, 13 Feb 2020 02:18:00 +0100 > > you must be using an Emacs < 27, if you get basenames in root/.gitignore, because that behavior changed with #37217: No, I'm using the latest emacs-27 branch. However, I see that "basename" was inaccurate: it is only correct when ignoring a file in the root directory of the repository. A more accurate description would be "a file name relative to the repository's root". Which is still not an absolute file name, as was claimed by Wolfgang. > 1. Invoke vc-ignore `C-x v G` > > 2. Enter the correct regular expression for Mercurial (it is a >    wildcard for the VC according to your reasoning, is it not?): > >    ^/some[/]sub > > 3. Check your .hgignore file and verify, that it only contains: > >    ]sub I cannot reproduce this: I get the expected ^/some[/]sub there. > Should you get your facts straight, we can talk further. Otherwise, I > have invested enough.time now. Dmitry, what happens from here is up to you. You can decide to accept Wolfgang's changes as-is, or you can decide you want to continue discussing this with him (in which case I will stay away of the discussions) and eventually arrive at some alternative changeset. Or you can make any other decision about this. I did arrive at a few conclusions after studying the issues raised in the discussions, so if you want, I can post those conclusions FTR, if for nothing else. Sorry if I caused this discussion to go awry.