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: Mon, 30 Mar 2020 01:27:29 +0300 Organization: LINKOV.NET Message-ID: <87tv26pzji.fsf@mail.linkov.net> References: <87o8tkgbe2.fsf@mail.linkov.net> <8736avy640.fsf@mail.linkov.net> <76e52ade-bb44-427a-0910-3fe3cf65bf6d@yandex.ru> <87a751uonw.fsf@mail.linkov.net> <9bab3a53-ec31-3300-132f-dc1e17ee0c53@yandex.ru> <875zfd9lzm.fsf@mail.linkov.net> <87mu8mieve.fsf@mail.linkov.net> <87k13pkxdl.fsf@mail.linkov.net> <207d4e30-aa59-b8eb-c39a-0957757f39eb@yandex.ru> <875zf6cy3w.fsf@mail.linkov.net> <9c39f788-29f1-5a68-c8f3-a4b08ae9ea3b@yandex.ru> <87lfo1dvcf.fsf@mail.linkov.net> <44cda45a-db93-f2c1-626d-9ace68cd6fd1@yandex.ru> <87y2rpqt28.fsf@mail.linkov.net> <874kuci4tx.fsf@mail.linkov.net> <786821a9-ceab-bbe8-b02a-69e77ddde426@yandex.ru> <878sjkjb8p.fsf@mail.linkov.net> <7d73cdd2-6af1-270c-1929-1bf618c304db@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="56833"; 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 Mon Mar 30 00:37:33 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 1jIgYf-000EhF-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 00:37:33 +0200 Original-Received: from localhost ([::1]:42386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIgYe-0001KV-JQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Mar 2020 18:37:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58755) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIgYC-0001I3-E5 for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 18:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIgYB-0006MU-Cn for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 18:37:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48507) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIgY9-0006JN-Nj for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 18:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIgY9-0006ZP-Kx for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 18:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Mar 2020 22:37: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.158552140325204 (code B ref 34949); Sun, 29 Mar 2020 22:37:01 +0000 Original-Received: (at 34949) by debbugs.gnu.org; 29 Mar 2020 22:36:43 +0000 Original-Received: from localhost ([127.0.0.1]:60050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIgXq-0006YR-UR for submit@debbugs.gnu.org; Sun, 29 Mar 2020 18:36:43 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:51643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIgXp-0006YC-8A for 34949@debbugs.gnu.org; Sun, 29 Mar 2020 18:36:42 -0400 X-Originating-IP: 91.129.102.97 Original-Received: from mail.gandi.net (m91-129-102-97.cust.tele2.ee [91.129.102.97]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id A4ED91BF203; Sun, 29 Mar 2020 22:36:33 +0000 (UTC) In-Reply-To: <7d73cdd2-6af1-270c-1929-1bf618c304db@yandex.ru> (Dmitry Gutov's message of "Sun, 29 Mar 2020 21:41:47 +0300") 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:177837 Archived-At: >>> However! vc-dir-mark-all-files has a special behavior when it's called with >>> C-u: it tries to mark all files in the current VC-Dir buffer. >> Or equivalent behavior is when typing 'M' at the top of VC-Dir buffer. > > Not exactly: here it only marks the files in the same state as the first > file in the buffer. Right, it affects only the files in the root directory. >> Actually on second thought: no way since vc-dir-mark-all-files >> can't guess user's intention: whether the user wants >> to mark all registered files to commit them, or the user >> wants to mark all unregistered files to register them. >> So maybe better to leave vc-dir-mark-all-files alone? > > I really think we should optimize for the most frequent operation > there. Otherwise, 'C-u M' remains fairly useless (but still takes up a key > sequence). The fact that it can mark a set of files in incompatible > statuses, and nobody has filed a bug report about that until now, likely > indicates that people don't often use it. Or don't use it at all. Actually, marking all files with 'C-u M' is not useless. There are other VC commands that make sense to run on all marked files, e.g. search in all files marked by 'C-u M', query-replace, delete, etc.