From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#34949: 27.0.50; Docstring of `vc-deduce-fileset' incomplete Date: Sun, 23 Feb 2020 02:04:11 +0200 Organization: LINKOV.NET Message-ID: <87sgj2np8k.fsf@mail.linkov.net> References: <877e5dzgnb.fsf@gnus.org> <932cfe15-5e8b-1bf4-5b81-9d0f2a513dea@yandex.ru> <87a77hqp6m.fsf@mail.linkov.net> <87zhdghjca.fsf@mail.linkov.net> <5d2163b9-4bf4-e072-ef9e-0fc1550a2108@yandex.ru> <87imk35uy6.fsf@mail.linkov.net> <87v9o0kg1f.fsf@mail.linkov.net> <32b1f22f-1ac9-7fd2-0377-4c2d7ae43afd@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="4484"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , 34949@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 23 01:45:24 2020 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 1j5fOd-00014k-T9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Feb 2020 01:45:23 +0100 Original-Received: from localhost ([::1]:48392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5fOc-0001wy-Pt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Feb 2020 19:45:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33167) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5fOJ-0001qG-ER for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2020 19:45:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5fOI-0003fq-HE for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2020 19:45:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5fOI-0003fj-E7 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2020 19:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5fOI-00009j-CD for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2020 19:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Feb 2020 00:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 34949-submit@debbugs.gnu.org id=B34949.1582418676483 (code B ref 34949); Sun, 23 Feb 2020 00:45:02 +0000 Original-Received: (at 34949) by debbugs.gnu.org; 23 Feb 2020 00:44:36 +0000 Original-Received: from localhost ([127.0.0.1]:50255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5fNr-00007j-Rn for submit@debbugs.gnu.org; Sat, 22 Feb 2020 19:44:36 -0500 Original-Received: from bonobo.birch.relay.mailchannels.net ([23.83.209.22]:59509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5fNq-00007b-H1 for 34949@debbugs.gnu.org; Sat, 22 Feb 2020 19:44:35 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4DA345A08D4; Sun, 23 Feb 2020 00:44:33 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a92.g.dreamhost.com (100-96-38-98.trex.outbound.svc.cluster.local [100.96.38.98]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C783C5A07EA; Sun, 23 Feb 2020 00:44:32 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a92.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 23 Feb 2020 00:44:33 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Abiding-Arch: 0a2354ec5b26d1da_1582418673052_825276738 X-MC-Loop-Signature: 1582418673052:3534810148 X-MC-Ingress-Time: 1582418673052 Original-Received: from pdx1-sub0-mail-a92.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a92.g.dreamhost.com (Postfix) with ESMTP id 6F59A7F1C5; Sat, 22 Feb 2020 16:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=CfqQT/udyg+KtdWR2gf5VT05CLw=; b= vZo1JX3r7BZXGohhff729C8cnRmznwshHsehYdi4vGZ7YfQlbp1PtG1sZnkfpTW8 eEMZsH0cNZdCgpEcI1UDiu/tuVtcdwKeqBfj8uKwAFzQaGYtwuyd9bGeaJdN6d+Y 0uJmX+StHvAyWcwU689DXvIt6/GoYo4MRLjNEuJv98s= Original-Received: from localhost.linkov.net (m91-129-103-27.cust.tele2.ee [91.129.103.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a92.g.dreamhost.com (Postfix) with ESMTPSA id 4726A7F188; Sat, 22 Feb 2020 16:44:24 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a92 In-Reply-To: <32b1f22f-1ac9-7fd2-0377-4c2d7ae43afd@yandex.ru> (Dmitry Gutov's message of "Fri, 21 Feb 2020 02:22:32 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrkeejgddvudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghloheplhhotggrlhhhohhsthdrlhhinhhkohhvrdhnvghtpdhinhgvthepledurdduvdelrddutdefrddvjedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegughhuthhovheshigrnhguvgigrdhruh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:176411 Archived-At: >> +(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. Do you propose 'C-x v v' when typed in Dired to open VC-Dir and mark files marked in Dired, i.e. to sync marks between Dired and VC-Dir? And a new keybinding 'C-x v V' (vc-next-action-on-root) typed in any file/dired should open VC-Dir and mark all edited files? >> +(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? Unfinished implementation...