From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs Subject: bug#20384: 24.5; feature suggestion: in dired-mode, "Z" on a directory should create a tarball or zip file Date: Mon, 20 Apr 2015 16:54:50 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b1604b9d779ba05142ac9f9 X-Trace: ger.gmane.org 1429548978 24137 80.91.229.3 (20 Apr 2015 16:56:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2015 16:56:18 +0000 (UTC) To: 20384@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 20 18:56:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YkEzS-0006xS-PQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 18:56:11 +0200 Original-Received: from localhost ([::1]:54644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkEzR-0001nn-Uf for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 12:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkEzM-0001nf-UF for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 12:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkEzK-0001YL-V6 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 12:56:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkEzK-0001YF-S9 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 12:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkEzK-0002el-Ff for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 12:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Hanchrow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Apr 2015 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20384 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.142954891010142 (code B ref -1); Mon, 20 Apr 2015 16:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Apr 2015 16:55:10 +0000 Original-Received: from localhost ([127.0.0.1]:33774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkEyQ-0002dS-Va for submit@debbugs.gnu.org; Mon, 20 Apr 2015 12:55:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59170) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkEyN-0002cr-NW for submit@debbugs.gnu.org; Mon, 20 Apr 2015 12:55:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkEyG-00010Z-GH for submit@debbugs.gnu.org; Mon, 20 Apr 2015 12:54:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkEyG-00010T-DJ for submit@debbugs.gnu.org; Mon, 20 Apr 2015 12:54:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkEyE-0000wQ-Lg for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 12:54:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkEyC-0000zy-U8 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 12:54:54 -0400 Original-Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:33512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkEyC-0000zn-H5 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 12:54:52 -0400 Original-Received: by paboj16 with SMTP id oj16so212216876pab.0 for ; Mon, 20 Apr 2015 09:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=fQAhJ99w/6a2/iMp47t8gWf/K5fNRrzCy2y4RoWHSZs=; b=t6LKinoJFblJ4TWtrOxYW4cAWRc9y86b3ghZgnlMRpcxUqVJToOki2vfrViT/p9seR 7mAZrVM9Rwmvk8HlZDsDq+1r7TfRFkuOx5gApi3JpyxAoz9Rrf7ZoXMX00dfvLBa8QhC 1B0NNEFFle5N5IqxIl33QztYFduGP5NbgEiYxd6mAJ56kMVcantPzXiwXLqsGjZAQJXd Zi4avnDUtDwAZK+cYa0UqhIp/p0wNsFZ3dPuJLNkHYzQM1BUb6iDnk/+OQ2fkfu/aN+Z HLAK5oEyDkR80etkzVfBTo2XGggGCtecgfjgd0NhIsW4YpPnkZdPvXesRHzX2U3w6vgf sJhQ== X-Received: by 10.68.245.67 with SMTP id xm3mr29477421pbc.45.1429548891074; Mon, 20 Apr 2015 09:54:51 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101766 Archived-At: --047d7b1604b9d779ba05142ac9f9 Content-Type: text/plain; charset=UTF-8 I just ran dired, put point on the name of a subdirectory, and hit Z (dired-do-compress), hoping that maybe Emacs would offer to create a compressed tarball or zip file out of the directory. Alas, it simply said "gzip: /private/tmp/rs5rack12.2015-04-19.1109PDT is a directory". In GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57) of 2015-04-10 on Eric-Hanchrows-iMac.local Repository revision: f8bb8c4045e94290aa564c38215e5ea5552ae778 Windowing system distributor `Apple', version 10.3.1347 Configured using: `configure --with-ns' Important settings: locale-coding-system: utf-8-unix Major mode: Dired by date Minor modes in effect: global-hl-line-mode: t diff-auto-refine-mode: t projectile-global-mode: t projectile-mode: t global-auto-revert-mode: t shell-dirtrack-mode: t recentf-mode: t pyvenv-mode: t ido-everywhere: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: ~ /tmp Deleting...done z is undefined Z runs the command dired-do-compress Compress or uncompress rs5rack12.2015-04-19.1109PDT? (y or n) y Compressing /private/tmp/rs5rack12.2015-04-19.1109PDT... gzip ("-f" "/private/tmp/rs5rack12.2015-04-19.1109PDT") gzip: /private/tmp/rs5rack12.2015-04-19.1109PDT is a directory Failed to compress/private/tmp/rs5rack12.2015-04-19.1109PDT Load-path shadows: /Users/erichanchrow/.emacs.d/elpa/edit-list-20100930.743/edit-list hides /Users/erichanchrow/.emacs.d/lisp/edit-list /Users/erichanchrow/.emacs.d/elpa/browse-kill-ring-20150104.1237/browse-kill-ring hides /Users/erichanchrow/.emacs.d/lisp/browse-kill-ring Features: (shadow sort mail-extr emacsbug sendmail dired-aux wdired ffap dabbrev cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ag vc-svn find-dired s ucs-normalize misearch multi-isearch company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-cmake company-xcode company-clang company-eclim company-template company-css company-nxml company-bbdb vc vc-dispatcher align flyspell ispell whitespace markdown-mode noutline outline smerge-mode eieio-opt speedbar sb-image ezimage dframe help-macro iedit-lib rect tar-mode pcase autoload lisp-mnt mule-util mm-archive network-stream starttls url-cache url-handlers finder-inf hl-line protbuf gist gh-gist gh-oauth gh-api logito gh-cache pcache gh-auth gh-common gh-url url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth url-cookie url-domsuf url-gw gh-profile timezone eieio-base magit-key-mode magit view epa epg diff-mode git-rebase-mode git-commit-mode log-edit easy-mmode message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log vc-git projectile dash thingatpt derived autorevert filenotify elisp-slime-nav paste-to-dropbox path ssh server warnings saveplace url-util url-parse url-vars find-func ibuf-ext ibuf-macs ibuffer tramp-cache tramp-sh tramp tramp-compat auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete format-spec advice recentf tree-widget dired-x dired perl-extras perl-mode autoinsert cl-macs yasnippet help-mode cl gv highlight-indentation flymake eldoc company edmacro kmacro help-fns elpy pyvenv elpy-refactor python json ido grep compile comint ansi-color files-x etags ring cus-edit cus-start cus-load wid-edit eredis-autoloads eieio byte-opt bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv eieio-core go-mode-autoloads logito-autoloads info easymenu puppetfile-mode-autoloads package epg-config time rx midnight time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 979592 128965) (symbols 48 50773 0) (miscs 40 8158 3676) (strings 32 149573 5241) (string-bytes 1 3812416) (vectors 16 68756) (vector-slots 8 1912031 53995) (floats 8 769 2914) (intervals 56 86484 2838) (buffers 960 79)) --047d7b1604b9d779ba05142ac9f9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I just ran dired, put point on the name of a subdirec= tory, and hit Z
(dired-do-compress), hoping that maybe Emacs = would offer to create a
compressed tarball or zip file out of the= directory.=C2=A0 Alas, it simply
said "gzip: /private/tmp/r= s5rack12.2015-04-19.1109PDT is a directory".

