From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#33450: 26.1.90; NEWS entry for dired 'Z' is inaccurate Date: Tue, 20 Nov 2018 19:39:05 -0800 Message-ID: <32297.1542771545@alto> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542771486 8004 195.159.176.226 (21 Nov 2018 03:38:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2018 03:38:06 +0000 (UTC) To: 33450@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 21 04:38:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPJKz-0001wb-VR for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Nov 2018 04:38:02 +0100 Original-Received: from localhost ([::1]:37035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPJN6-0006Cl-75 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 22:40:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPJMz-0006CV-LU for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 22:40:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPJMw-0007NM-Ay for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 22:40:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPJMw-0007Lb-74 for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 22:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPJMw-0001cC-34 for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 22:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Nov 2018 03:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33450 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15427715666158 (code B ref -1); Wed, 21 Nov 2018 03:40:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Nov 2018 03:39:26 +0000 Original-Received: from localhost ([127.0.0.1]:37638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPJML-0001bG-Md for submit@debbugs.gnu.org; Tue, 20 Nov 2018 22:39:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPJMK-0001b3-1P for submit@debbugs.gnu.org; Tue, 20 Nov 2018 22:39:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPJMD-0003JJ-Nt for submit@debbugs.gnu.org; Tue, 20 Nov 2018 22:39:18 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:32898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gPJMD-0003JB-L6 for submit@debbugs.gnu.org; Tue, 20 Nov 2018 22:39:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPJMC-0006Bp-Ax for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 22:39:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPJM9-00039a-5Q for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 22:39:16 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:42360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPJM8-00037W-Sp for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 22:39:13 -0500 Original-Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id wAL3d5Ll000791 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Nov 2018 19:39:11 -0800 (PST) (envelope-from mkupfer@alum.berkeley.edu) X-Authentication-Warning: shell1.rawbw.com: Host 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be alto X-Mailer: MH-E 8.6+git; nmh 1.6; GNU Emacs 26.1.90 Content-ID: <32296.1542771545.1@alto> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152612 Archived-At: The 26.1.90 NEWS file has this (new) entry for Dired: *** The 'Z' command on a directory name compresses all of its files. It produces a compressed '.tar.gz' archive with all the files in the directory and all of its subdirectories. For symmetry, 'Z' on a '.tar.gz' or a '.tgz' archive extracts all the archived files into a directory whose name is the archive name sans the '.tar.gz' or '.tgz' extension. (This change was actually made in Emacs 26.1, but was not called out in its NEWS.) The description of the unpacking case implies that the user will see the described behavior for any .tar.gz or .tgz file. In reality, 'Z' simply unpacks the archive. The described behavior only happens if the archive is structured in a canonical way, e.g., if 'Z' was used to create the .tar.gz file. The wording should be changed, so as not to mislead the user about what 'Z' does. A user who misunderstands what 'Z' does could lose data due to unanticipated overwrite when the archive is unpacked. (Note that the docstring for dired-do-compress says nothing about creating or unpacking archive files.) Also, and less important, I got the impression from the discussion on emacs-devel that this feature was partially introduced in Emacs 25. Wasn't the change in 26.1 just to make .tar.gz and .tgz behave the same? I'm not sure it's worth trying to be that precise in the NEWS entry, but I thought I'd mention it. regards, mike In GNU Emacs 26.1.90 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll = bars) of 2018-11-19 built on alto Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 System Description: Debian GNU/Linux 9.6 (stretch) Recent messages: Saving file /home/kupfer/.newsrc.eld... Wrote /home/kupfer/.newsrc.eld Saving /home/kupfer/.newsrc.eld...done fetchmail: background fetchmail at 2089 awakened. Scanning +inbox...done No messages in +inbox, range (all) setting password recognizer Please type y or n: y View mode: type for help, h for commands, q to quit. Mark saved where search started Configured using: 'configure --prefix=3D/usr/local' Configured features: XPM JPEG TIFF GIF PNG SOUND NOTIFY GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM THREADS Important settings: value of $LC_TIME: C value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: MH-Folder Minor modes in effect: hl-line-mode: t shell-dirtrack-mode: t delete-selection-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow mh-identity mh-letter mh-comp emacsbug gnus-dup vc-hg mh-thread org-rmail org-mhe org-irc org-info org-gnus nnir org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org-element avl-tree generator org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs map dired-x view pp misearch multi-isearch sort flow-fill gnus-bcklg gnus-async gnus-kill cl-extra help-mode gnus-ml disp-table utf-7 rfc2104 url-http url-gw url-cache url-auth url-handlers nndoc nnrss mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf nndraft nnmh network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache mh-alias crm shr-color color url-util url-parse url-vars qp shr svg xml dom browse-url mm-archive mail-extr mh-mime mh-gnus mh-show goto-addr thingatpt gnus-cite gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-win gnus-range gnus nnheader wid-edit mh-inc hl-line mh-tool-bar mh-seq mh-xface mh-utils mh-folder which-func imenu mh-scan mh-e mh-compat mh-buffers mh-loaddefs mdk-mail smtpmail auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs sendmail message rmc puny seq gv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader elec-pair server noutline outline easy-mmode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs byte-opt bytecomp byte-compile cconv shell pcomplete comint ansi-color ring xcscope easymenu advice delsel vc cl-loaddefs cl-lib vc-dispatcher timeclock mdk-hacks time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 404282 45579) (symbols 48 43548 3) (miscs 40 632 1235) (strings 32 108061 13428) (string-bytes 1 3445889) (vectors 16 42901) (vector-slots 8 945970 54386) (floats 8 496 693) (intervals 56 19850 1284) (buffers 992 46))