GNU bug report logs -
#6799
24.0.50; Please add dired-details.el to Emacs [patch]
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Thu, 5 Aug 2010 14:59:01 UTC
Severity: wishlist
Tags: patch
Found in version 24.0.50
Done: Christopher Schmidt <christopher <at> ch.ristopher.com>
Bug is archived. No further changes may be made.
Full log
Message #88 received at 6799 <at> debbugs.gnu.org (full text, mbox):
> Usually I don't do this but when I called in a dired buffer
> `M-x text-mode RET' it unexpectedly removed from display all text
> except filenames (i.e. made other text invisible).
>
> I wonder should such cases be handled e.g. by disabling
> `dired-hide-details-mode' in the hook `after-change-major-mode-hook'?
They should definitely be handled, one way or another.
`dired-hide-details-mode' makes sense only in a mode derived from Dired mode.
Your suggested fix sounds like the right approach in general, but I think
turning off `dired-hide-details-mode' should somehow be done BEFORE changing to
a mode that is not dired-derived, not afterward.
Can you use `change-major-mode-hook' instead, to do this before changing the
mode? Is it possible at that point to test whether the target mode is
(derived-mode-p dired-mode)?
This bug report was last modified 12 years and 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.