From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#34949: 27.0.50; Docstring of `vc-deduce-fileset' incomplete Date: Mon, 30 Mar 2020 23:01:35 +0300 Message-ID: <979c0191-48ce-f13f-361e-a03b3ff393a6@yandex.ru> 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> <87tv26pzji.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="46541"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: Lars Ingebrigtsen , 34949@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 30 22:02: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 1jJ0bt-000Bzn-G1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 22:02:13 +0200 Original-Received: from localhost ([::1]:56158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJ0bs-0002I5-He for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 16:02:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33545) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJ0bj-0002HV-Jm for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 16:02:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJ0bi-0006wp-HP for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 16:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJ0bi-0006va-A9 for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 16:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJ0bi-0002Gc-7g for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Mar 2020 20:02: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.15855985058679 (code B ref 34949); Mon, 30 Mar 2020 20:02:02 +0000 Original-Received: (at 34949) by debbugs.gnu.org; 30 Mar 2020 20:01:45 +0000 Original-Received: from localhost ([127.0.0.1]:35126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJ0bR-0002Fv-AO for submit@debbugs.gnu.org; Mon, 30 Mar 2020 16:01:45 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:42077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJ0bQ-0002Fj-0U for 34949@debbugs.gnu.org; Mon, 30 Mar 2020 16:01:44 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id h15so23189108wrx.9 for <34949@debbugs.gnu.org>; Mon, 30 Mar 2020 13:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Y9DI4akbnOi4OfZ9mUlEYMWtxmurwMaDAUte/WbDtTE=; b=BA8X50jhBBReRmJhqgpZV1WqLV8Knlav8gPe7wPjI8XviZI0jn8z/7xDlE+0qceLoA 2vn3aob/kEF646vlrK1HW0fYMUzk2JuIB8JYFYJYFh5xYKksANw/q0cJzgVptLKwTCiN xnP1n6VM1T7tvwdrRNdDxIOGg7U4hPkgpM08l+eDpzu0wdUIZf5mcwTohhJEnAexEnId i5q+GBl406CiV8ArsLf8adL8XAiaZ6QixFZp6HX42mfuNQDsOwnlMDHzHTbz3mYRYobI 1WhuOhbTx/I0M9/JrXmkv+RE+nrw/U+xu2uSzgiLyoD2DpEf6mqpeOJT6AWOGzBXAJUX 37Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Y9DI4akbnOi4OfZ9mUlEYMWtxmurwMaDAUte/WbDtTE=; b=YWzRE8Tf/AzpDMEzVaNvqSis3ZR9rDcW0xzfL4H/JPRWX93Tnw2pTtHzFmG95E1CSr QhvaSg/9aP0Im9S97pwaIMocxBLitoZQUCAS34femoYinmhpLPHzWnC3LhblfgFBpsYf qWDx0e6yjfzTkMjryRNZ+P3v1jMeQrR1AGh1DVFPYlv4ah+BM6IDyJz8fB/O/+gANaRq IqqRd46cgKAC7HqGABPyrbnuFY7lbr1mjx7f3sELw8IGTPJN1aUraLf9eVPBWEiTDbd0 7kAAOmbag5KgtcsuxgpIxZaG07AokoD4vVq52hWZNssdJCFacpatDyIQoElPiKQAASF+ q/HQ== X-Gm-Message-State: ANhLgQ2VKXLBQuScRqU/w33MlBDH4Ot3mbfHq+cZqJ2CGf6tjmAgdTEX p4cBkv24YsJutRcuhzrG09Zz6vC9 X-Google-Smtp-Source: ADFU+vtG9BhYGuEM9AtrC5a8N88J6CYBZXTDwWvIeaAsAgH5fI45m2s0f4260FuKPHOOsXwHSJlqIQ== X-Received: by 2002:a5d:6a82:: with SMTP id s2mr17034777wru.205.1585598497831; Mon, 30 Mar 2020 13:01:37 -0700 (PDT) Original-Received: from [192.168.0.2] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id j124sm719391wmb.25.2020.03.30.13.01.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Mar 2020 13:01:37 -0700 (PDT) In-Reply-To: <87tv26pzji.fsf@mail.linkov.net> Content-Language: en-US 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:177886 Archived-At: On 30.03.2020 01:27, Juri Linkov wrote: >>>> 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. Ah, right. Indeed. >> 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. Hmm, you might be right. If we're sure that people do take advantage of that, let's keep it. We could tweak it a little, though. Like: M -> mark all files in the same status C-u M -> mark all registered files C-u C-u M -> mark all files in the vc-dir buffer Or bind vc-dir-mark-registered to a new char indeed, e.g. 'r'.