From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#71106: dired-do-compress should check before attempting to read directories Date: Thu, 23 May 2024 06:51:32 +0800 Message-ID: References: <87o78yqrph.5.fsf@jidanni.org> <86frua6ly0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28552"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71106@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 23 00:52:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s9uon-0007Do-Gq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 May 2024 00:52:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9uoU-00008u-QX; Wed, 22 May 2024 18:52:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9uoO-00008c-KI for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 18:51:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9uoO-0000Xb-CB for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 18:51:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9uoU-0002nw-2b for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 18:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 May 2024 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71106 X-GNU-PR-Package: emacs Original-Received: via spool by 71106-submit@debbugs.gnu.org id=B71106.171641830810770 (code B ref 71106); Wed, 22 May 2024 22:52:02 +0000 Original-Received: (at 71106) by debbugs.gnu.org; 22 May 2024 22:51:48 +0000 Original-Received: from localhost ([127.0.0.1]:58070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9uoG-0002ne-0h for submit@debbugs.gnu.org; Wed, 22 May 2024 18:51:48 -0400 Original-Received: from buffalo.tulip.relay.mailchannels.net ([23.83.218.24]:33417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9uoB-0002nX-Th for 71106@debbugs.gnu.org; Wed, 22 May 2024 18:51:46 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5F964803C04; Wed, 22 May 2024 22:51:36 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a288.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 01C3F803C38; Wed, 22 May 2024 22:51:35 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1716418296; a=rsa-sha256; cv=none; b=WyYFQ0XQo702hySSi5AIN1kOiGusE/yBKWk7/1k7udbYmWTwZRWKWor/iGQnVXxpfA2+LH 8u41SPvy0rMuxSiDgLx+n40jLb01ckCVcu2v0geVkZSsWuQs5Hx9j9DTjomFmYNH9Uk4t+ mH4CPvVN9b+CNvMbylc7duwbeU8O6eOvzEjnURDDcg1jhc7ByPkG5jOTPQPZttaDS64x/U 7dzUQlxp+DhZwGKuFCYo5Yr2MsCV5wGXYiaU5163fbq5irfujfStZOHv+471bRQaMYdChm Z3qdcI7Y1lyELug+Aqh5gKhPterfeX6M5SgcFqk0BDwcQ0UVyzs+kIYtbERrFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1716418296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=sBWtJALNNt63S56myoiKuLS2Q56tJCLR16HE2iE8kLI=; b=h99/6fYDH1iZElsxB68UjoIn1lBrLdtsL94ZIusAGrt10ZsHWTWuNzBGFeH+x0NHs5VBIG wUNDGHaRTDQefc+G2DzNOoGAJAY7f/bddedGhY5e4pnPM4PJYda9UfeXwM9r3lhlKhBbeq TwLAoSTHj7KkQA7xAcz8bnPYRaxLoWeRFF2apfbaAgiLtEX/tyaGM9DJk3dFNaXMGzpPAZ 5MWx6yDHrJPJaSpFcsntIdDb8zlcuIhrrjTO7suCYcGjAozzq1HyYfNj4xwT+mSyEd4ij/ wLGfk0LIELtsGkwDFjpkWzvodt4uwmP/YhCt8i+v0QGXw+bcyYSzF6Da84/3QQ== ARC-Authentication-Results: i=1; rspamd-68bbddc7f5-nfmqz; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@jidanni.org X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Chemical-Shrill: 7a3982b2388bc94f_1716418296243_3436397378 X-MC-Loop-Signature: 1716418296242:2520768672 X-MC-Ingress-Time: 1716418296242 Original-Received: from pdx1-sub0-mail-a288.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.118.214.199 (trex/6.9.2); Wed, 22 May 2024 22:51:36 +0000 Original-Received: from jidanni.org (114-41-18-11.dynamic-ip.hinet.net [114.41.18.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a288.dreamhost.com (Postfix) with ESMTPSA id 4Vl64766P1zF7; Wed, 22 May 2024 15:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1716418295; bh=sBWtJALNNt63S56myoiKuLS2Q56tJCLR16HE2iE8kLI=; h=Date:From:To:Cc:Subject:Content-Type; b=UIZ4xbLVYxdCNOpaowsr7VYnV977m8QwqUq1VxZpUNmwlo7fwgpADKWyUm9Pmao7f HiQAnRUHHebMoQ5hQZg7nJbaUQsR1oLIffA32UoE5pL4PZS3zSGcoe+le1IIQlebAO 6MYOXUoSY8Pp5TQV+p3Qwtd6bWEp71Xwddnddm1Q1+o0ZUnm9wYOGi9gZ9JIfQd5Fn qqtRKMSU7+SQgVHDd8H0wL2n9hXEssh9JiZGc0P3TVTwzVStaR6N6YAw8Wi9x73oFi 4s//4FM+vTr8plIVHhUXru0YpAIXgh+mi7m+B0Ph1qJXr6joKVZdB5UFp8KJC+V9DO RH4TBG/SooPmw== Original-Received: from jidanni by jidanni.org with local (Exim 4.96) (envelope-from ) id 1s9uo0-0000cP-1U; Thu, 23 May 2024 06:51:32 +0800 Content-Disposition: inline In-Reply-To: <86frua6ly0.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285664 Archived-At: 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!