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 15:39:53 +0000 (UTC) Message-ID: <801565628.2246427.1666107593116@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> <2124138216.2052980.1666055194810@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="19947"; 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 17:45:07 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 1okomA-0004wV-LG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 17:45:07 +0200 Original-Received: from localhost ([::1]:58782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okom9-00025S-3E for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 11:45:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okoiE-0007yq-PS for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 11:41:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okoiE-0001yq-DU for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 11:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okoiD-0008Js-Nv for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 11:41:01 -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 15:41:01 +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.166610760431877 (code B ref 58525); Tue, 18 Oct 2022 15:41:01 +0000 Original-Received: (at 58525) by debbugs.gnu.org; 18 Oct 2022 15:40:04 +0000 Original-Received: from localhost ([127.0.0.1]:53838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okohH-0008I5-VI for submit@debbugs.gnu.org; Tue, 18 Oct 2022 11:40:04 -0400 Original-Received: from sonic321-26.consmr.mail.bf2.yahoo.com ([74.6.133.81]:35333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okohE-0008HS-Uh for 58525@debbugs.gnu.org; Tue, 18 Oct 2022 11:40:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aim.com; s=a2048; t=1666107594; bh=iAA+aJ+WO8hUI5RQVNBMVl982jfR3ONH+lCFkYNf3IA=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=SQfE+p7hgAsik1urTqJyGpuL7l5wZmhCu4ekwXsb3FogvvtIzzAhoIahDUEk7++yb3xQLPcAlZxZN4YjW7OSgJ780sEFl9S8d0PU1Zj03QOwHe0aSmj0XCddcHeXw/KN+udZEUME4DTJ4E9B/z+AcfHCAiUwxKhRlomHgdwMbHkOPQjlmqsLj1FtKuen4hmJNUv65E9kQCqKxZKUN+ErFExO0hngUKusLrFhs1U5OXKIZ0nzN4fWOTN0/a8wJ1vqiHmJ6ZZguAAlU05HxW+HMJe1pN8AA8eF2GzPLUv2EGpy2+yIEbo2a8Iqx1tfBAL0fdsjTzRrAkIzzlSBZ16zDw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666107594; bh=8RjN+8yYISWr9TgrPdue5/51tSVf041BKyQxvB1W2Js=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=qWESu19o/dTH7hwowBHCGPbmKkbOqgMbqwxYVsiQrGnnKUAPVBnbZA5NcrZA7NJf3u4ajP0eQbsoWuvkCMqa9gnucBs9J9AZieUDQ9+mVESTcBmLRabKFAmFCAaNBKHWDOptFLI3i50I+G+gPxC2vTrERJsrSgEA/2sfJyWi+SOUMXcv+csUNwCyUxM6R6dQjAbSAx2NePMg+4Edk7ApogVG8uJ3q/F10IbeTN5IqmnSvo2LGYF+s1SJmGWkGsitujM8GVtaH3qFrbHmQB+nvuGKd3TSVcPzcLSRt66LHqFRzpc0ad+cDo+OFhqA3z3/Va8nojuUUNt4NalqjlqBRg== X-YMail-OSG: oYVdK64VM1mx2EuTLcxpD7MceHHjyvvcW7VSboFMbsZ.Hp_7fquQoi9z3BLle8m 6Ehj4x4BGqZPA9K0mssKz3bbJKG8eOO6gK76e17m7AaoAwPOxziJBM3QExo4HK3ebkzhre0V4AJ5 8BCSVaWNVN6fl2T_kEsTwllqkJ.dLfwkAsjP_Av1yOssbUE6UQqcpJtT8twtK4py_Z4lxv7vsgvo XJet4hND.bBde0VwO10Napv23kPb2URsV0Vdj0b11piC7._nkWMaCIvjvWEPALbVK7YAsfLSaulb yJAWDd5HpdTi.ntrLHTaMsW0qJs..fAwDLCTPll.2ANyjHUp59pEf6cEjip36O.dkEmZDWuxclj5 IgOhPlKToHKILSBbV87iEZFojVIX6S2k84sy9Q4EMPKQxsc0LCURmcXkTYLd45O30j62fFJva5he nxhw8lGD5fBQT3ebG_cZGFvTsBDcEwpmNcnGHBogd.rmw9SCuLIhW.FP.d4CWnQkyrKiu0a4hJW8 St00IBt7B7DRi0fM.uyYfHNQvLjzRumcIt1M9oTYG2l1HOMm.eMDHs_UIcmdtk2GX6na2LHaE2mO TbV9OzFbx1I5u8M8HVeJn2i0EU7CzlLY.qcAKumW3MX7ZPMFUBgRiDmX63SQndAswBamt1SsHugw ekDpLEnL_VMynX5lUHwZEt.neY_GtXFavzgy7PrXhpXZJMe7Kh7ciXhuEfS6pQcoQtF5C0vBtVpP AmMGakJYg4ixgeKWaCpKa.oIJyUQx863wkH6M1K93xjcIoIuYNBHMv.KtNuyNFHJOTZ0ecmIxqP1 qmRa_ACHjdmN.UpqbwTvNW_NYlD6RyN5VXgY.SbpSE X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic321.consmr.mail.bf2.yahoo.com with HTTP; Tue, 18 Oct 2022 15:39:54 +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:245808 Archived-At: > When I tried to follow your steps (not in HOME toplevel, though, but in > a subdirectory), I got this: > > Debugger entered--Lisp error: (wrong-type-argument sequencep t) > #f(compiled-function (d1 d2) #)((Git . > "~/examples/emacs-debbugs-58525/") (CVS . t)) > sort(((CVS . t)) #f(compiled-function (d1 d2) # -0xaf17ad190f8dc52>)) > > vc-responsible-backend("/home/dgutov/examples/emacs-debbugs-58525/tmp3/pro...") > vc-dir("/home/dgutov/examples/emacs-debbugs-58525/tmp3/pro..." nil) Yes, that appears to be the problem described, namely, the error: vc-responsible-backend: Wrong type argument: sequencep, t is reported. Thank you for reproducing the problem reported for Emacs 28.1. After finding the CVS backend, the `mapcar' expression in the function `vc-responsible-backend' continues (erroneously?) looking for additional VC backends by "walking up the directory tree" (indirectly, via `vc-call-backend'), where it eventually finds a "~/.git/" directory. > Not sure how you get to the step of being prompted for the backend. >From the original report, here is Step 9. Adding a prefix (that is, C-u) to `C-x v d' will get a prompt for the VC backend. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58525#5 > > 9. Type `C-u C-x v d' (that is, add a prefix argument to `C-x v > > d'). The following prompt will be displayed: > > > > VC status for directory: ~/tmp3/project1 > > > > At the prompt, accept the command by pressing the key. The > > second prompt will then be displayed: > > > > Use VC backend: > This should be fixed in Emacs 28.2 released in September. > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51800 says Emacs > 29 only, but it's been backported. > > Since you are not seeing the exact error for some reason, it's > possible that your problem has not been fixed still. But try > Emacs 28.2 at least. If the Emacs maintainers say that they have verified (by following the steps needed to produce the problem in Emacs 28.1) that the problem reported for Emacs 28.1 has been fixed in a later release, then that should complete this process. (End.)