all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Saulius Menkevičius" <saulius.menkevicius@gmail.com>
To: emacs-devel@gnu.org
Subject: extracting a zip archive via elisp (with no external executables)
Date: Sun, 9 Jul 2017 15:26:10 +0300	[thread overview]
Message-ID: <6DD83BBE-94C7-40ED-A4DD-21BC4B0E834D@gmail.com> (raw)

Hello,

I am looking for a package (or integrated functionality in Emacs) 
which I could use to extract a .zip file to a specified folder. So far
I have not found any functionality that can be used to do this
programatically.

There is arc-mode.el but it references existing binaries that should 
be available on the system (unzip, 7zip, etc.)

Those executables are (usually) present on UNIX systems on $PATH, 
but on Windows I am out of luck, apparently.

What I am trying to achieve is:
 - download a .zip file (via url-copy-file)
 - extract it to ~/.emacs.d/.cache/<package>/ subdir

Any hints?

Thanks,
-Saulius Menkevicius



             reply	other threads:[~2017-07-09 12:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-09 12:26 Saulius Menkevičius [this message]
2017-07-09 18:51 ` extracting a zip archive via elisp (with no external executables) Alan Third
2017-07-09 18:58   ` Saulius Menkevičius
2017-07-09 19:15     ` Kaushal Modi
2017-07-09 19:26       ` Saulius Menkevičius
2017-07-09 19:45         ` Eli Zaretskii
2017-07-09 19:49           ` Saulius Menkevičius
2017-07-09 20:09             ` Eli Zaretskii
2017-07-09 20:16               ` Saulius Menkevičius
2017-07-10  2:26                 ` Eli Zaretskii
2017-07-10  7:25                 ` Fabrice Popineau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6DD83BBE-94C7-40ED-A4DD-21BC4B0E834D@gmail.com \
    --to=saulius.menkevicius@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.