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: Tue, 25 Feb 2020 23:23:30 +0200 Organization: LINKOV.NET Message-ID: <87fteyl64x.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> 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="76734"; 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 Tue Feb 25 22:34:13 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 1j6hqH-000Jrs-EP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Feb 2020 22:34:13 +0100 Original-Received: from localhost ([::1]:35240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6hqG-0002pv-5J for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Feb 2020 16:34:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43896) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6hq7-0002pV-2Y for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2020 16:34:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6hq6-0001BD-4t for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2020 16:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50244) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6hq6-0001AD-03 for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2020 16:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6hq5-0007Ms-RW for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2020 16:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Feb 2020 21:34:01 +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.158266643728310 (code B ref 34949); Tue, 25 Feb 2020 21:34:01 +0000 Original-Received: (at 34949) by debbugs.gnu.org; 25 Feb 2020 21:33:57 +0000 Original-Received: from localhost ([127.0.0.1]:56217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6hq0-0007MX-QY for submit@debbugs.gnu.org; Tue, 25 Feb 2020 16:33:57 -0500 Original-Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:41024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6hpy-0007MO-Vd for 34949@debbugs.gnu.org; Tue, 25 Feb 2020 16:33:55 -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 CB0E8501702; Tue, 25 Feb 2020 21:33:53 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a82.g.dreamhost.com (100-96-217-39.trex.outbound.svc.cluster.local [100.96.217.39]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 493A650196E; Tue, 25 Feb 2020 21:33:53 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a82.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); Tue, 25 Feb 2020 21:33:53 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Lonely-Vacuous: 1036026b24640993_1582666433533_1874751836 X-MC-Loop-Signature: 1582666433533:1726026261 X-MC-Ingress-Time: 1582666433533 Original-Received: from pdx1-sub0-mail-a82.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a82.g.dreamhost.com (Postfix) with ESMTP id 7E7DC7F045; Tue, 25 Feb 2020 13:33: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=lonTAc FHFRuNzN7ixijHCwH6Jus=; b=hqr4AY5CmVbfvngy2lWd1wVsoXJAec2DhHh/TQ utwpJmlws6vvk8//rzlXudyNIJ1CwXcXFtI3a7i7IXsQQM6jA0PGCuun+9a/M7ee ZbUOeAS+G3H8LCgZuTCXnb3vTsrEJ9oyJFMxq124Cf3QKrsvgn/nBVfAGFPAiyfJ 3RLQM= 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-a82.g.dreamhost.com (Postfix) with ESMTPSA id AF4887F044; Tue, 25 Feb 2020 13:33:46 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a82 In-Reply-To: <1f31a329-eaee-f704-9a58-1b048a6ee636@yandex.ru> (Dmitry Gutov's message of "Tue, 25 Feb 2020 12:32:25 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrledvgddugeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghloheplhhotggrlhhhohhsthdrlhhinhhkohhvrdhnvghtpdhinhgvthepledurdduvdelrddutdefrddvjedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegughhuthhovheshigrnhguvgigrdhruh 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:176482 Archived-At: > Thinking about that, I believe it's because the thing that vc-next-acti= on > does depends on the status of the files in the fileset. So the statuses > have to be compatible. The core concept of the proposed new command =E2=80=98C-x v V=E2=80=99 an= d =E2=80=98V=E2=80=99 in VC-Dired is to deduce the fileset from the statuses of repository files, without 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 statuses to specify what files to include to the fileset. Foremost this feature is needed to deduce the files to include to the fileset from a subdirectory marked in Dired after typing =E2=80=98C-x v v= =E2=80=99 on it.