GNU bug report logs -
#76596
30.1; dired-movement-style does not honor subdir operations
Previous Next
Reported by: Charles Choi <kickingvegas <at> gmail.com>
Date: Wed, 26 Feb 2025 20:07:01 UTC
Severity: minor
Found in version 30.1
Fixed in version 30.1.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juri Linkov <juri <at> linkov.net>
> Cc: Charles Choi <kickingvegas <at> gmail.com>, 76596 <at> debbugs.gnu.org
> Date: Thu, 27 Feb 2025 19:52:05 +0200
>
> >> **** Expected Result
> >> Point should land on subdir.
> >>
> >> **** Actual Result
> >> Point avoids subdir, preventing running operations on it such as removing it (C-u k).
> >
> > Juri, this seems to be due to your changes in commit 29d42d9158ae:
> > dired-between-files returns non-nil when on a subdirectory line, so
> > Dired thinks it's an empty line.
> >
> > Charles, does the patch below give good results?
> >
> > Juri, do you agree with the patch? It should go to the release
> > branch.
>
> I'm not sure what is the behavior expected by most users?
> It seems the intention for this feature was to visit only
> filename lines with n, p, C-p, C-n,
I initially thought about that, but (a) the documentation says
something else, and (b) the original implementation, before your
changes mentioned above, indeed skipped only empty lines, not any
lines that don't show a file name. So I changed my mind about that.
This bug report was last modified 58 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.