unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Bartosz Kaczyński" <bkaczynski@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 70004@debbugs.gnu.org
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	[thread overview]
Message-ID: <877chfloa6.fsf@posteo.net> (raw)
In-Reply-To: <86cyrabw0m.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 31 Mar 2024 12:17:29 +0300")

Eli Zaretskii <eliz@gnu.org> 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 <m> 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





  reply	other threads:[~2024-04-02 16:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 14:17 bug#70004: 30.0.50; vc-dir-mark-all-files doesn't work in *vc-dir* buffer Bartosz Kaczyński
2024-03-26 16:41 ` Eli Zaretskii
2024-03-27 16:07   ` Bartosz Kaczyński
2024-03-27 16:55     ` Eli Zaretskii
2024-03-29 11:57       ` Bartosz Kaczyński
2024-03-31  9:17         ` Eli Zaretskii
2024-04-02 16:31           ` Bartosz Kaczyński [this message]
2024-04-02 16:40             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877chfloa6.fsf@posteo.net \
    --to=bkaczynski@posteo.net \
    --cc=70004@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).