all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Gabriel <gabriel376@hotmail.com>
Cc: 59047-done@debbugs.gnu.org
Subject: bug#59047: 29.0.50; [PATCH] dired-hide-subdir breaks dired-hide-details-mode
Date: Thu, 10 Nov 2022 12:09:25 +0200	[thread overview]
Message-ID: <83bkpfrui2.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR06MB86099CE043DF02B5B8BB28928B3A9@SJ0PR06MB8609.namprd06.prod.outlook.com> (message from Gabriel on Sat, 05 Nov 2022 08:32:16 -0300)

> From: Gabriel <gabriel376@hotmail.com>
> Date: Sat, 05 Nov 2022 08:32:16 -0300
> 
> Description:
> In Dired, the use of `dired-hide-subdir' breaks the subsequent
> invocations of `dired-hide-details-mode'.
> 
> Steps to reproduce:
> Emacs 29.0.50 (master 8721e87a6ec0874057f83f54498a0e3a64475a53)
> 1) emacs -Q
> 2) Open any Dired buffer, e.g.: C-x C-f ~/
> 3) Press key ( a couple of times to toggle `dired-hide-details-mode'
> 4) Press key $ twice to hide and unhide the current directory list
> 5) Press key ( a couple of times to toggle `dired-hide-details-mode'
> 
> On step 5), the `dired-hide-details-mode' ceases to work.
> 
> Patch:
> The patch below adds a call to `dired-insert-set-properties` to restore
> the text properties lost by `dired-hide-subdir'. More specifically, the
> `dired--hide' removes the 'invisible text property that is used by Dired
> to toggle the visibility of some information, such as
> details-information, details-detail and details-link.

Thanks, installed.





  reply	other threads:[~2022-11-10 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05 11:32 bug#59047: 29.0.50; [PATCH] dired-hide-subdir breaks dired-hide-details-mode Gabriel
2022-11-10 10:09 ` Eli Zaretskii [this message]
2022-11-11 21:37 ` Michael Heerdegen
2022-11-11 21:48   ` Gabriel
2022-11-12  7:04     ` Eli Zaretskii
2022-11-12 21:58       ` Michael Heerdegen

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=83bkpfrui2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59047-done@debbugs.gnu.org \
    --cc=gabriel376@hotmail.com \
    /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.