GNU bug report logs - #71106
dired-do-compress should check before attempting to read directories

Previous Next

Package: emacs;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 22 May 2024 06:37:02 UTC

Severity: normal

Fixed in version 30.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dan Jacobson <jidanni <at> jidanni.org>
Cc: 71106 <at> debbugs.gnu.org
Subject: bug#71106: dired-do-compress should check before attempting to read directories
Date: Thu, 23 May 2024 12:56:40 +0300
merge 71106 47058
close 47058 30.1

> Date: Thu, 23 May 2024 06:51:32 +0800
> From: Dan Jacobson <jidanni <at> jidanni.org>
> Cc: 71106 <at> debbugs.gnu.org
> 
> On Wed, May 22, 2024 at 04:00:23PM +0300, Eli Zaretskii wrote:
> > I cannot reproduce this.  I get: "Compress or uncompress: 1 file."
> > instead.
> 
> Please do the following (this time "guaranteed"!) experiment,
> bash -ex <<"EOF"
> cd /tmp
> p=plss00p020 n=nt00064
> touch $p.{shp,dbf,shx,txt}
> tar -czf ${p}_${n}.tar.gz $p.*
> tar tzvf ${p}_${n}.tar.gz
> EOF
> emacs -Q /tmp
> 
> Now hit spacebar until the cursor is upon plss00p020_nt00064.tar.gz
> and hit Z then y .
> 
> Not only will you get the error message, the line showing plss00p020_nt00064.tar.gz
> also has been temporarily abducted, and needs you to hit "g" to be seen again!

Thanks.  This is a duplicate of bug#47058, which was left unsolved.
So I have now solved it (I hope) on the master branch, and I'm closing
that bug and this one as well.




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

Previous Next


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