GNU bug report logs - #76596
30.1; dired-movement-style does not honor subdir operations

Previous Next

Package: emacs;

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


Message #11 received at 76596 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Charles Choi <kickingvegas <at> gmail.com>, 76596 <at> debbugs.gnu.org
Subject: Re: bug#76596: 30.1; dired-movement-style does not honor subdir
 operations
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, since there are already
special commands to visit subdir lines with C-M-n, C-M-p and M-G.




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.