=

In GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.= 0, NS apple-appkit-1347.57)
=C2=A0of 2015-04-10 on Eric-Hanchrows= -iMac.local
Repository revision: f8bb8c4045e94290aa564c38215e5ea5= 552ae778
Windowing system distributor `Apple', version 10.3.1= 347
Configured using:
=C2=A0`configure --with-ns'

Important settings:
=C2=A0 locale-coding-= system: utf-8-unix

Major mode: Dired by date
=

Minor modes in effect:
=C2=A0 global-hl-line-= mode: t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 projecti= le-global-mode: t
=C2=A0 projectile-mode: t
=C2=A0 glob= al-auto-revert-mode: t
=C2=A0 shell-dirtrack-mode: t
= =C2=A0 recentf-mode: t
=C2=A0 pyvenv-mode: t
=C2=A0 ido= -everywhere: t
=C2=A0 display-time-mode: t
=C2=A0 toolt= ip-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 file-name-= shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 f= ont-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 aut= o-composition-mode: t
=C2=A0 auto-encryption-mode: t
= =C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-only: t
<= div>=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent messages:
~=C2=A0
/tmp=C2= =A0
Deleting...done
z is undefined
Z runs the= command dired-do-compress
Compress or uncompress rs5rack12.2015-= 04-19.1109PDT? (y or n) y
Compressing /private/tmp/rs5rack12.2015= -04-19.1109PDT...
gzip ("-f" "/private/tmp/rs5rack= 12.2015-04-19.1109PDT")
gzip: /private/tmp/rs5rack12.2015-04= -19.1109PDT is a directory
Failed to compress/private/tmp/rs5rack= 12.2015-04-19.1109PDT

