GNU bug report logs -
#79137
31.0.50; (vc-buffer-sync-fileset) cannot complete if unrelated no-longer-reachable TRAMP buffers exist
Previous Next
Full log
Message #8 received at 79137 <at> debbugs.gnu.org (full text, mbox):
Dima Kogan <dima <at> secretsauce.net> writes:
Hi Dima,
> (defun vc-buffer-sync-fileset (fileset &optional not-essential missing-in-dirs)
> "Call `vc-buffer-sync' for most buffers visiting files in FILESET.
> NOT-ESSENTIAL means it is okay to continue if the user says not to save.
>
> For files named explicitly in FILESET, this function always syncs their
> buffers. By contrast, for directories named in FILESET, its behavior
> depends on MISSING-IN-DIRS. For each directory named in FILESET, it
> considers buffers visiting any file contained within that directory or
> its subdirectories. If MISSING-IN-DIRS is nil, it syncs only those
> buffers whose files exist on disk. Otherwise it syncs all of them."
> ;; This treatment of directories named in FILESET is wanted for, at
> ;; least, users with `vc-find-revision-no-save' set to non-nil: not
> ;; treating directories this way would imply calling `vc-buffer-sync'
> ;; on all buffers generated by \\`C-x v ~' during \\`C-x v D'.
> (let (dirs buffers)
Does it help to use here
(let ((non-essential t)
dirs buffers)
> Thanks.
Best regards, Michael.
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.