GNU bug report logs - #48147
27.2; dired-hide-details-mode does not work properly with dired-subdirs

Previous Next

Package: emacs;

Reported by: Maxime Tréca <maxime.treca <at> gmail.com>

Date: Sat, 1 May 2021 23:29:02 UTC

Severity: normal

Merged with 49760

Found in versions 27.2, 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Maxime Tréca <maxime.treca <at> gmail.com>
Cc: 48147 <at> debbugs.gnu.org
Subject: Re: bug#48147: 27.2; dired-hide-details-mode does not work properly
 with dired-subdirs
Date: Sun, 04 Jul 2021 02:06:14 +0200
Maxime Tréca <maxime.treca <at> gmail.com> writes:

> To reproduce this issue:
>
> - Activate dired-hide-details-mode
> - Insert a subdirectory pressing 'i'
> - Hide the subdirectory using the '$' key
> - Show the subdirectory again using '$'
>
> The resulting subdirectory shows dired lines with all information
> even though dired-omit-mode is activated.

Indeed.  Toggling `dired-hide-details-mode' doesn't even help (the
buffer contents are broken), one has to revert the buffer.

This happens because `dired--unhide' unconditionally removes any
`invisible` text properties, including the `dired-hide-details-detail`
valued ones used by `dired-hide-details-mode' (see the "FIXME" note in
the code).

Michael.




This bug report was last modified 2 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.