Load-path shadows:
/Users/erichanchrow/.emacs.d/elpa/edit-list-20100930.743/edit-list hides /= Users/erichanchrow/.emacs.d/lisp/edit-list
/Users/erichanchrow/.e= macs.d/elpa/browse-kill-ring-20150104.1237/browse-kill-ring hides /Users/er= ichanchrow/.emacs.d/lisp/browse-kill-ring

Features= :
(shadow sort mail-extr emacsbug sendmail dired-aux wdired ffap = dabbrev
cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-st= yles cc-align
cc-engine cc-vars cc-defs ag vc-svn find-dired s uc= s-normalize misearch
multi-isearch company-files company-oddmuse = company-keywords
company-etags company-gtags company-dabbrev-code= company-dabbrev
company-cmake company-xcode company-clang compan= y-eclim company-template
company-css company-nxml company-bbdb vc= vc-dispatcher align flyspell
ispell whitespace markdown-mode nou= tline outline smerge-mode eieio-opt
speedbar sb-image ezimage dfr= ame help-macro iedit-lib rect tar-mode
pcase autoload lisp-mnt mu= le-util mm-archive network-stream starttls
url-cache url-handlers= finder-inf hl-line protbuf gist gh-gist gh-oauth
gh-api logito g= h-cache pcache gh-auth gh-common gh-url url-http tls url
url-prox= y url-privacy url-expand url-methods url-history mailcap
url-auth= url-cookie url-domsuf url-gw gh-profile timezone eieio-base
magi= t-key-mode magit view epa epg diff-mode git-rebase-mode
git-commi= t-mode log-edit easy-mmode message rfc822 mml mml-sec mm-decode
m= m-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
= mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log vc-git
projectile dash thingatpt derived autorevert filenotify elisp-slime-nav<= /div>
paste-to-dropbox path ssh server warnings saveplace url-util url-= parse
url-vars find-func ibuf-ext ibuf-macs ibuffer tramp-cache t= ramp-sh tramp
tramp-compat auth-source gnus-util mm-util mail-prs= vr password-cache
tramp-loaddefs trampver shell pcomplete format-= spec advice recentf
tree-widget dired-x dired perl-extras perl-mo= de autoinsert cl-macs
yasnippet help-mode cl gv highlight-indenta= tion flymake eldoc company
edmacro kmacro help-fns elpy pyvenv el= py-refactor python json ido grep
compile comint ansi-color files-= x etags ring cus-edit cus-start cus-load
wid-edit eredis-autoload= s eieio byte-opt bytecomp byte-compile cl-extra
cl-loaddefs cl-li= b cconv eieio-core go-mode-autoloads logito-autoloads
info easyme= nu puppetfile-mode-autoloads package epg-config time rx
midnight = time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-floa= t-type mwheel ns-win tool-bar dnd fontset image regexp-opt
fringe= tabulated-list newcomment lisp-mode prog-mode register page
menu= -bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek<= div>romanian slovak czech european ethiopic indian cyrillic chinesecase-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice<= /div>
loaddefs button faces cus-face macroexp files text-properties ove= rlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process cocoa ns
multi-tty emacs)

Memory information:
<= div>((conses 16 979592 128965)
=C2=A0(symbols 48 50773 0)
=C2=A0(miscs 40 8158 3676)
=C2=A0(strings 32 149573 5241)
=C2=A0(string-bytes 1 3812416)
=C2=A0(vectors 16 68756)
=C2=A0(vector-slots 8 1912031 53995)
=C2=A0(floats 8 769 2= 914)
=C2=A0(intervals 56 86484 2838)
=C2=A0(buffers 960= 79))

--047d7b1604b9d779ba05142ac9f9--