GNU bug report logs -
#34949
27.0.50; Docstring of `vc-deduce-fileset' incomplete
Previous Next
Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>
Date: Fri, 22 Mar 2019 18:04:02 UTC
Severity: minor
Tags: confirmed, fixed
Found in version 27.0.50
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 21.02.2020 1:14, Juri Linkov wrote:
> Also some parts of the previous patch should be reverted
> because I discovered that state changing VC operations in Dired
> even on marked files (as opposed to directories) is unreliable:
> when a file is modified, using vc-state doesn't return its real state
> when updated outside of Emacs.
Right. More so than in VC-Dir buffers, which use dir-status-files already.
> +(defun vc-directory-deduce-fileset (dir callback)
> + ;; TODO: use vc-dir-status-files
> + )
I should note that if could be, by any chance, satisfied with only using
vc-next-action-on-root in VC-Dir buffers, there would be no need to call
dir-status-files here.
> +(defun vc-dir-status-files (backend dir files update-function)
> + (funcall update-function
> + (mapcar (lambda (file) (list file 'up-to-date)) files)))
This is a... test function?
This bug report was last modified 5 years and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.