From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= Newsgroups: gmane.emacs.bugs Subject: bug#70004: 30.0.50; vc-dir-mark-all-files doesn't work in *vc-dir* buffer Date: Tue, 02 Apr 2024 16:31:13 +0000 Message-ID: <877chfloa6.fsf@posteo.net> References: <87cyrhaxgx.fsf@posteo.net> <86y1a5hrn2.fsf@gnu.org> <87h6grhd4t.fsf@posteo.net> <867chnipgz.fsf@gnu.org> <875xx5w8rf.fsf@posteo.net> <86cyrabw0m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70004@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 02 18:33:00 2024 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 1rrh4F-0001tW-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Apr 2024 18:33:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrh3h-0007DL-8M; Tue, 02 Apr 2024 12:32:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrh3M-0007AE-Jx for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 12:32:05 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rrh3H-0004AL-OO for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 12:32:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrh3L-00010w-Dm for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 12:32:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Apr 2024 16:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70004 X-GNU-PR-Package: emacs Original-Received: via spool by 70004-submit@debbugs.gnu.org id=B70004.17120754983728 (code B ref 70004); Tue, 02 Apr 2024 16:32:03 +0000 Original-Received: (at 70004) by debbugs.gnu.org; 2 Apr 2024 16:31:38 +0000 Original-Received: from localhost ([127.0.0.1]:56070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrh2t-0000xa-Js for submit@debbugs.gnu.org; Tue, 02 Apr 2024 12:31:37 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:57623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrh2p-0000wj-5j for 70004@debbugs.gnu.org; Tue, 02 Apr 2024 12:31:34 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 08D3E240028 for <70004@debbugs.gnu.org>; Tue, 2 Apr 2024 18:31:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712075481; bh=bW42Noje4qtl8R98tcrA9lQBXurX962Vg7JekJSt6Bo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=f85vyagfCf6dEdIfmLqh5t22gxn6ZHgrf5EOqOkrjbM7O6JWvUEJv94rD6kyGMzDh TTJ+0gpsB85RRs/8E0obGr7prTb0VPOrN7889i1Nw2sepBXn4YhgV1tlXyFqFps/GD PucS5hehHJ8ypP8rYgPrZAzgQB89wamuQZLjtmSCAOUnfGzpbTVDOzGGCEGdstXKaq Lb0Kioxl+KrxzDkwz2YU3OG8v03aAy/GNxeEHlnFVTxRSXdl3HCWf12I0hLAydiapM wkxGf/yi4eU0baVD6E1AdHlvG693Ieq7xlbbBJ2jGYeH4857fStqgMq68OqLNyL91m 8r/2JBhigPLkQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V8D0S4vw2z6tyW; Tue, 2 Apr 2024 18:31:20 +0200 (CEST) In-Reply-To: <86cyrabw0m.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 31 Mar 2024 12:17:29 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282527 Archived-At: Eli Zaretskii writes: >> --8<---------------cut here---------------start------------->8--- >> VC backend : Git >> Working dir: ~/.emacs.d/ >> Branch : main >> Tracking : origin/main >> Remote : git@myremote.git >> Stash : Nothing stashed >> >> ./ >> edited init.el >> lisp/ >> edited lisp/init-org.el >> --8<---------------cut here---------------end--------------->8--- > > Thanks, but I still don't think I understand (or if I do, cannot > reproduce). The command bound to 'M' is documented thus: > > Mark all files with the same state as the current one. > With prefix argument ARG, mark all files (not directories). > If the current entry is a directory, mark all child files. > > So if point is on a directory, the files under that directory should > be marked. In your case, if point is on the line which says "lisp/", > the file lisp/init-org.el should be marked. Does that not happen? Yes, it does but also `vc-dir-mark` works same way even there is more than one file in the same state > > Or what doesn't happen in the example you show (please also tell where > point is when you press 'M')? So, without further ado. Apparently, I didn't understand the function's behavior correctly and simply thought that pressing the "M" (regardless of point position) would select all files, for example, those in the "edited" state. Thank you for your time spent on this investigation, and clearly, it is not a bug. Best regards, Bart