From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Harig via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58525: 28.1: `vc-dir' (key sequence: C-x v d) fails when used with a CVS repository Date: Tue, 18 Oct 2022 01:06:34 +0000 (UTC) Message-ID: <2124138216.2052980.1666055194810@mail.yahoo.com> References: <2011444375.1250404.1665768998367.ref@mail.yahoo.com> <2011444375.1250404.1665768998367@mail.yahoo.com> <83wn926yqv.fsf@gnu.org> <1786309111.1655909.1665958001583@mail.yahoo.com> <837d0z3rwh.fsf@gnu.org> <9490cc5d-5d0f-4ef6-d00b-0629853aaa22@yandex.ru> <83pmeq1k9e.fsf@gnu.org> <259751090.1922936.1666028587272@mail.yahoo.com> Reply-To: Mark Harig Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21229"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "58525@debbugs.gnu.org" <58525@debbugs.gnu.org> To: "dgutov@yandex.ru" , "eliz@gnu.org" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 18 03:08:52 2022 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 1okb6A-0005K3-TG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 03:08:51 +0200 Original-Received: from localhost ([::1]:45246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okb68-00047f-Uj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 21:08:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okb4U-0003UN-EC for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 21:07:12 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okb4Q-00038s-Oh for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 21:07:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okb4Q-0002sO-Fz for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 21:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Harig Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2022 01:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58525 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 58525-submit@debbugs.gnu.org id=B58525.166605520711034 (code B ref 58525); Tue, 18 Oct 2022 01:07:02 +0000 Original-Received: (at 58525) by debbugs.gnu.org; 18 Oct 2022 01:06:47 +0000 Original-Received: from localhost ([127.0.0.1]:50545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okb4A-0002rt-Mv for submit@debbugs.gnu.org; Mon, 17 Oct 2022 21:06:47 -0400 Original-Received: from sonic312-22.consmr.mail.bf2.yahoo.com ([74.6.128.84]:41360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okb49-0002rc-4a for 58525@debbugs.gnu.org; Mon, 17 Oct 2022 21:06:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aim.com; s=a2048; t=1666055199; bh=k4VpJjzZ9Bgpoj2kWKX6xZbF2oIyC8dD6m8ktUWF/Ig=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=oC6BS0mb0+vZRRgerDwO/h+Bep8ggTv8aGpzFlwlnhLm24ir68YxdxH+4BVl7ensoVzRiNybiMBNRUV6Koq7jrf1JAkqd99hiZxxNMiIgawdtNJo3kDOriG+5QZgGdXykNiiSmgzHbtu6f2osH/Uc1dKjLefAvmXmVhwMU3yO4U5KL1hR0Xo94a40bS1TayIwkv7kybUEI7QfUoFAkShL/OkgcL0yNLvXKYZkEV5taYxhyYNB4xZDsnGV8Z951yoaMrSP2RM7vMOqrDgJXJbhbi9uZcPu0WVqpJ7N6hejxZP2KlakSlSYQibxwWS0eUW4M9/Xlfe1wRokyrUIiQVhQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666055199; bh=BGKBMxOB1iN58dZZS/OB2hqMSb9ka+Rn63hagoIIB5K=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Elsg1hAA3q38eeDgq6gEBTAJzczsin26FfKSCVHxsPU2wk0Y1HresMgfM1l6Ncpw/59lEDYMUaS7EkuaUgw+bBc+MfwrMMy8YWwPm5w/lnFMhTVEwNwEWjSIw1H+9eukqBtRLGSaLPl7VDsoFgMPwRYZAAKfHSSaoDlZyBdwk8X/k3wNVEs83pYPocV+Epa7XXa7o4VbrTMnaON2Udjl/TaxVaF25X4QRXZHWOLMdQjUFBVT3dkfYX9Nv/huQ+YzN1CjL7Za5YG/F5pv+Etrs2QbnrYdkcrt6tWljyIyyqYE+ERNdFzNvenEnIT+VKyTKn1b6vT15ns9zQ/OsQrYVw== X-YMail-OSG: xhXKOY0VM1nJVAjkoIS2j9lfGkEp_k1n94b8LbWAk_0thEojIfWxdUQvYuDJVbP vNmmviU4XVxff8flnHCa_5CUG8tfXaC8lfpo0FkzdmsAZlZtqSV03w_u1rHh2vyCW42op_47dtEI e2qa7gJfmv833trg_.Gd4aAcMrgP0F3W3ttX6Stahd97Lr0VNaqD2S6YUz4KSK9MaetyOsi6787a xhT5PF0mOeITe9jq1hSFe.xwxJIYP8nsA2bfn2rpyqwoCiZpJVLpyLqUS.ckNecDuB5M8xg_1OV7 H5wbM4v4qFogz69ja4hJ6eU953YPRxNcNLb6DY_4gJ8_NcBDjOvSs2YxmaixxVKyeLvg1vRBVzrU M5XWrEGAOnlnSPHK5_Vdrd5KMUbpwLZOP4F6U1exuWabbSP.qmdCwkEQqE4DgHPV5ZOPmFyiucgi OUXSsplOYE_YYdU1tiwcCWpg_hTLacL5bIZxVx8iojr7oCH31Oyc81d7y8f2_XNYKq_eI6jawBYZ T9goFOgXY_rYv1pkTu1urnrFa1AkKjT7uQFUe.GgxuuXXW24_rMMMsvdu7Tv84Mx9bJ3s0hqCZ80 9JxrMK1wRD5A31vlgy0PDEjUtdkMj9hBN4YccdklRF2Umm2GEROXsvGr10NYJbUrlCBGOw2PTSmY rjEJk_VzHUkSSnDkroJox3Q_69dozhQMLKJqrmejEx1n4Ye2ITXOWPP_4jTboVjk0jpKdGXRdL7S 34ZZ2b55rKpq102P0KtxwzDrPoFZaroP2hsqVMBC7m5oZIrlSCTS0oxdR1VrNBXVO0dhIuqTM3GR izVBzxUF7HIxdg8_xz5PMWPCcUlCDzBsnpXREzvr6O X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Tue, 18 Oct 2022 01:06:39 +0000 In-Reply-To: X-Mailer: WebService/1.1.20740 aolwebmail 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" X-ACL-Warn: , Mark Harig Xref: news.gmane.io gmane.emacs.bugs:245767 Archived-At: > It tries to use the most specific one, by using the sorting logic at the > end of vc-responsible-backend. That was added in > https://debbugs.gnu.org/42966, which should have made it into Emacs 28.1. > It appears that `vc-responsible-backend' DOES include the sorting code that you have described (and which is listed as a patch in 42966). In fact, that sorting code is included in the excerpt from that function that I included in my previous message. > I'm not sure why your CVS value in that list is t and not a string: that > should have been fixed in Emacs 28.1 as well, in revision > bc636515884530f0cab6f. > > There was a further fix, though (regarding expanded vs abbreviated file > names) which is only available on master (bug#57777). But I'm not sure > if that comes into play here. > > Anyway, are you really using Emacs 28.1? If not, try that... The command `emacs-version' reports that it is 28.1. Also, /usr/share/emacs/28.1/lisp/vc-dir.el includes the following that all appear to indicate that the file is from at least 28.1, or later: ;; Copyright (C) 2007-2022 Free Software Foundation, Inc. (defface vc-dir-header '((t :inherit font-lock-type-face)) "Face for headers in VC-dir buffers." :group 'vc :version "28.1") (defface vc-dir-header-value '((t :inherit font-lock-variable-name-face)) "Face for header values in VC-dir buffers." :group 'vc :version "28.1") (defface vc-dir-directory '((t :inherit font-lock-comment-delimiter-face)) "Face for directories in VC-dir buffers." :group 'vc :version "28.1") > if yes: could > you try building Emacs from master? And seeing whether it fixes > your problem. The problem is fixed for me by removing or renaming my ~/.git/ directory. To reproduce the problem, create a ~/.git/ directory and then follow the recipe in the original problem report. Those steps take less than 10 minutes to reproduce the problem, using Emacs 28.1, bash, and cvs. Please let me know if those steps do not reproduce the problem with Emacs 28.1. (End.)