From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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: Fri, 14 Oct 2022 21:34:00 +0300 Message-ID: <83wn926yqv.fsf@gnu.org> References: <2011444375.1250404.1665768998367.ref@mail.yahoo.com> <2011444375.1250404.1665768998367@mail.yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13985"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58525@debbugs.gnu.org To: Mark Harig Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 14 20:36:12 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 1ojPXW-0003TZ-Uo for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 20:36:11 +0200 Original-Received: from localhost ([::1]:55586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojPXV-0000qf-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 14:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojPWR-0000lZ-DE for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 14:35:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojPWR-00084C-4b for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 14:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojPWQ-0003uS-V1 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2022 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58525 X-GNU-PR-Package: emacs Original-Received: via spool by 58525-submit@debbugs.gnu.org id=B58525.166577246114941 (code B ref 58525); Fri, 14 Oct 2022 18:35:02 +0000 Original-Received: (at 58525) by debbugs.gnu.org; 14 Oct 2022 18:34:21 +0000 Original-Received: from localhost ([127.0.0.1]:38613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojPVk-0003sv-LQ for submit@debbugs.gnu.org; Fri, 14 Oct 2022 14:34:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojPVj-0003sg-9g for 58525@debbugs.gnu.org; Fri, 14 Oct 2022 14:34:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojPVd-0007vh-TZ; Fri, 14 Oct 2022 14:34:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vonOmwCXuOnfepxdDGZt2bnYz089mViNNI/jjfXov5I=; b=oMicApSgDaRr JozWIdEJQOmiXTzvWvuJ/eaIQw4SN163aoFMuRf6OVXnPPax3btBxmjFoECK/srQ/yE507kPS6a5h n7uYhK3zRnESDSyoWtwaSmYBB49PfTcpDWqvx92F3qAl5CeIIVyl8f/LCUabigUL3cSGq9Mr96KTI m3+caOd6i6LQ5THiFLqbmJMLyuICvNRI3OTyaCnNMYOJkTJJjWY9hmh6y+5MKOlssfjCfzFwySnI4 KXKeCvgf3VFiV+BkyGPeT1MgdfOqb0hL5Q6iuZ6tdNrbR6+cyLA55YPFNVzunXNoZIAL670FqXBD6 P/s2FmqosKQnjh+rZMlodg==; Original-Received: from [87.69.77.57] (port=1649 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojPVd-0007Kl-90; Fri, 14 Oct 2022 14:34:13 -0400 In-Reply-To: <2011444375.1250404.1665768998367@mail.yahoo.com> (bug-gnu-emacs@gnu.org) 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:245475 Archived-At: > Date: Fri, 14 Oct 2022 17:36:38 +0000 (UTC) > From: Mark Harig via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > When attempting to retrieve a VC status for a directory or file > when the VC backend is CVS, the `vc-dir' command fails with an > error message. I'm not sure I understand the reason for this elaborate setup. It sounds like CVSROOT is in ~/tmp1, but you expect Emacs to understand that ~/tmp3/project1, which is outside of the ~/tmp1 tree, is part of the CVS repository in ~/tmp1? Why is the correct expectation? FWIW, "C-x v d" in a CVS repository (i.e. a directory which has a 'CVS' subdirectory) does not signal an error, and displays the correct VC status of the files. > So, the code for `vc-dir' (or, key sequence C-x v d) contains an > error in which it cannot correctly identify the VC backend if it > is not provided, when the VC backend is CVS. Please tell how Emacs was supposed to realize that ~/tmp3/project1 directory is a CVS repository. Thanks.