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: Thu, 27 Feb 2020 01:46:29 +0200 Organization: LINKOV.NET Message-ID: <87o8tkgbe2.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> <87sgj2np8k.fsf@mail.linkov.net> <8736b06f60.fsf@mail.linkov.net> <87sgizy16y.fsf@mail.linkov.net> <1f31a329-eaee-f704-9a58-1b048a6ee636@yandex.ru> <87fteyl64x.fsf@mail.linkov.net> <47fcc86a-a884-0658-d1cb-8666704924e8@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47382"; 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 Thu Feb 27 00:48:16 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 1j76PW-000CCE-TB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Feb 2020 00:48:15 +0100 Original-Received: from localhost ([::1]:51728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j76PV-000077-Sm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Feb 2020 18:48:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32893) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j76PL-00006e-RZ for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:48:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j76PK-0006s9-So for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:48:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j76PK-0006rL-P0 for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j76PK-0004i2-N8 for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:48: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: Wed, 26 Feb 2020 23:48: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.158276087718083 (code B ref 34949); Wed, 26 Feb 2020 23:48:02 +0000 Original-Received: (at 34949) by debbugs.gnu.org; 26 Feb 2020 23:47:57 +0000 Original-Received: from localhost ([127.0.0.1]:57953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j76PF-0004hb-JB for submit@debbugs.gnu.org; Wed, 26 Feb 2020 18:47:57 -0500 Original-Received: from bonobo.birch.relay.mailchannels.net ([23.83.209.22]:45752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j76PD-0004hO-HX for 34949@debbugs.gnu.org; Wed, 26 Feb 2020 18:47:56 -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 2D43B5009EB; Wed, 26 Feb 2020 23:47:54 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (100-96-217-40.trex.outbound.svc.cluster.local [100.96.217.40]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 93A63501571; Wed, 26 Feb 2020 23:47:53 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a11.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); Wed, 26 Feb 2020 23:47:54 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Thread-Fearful: 3f3cb934408f28ce_1582760873884_1498526229 X-MC-Loop-Signature: 1582760873883:842120330 X-MC-Ingress-Time: 1582760873883 Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTP id 418AA8852A; Wed, 26 Feb 2020 15:47:50 -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:content-transfer-encoding; s=linkov.net; bh=/jtPIR fls2DwGD8eH0141oECCNc=; b=SfJi7+Mp3HjtwMwL8D4v2lkZdZzJ+NTYqhG2Y3 ld8F17JkjllLghqtHQKZagQwp0WYvZVm+cOxR/sDfxT7vgdTR6S14L9SgHaqZfaK OylMvoMGOrZr1aZcmdoH4Z41w1EQZt5ZHOhjrKTTQW5Xmg2M1XhgqR0SVSwhCKQa SiMHw= Original-Received: from mail.jurta.org (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-a11.g.dreamhost.com (Postfix) with ESMTPSA id DD936884CB; Wed, 26 Feb 2020 15:47:47 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a11 In-Reply-To: <47fcc86a-a884-0658-d1cb-8666704924e8@yandex.ru> (Dmitry Gutov's message of "Thu, 27 Feb 2020 00:49:05 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrleehgdduiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtfedrvdejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepughguhhtohhvseihrghnuggvgidrrhhu 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:176521 Archived-At: >> The core concept of the proposed new command =E2=80=98C-x v V=E2=80=99= and =E2=80=98V=E2=80=99 in VC-Dired >> is to deduce the fileset from the statuses of repository files, withou= t >> explicitly marking the files in VC-Dired and without using only the >> current file as =E2=80=98C-x v v=E2=80=99 does. >> Some dwim logic could be employed such as collecting only edited files >> to the fileset, but I'm not sure if this will cover 100% of user needs= . >> Maybe some customizable variable could be added with a list of statuse= s >> to specify what files to include to the fileset. > > Not sure about customizability. > > 'added' and 'edited' should cover it. Files with 'conflict' first shoul= d be > resolved first, I think. Is this 'conflict' status git-specific or other backends have it too? In any case it seems the best default would be to include to fileset all files except with the 'unregistered' status. Then the backend will handle the files with the 'conflict' status (e.g. to signal an error).