From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70004: 30.0.50; vc-dir-mark-all-files doesn't work in *vc-dir* buffer Date: Sun, 31 Mar 2024 12:17:29 +0300 Message-ID: <86cyrabw0m.fsf@gnu.org> References: <87cyrhaxgx.fsf@posteo.net> <86y1a5hrn2.fsf@gnu.org> <87h6grhd4t.fsf@posteo.net> <867chnipgz.fsf@gnu.org> <875xx5w8rf.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70004@debbugs.gnu.org To: Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 31 11:18:30 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 1rqrKg-00041j-Qi for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Mar 2024 11:18:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqrKK-0008Ps-28; Sun, 31 Mar 2024 05:18:08 -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 1rqrKC-0008LL-7A for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2024 05:18:04 -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 1rqrKB-0005bd-T7 for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2024 05:17:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqrKE-0007Sn-9O for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2024 05:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Mar 2024 09:18:02 +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.171187666728636 (code B ref 70004); Sun, 31 Mar 2024 09:18:02 +0000 Original-Received: (at 70004) by debbugs.gnu.org; 31 Mar 2024 09:17:47 +0000 Original-Received: from localhost ([127.0.0.1]:46621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqrJy-0007Ro-Qj for submit@debbugs.gnu.org; Sun, 31 Mar 2024 05:17:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqrJw-0007RX-Cu for 70004@debbugs.gnu.org; Sun, 31 Mar 2024 05:17:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqrJn-0005XE-J8; Sun, 31 Mar 2024 05:17:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=lLUS0NbNh/abKa6qq3e6UCSfAMOk1xP67FzJ8SAEUPQ=; b=RZVW/0IF7IIUHp2HyVLO OkGvdzmrAlL+QGa3+uOy1BNKlruYxghP+zufF3YBkwxGDA6Hyclhk4ZVfbu1HiQDrXU0hj+ZNYz/0 Doq/xGYUz5zAYecEXa70D4eJdFCxaMEj5MFBH/dRLxSZR0PfDg9LgoAbYfD7D/gKhey+WwVJqtpYa /2popz5ZFxiO6NGnjY4IZiF2SJkw9lNnlgnwYqfUYSedTs2h5xNqL34ozgvNVJHJWwNUxkgpZrqQH 0BEoJpQ5vS75+UJvEbQWls0QXq5i7/5qRQTeEnUR/U9EV2ebBN6kDOxMEGNwh8XJ8t03WYudnNkls 6OtEhD5Ip2pxWA==; In-Reply-To: <875xx5w8rf.fsf@posteo.net> (message from Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= on Fri, 29 Mar 2024 11:57:24 +0000) 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:282426 Archived-At: > From: Bartosz KaczyƄski > Cc: 70004@debbugs.gnu.org > Date: Fri, 29 Mar 2024 11:57:24 +0000 > > Eli Zaretskii writes: > > > So can you try figuring out why it doesn't work correctly in that > > repository? What is different about that repository? > > Ok, I found the dependency why it sometimes works and sometimes > doesn't. It's about the point position when changes affect files in > different directories. If the point is located in a different place than > the line where the files are, for example, a line that points to a > directory - then marking all files with the key doesn't include all > files. > > --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? Or what doesn't happen in the example you show (please also tell where point is when you press 'M')?