bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44420: 28.0.50; vc-register, under vc-dir buffer, says file already


From: Pankaj Jangid
Subject: bug#44420: 28.0.50; vc-register, under vc-dir buffer, says file already registered
Date: Tue, 03 Nov 2020 23:41:04 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Andrii Kolomoiets <andreyk.mad@gmail.com> writes:

> See docstring of the `vc-deduce-fileset`:
>
>   If the current buffer is in `vc-dir' or Dired mode, FILESET is the
>   list of marked files, or the current directory if no files are
>   marked.

Got it. But the second clause `or the current directory if no files are
marked' is not accurate. Because in that case `i' (vc-register) works if
the point is on an untracked item.

Wait... is `vc-deduce-fileset' relevant for `vc-register'? I don't know.

> Including file name in the "File already registered" message may help to
> understand whats going on though.

This could be a long list. We can just say "Marked file(s) already
registered".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]