all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Bartosz Kaczyński" <bkaczynski@posteo.net>
Cc: 70004@debbugs.gnu.org
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	[thread overview]
Message-ID: <86cyrabw0m.fsf@gnu.org> (raw)
In-Reply-To: <875xx5w8rf.fsf@posteo.net> (message from Bartosz Kaczyński on Fri, 29 Mar 2024 11:57:24 +0000)

> From: Bartosz Kaczyński <bkaczynski@posteo.net>
> Cc: 70004@debbugs.gnu.org
> Date: Fri, 29 Mar 2024 11:57:24 +0000
> 
> Eli Zaretskii <eliz@gnu.org> 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 <M> 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')?





  reply	other threads:[~2024-03-31  9:17 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 [this message]
2024-04-02 16:31           ` Bartosz Kaczyński
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

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

  git send-email \
    --in-reply-to=86cyrabw0m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70004@debbugs.gnu.org \
    --cc=bkaczynski@posteo.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.