unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark Harig via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "dgutov@yandex.ru" <dgutov@yandex.ru>, "eliz@gnu.org" <eliz@gnu.org>
Cc: "58525@debbugs.gnu.org" <58525@debbugs.gnu.org>
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)	[thread overview]
Message-ID: <801565628.2246427.1666107593116@mail.yahoo.com> (raw)
In-Reply-To: <bdd3ec11-3d96-abfa-4447-8dfbbe42bcab@yandex.ru>


> 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) #<bytecode -0xaf17ad190f8dc52>)((Git .
> "~/examples/emacs-debbugs-58525/") (CVS . t))
>   sort(((CVS . t)) #f(compiled-function (d1 d2) #<bytecode
> -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 <RET> 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.)





  reply	other threads:[~2022-10-18 15:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2011444375.1250404.1665768998367.ref@mail.yahoo.com>
2022-10-14 17:36 ` bug#58525: 28.1: `vc-dir' (key sequence: C-x v d) fails when used with a CVS repository Mark Harig via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-14 18:34   ` Eli Zaretskii
2022-10-16 22:06     ` Mark Harig via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-17  6:06       ` Eli Zaretskii
2022-10-17 13:00         ` Dmitry Gutov
2022-10-17 16:34           ` Eli Zaretskii
2022-10-17 17:43             ` Mark Harig via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-17 23:10               ` Dmitry Gutov
2022-10-18  1:06                 ` Mark Harig via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-18 12:04                   ` Dmitry Gutov
2022-10-18 15:39                     ` Mark Harig via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-10-18 15:58                       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=801565628.2246427.1666107593116@mail.yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=58525@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=idirectscm@aim.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).