GNU bug report logs - #54636
dired fails to update subdirs when files are created/deleted/renamed

Previous Next

Package: emacs;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Wed, 30 Mar 2022 11:16:02 UTC

Severity: normal

Merged with 51486

Found in version 28.0.60

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 54636 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#54636: dired fails to update subdirs when files are
 created/deleted/renamed
Date: Wed, 30 Mar 2022 18:51:56 +0300
> From: Tassilo Horn <tsdh <at> gnu.org>
> Cc: schwab <at> linux-m68k.org, 54636 <at> debbugs.gnu.org
> Date: Wed, 30 Mar 2022 16:30:22 +0200
> 
> Here's a patch.  I've created a separate cond-arm for the SUBDIRS case,
> so any callers which are not dired-clean-up-after-deletion (the only one
> setting SUBDIRS) are not affected.

Thanks.

So when will SUBDIRS be non-nil?  dired-clean-up-after-deletion is
called not only when a directory is deleted, I think.

Andreas, could you perhaps also try this patch and see if you have any
problems in your use cases?




This bug report was last modified 1 year and 319 days ago.

Previous Next


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