GNU bug report logs - #26825
dired-do-compress should prompt with already determined action

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; dated Mon, 8 May 2017 09:51:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 May 2017 09:50:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 08 05:50:20 2017
Received: from localhost ([127.0.0.1]:32956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d7fJ6-0005vO-Hr
	for submit <at> debbugs.gnu.org; Mon, 08 May 2017 05:50:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38634)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1d7fJ4-0005vA-Es
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 05:50:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1d7fIy-0008Ri-GM
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 05:50:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_50,DATE_IN_PAST_12_24,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42743)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1d7fIy-0008Re-D5
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 05:50:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57828)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1d7fIw-0005yn-04
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 05:50:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1d7fIr-0008NA-4n
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 05:50:10 -0400
Received: from hapkido.dreamhost.com ([66.33.216.122]:38351)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1d7fIq-0008N0-SP
 for bug-gnu-emacs@HIDDEN; Mon, 08 May 2017 05:50:05 -0400
Received: from homiemail-a37.g.dreamhost.com (homie.mail.dreamhost.com
 [208.97.132.208])
 by hapkido.dreamhost.com (Postfix) with ESMTP id 3517489A96
 for <bug-gnu-emacs@HIDDEN>; Mon,  8 May 2017 02:50:00 -0700 (PDT)
Received: from homiemail-a37.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id C64BB20806E
 for <bug-gnu-emacs@HIDDEN>; Mon,  8 May 2017 02:49:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type; s=
 jidanni.org; bh=3Roh0v0fkjgAqe/6qd3qF++L+2o=; b=gMr+wEpdW45ygmQG
 I1fPhObTS3f1GKKRYCcjtAJnmvptgC+KqW30paSD6Y/k/Mmg7c7RfAG4ddVhYFwb
 YMjCHfpE8tSIy6pBot7AMa6BK9GFC+fa0Hh8YRcDSQAfQIMK8llqU/BESJD0Ltzs
 xxCYmnM3u1dEICLasoft36vzRU8=
Received: from jidanni.org (111-246-99-27.dynamic-ip.hinet.net [111.246.99.27])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by homiemail-a37.g.dreamhost.com (Postfix) with ESMTPSA id 7E59320806D
 for <bug-gnu-emacs@HIDDEN>; Mon,  8 May 2017 02:49:57 -0700 (PDT)
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Subject: dired-do-compress should prompt with already determined action
Date: Mon, 08 May 2017 03:44:25 +0800
Message-ID: <87fugg78py.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.2 (----)

Z runs the command dired-do-compress

But it prompts
"Compress or uncompress local.osm.gz? (y or n)" y
Uncompressing /cf/updates/no_backup/local.osm.gz...done

Can't the test be done a little earlier, so we could get
"Uncompress local.osm.gz? (y or n)" y
Uncompressing /cf/updates/no_backup/local.osm.gz...done

I mean it checks at some point what it should do.
Can't it check before asking?
I suppose the only savings of not checking earlier is if the user
aborts, then no check is needed.

The mixed case prompt twin wording,
"Compress or uncompress [next 3 files]? (y or n)"
is only fully appropriate if there indeed is a mixed case involved.




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26825; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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