From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Saulius_Menkevi=C4=8Dius?= Newsgroups: gmane.emacs.devel Subject: Re: extracting a zip archive via elisp (with no external executables) Date: Sun, 9 Jul 2017 21:58:46 +0300 Message-ID: <38400216-AEF4-404C-80ED-0A28FB85E30E@gmail.com> References: <6DD83BBE-94C7-40ED-A4DD-21BC4B0E834D@gmail.com> <20170709185119.GA21572@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1499626779 10580 195.159.176.226 (9 Jul 2017 18:59:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2017 18:59:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 09 20:59:33 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dUHQb-0002QJ-53 for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 20:59:33 +0200 Original-Received: from localhost ([::1]:37113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUHQg-00043D-Mu for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 14:59:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUHQ3-000438-Vm for emacs-devel@gnu.org; Sun, 09 Jul 2017 14:59:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUHPz-0006qG-5V for emacs-devel@gnu.org; Sun, 09 Jul 2017 14:59:00 -0400 Original-Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:36393) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUHPy-0006pf-Ul for emacs-devel@gnu.org; Sun, 09 Jul 2017 14:58:55 -0400 Original-Received: by mail-lf0-x231.google.com with SMTP id h22so47120300lfk.3 for ; Sun, 09 Jul 2017 11:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xCsBuajZui1xw4/IZd1MHtvcC3PHk5LExRQ8YaXz22k=; b=SRWPtjTrAzMqYN1sdnU2aVTx7wai5eLxuMmsCLr8QC5nVT03i8OiwsdfTZxTcq+9Mr eTBzzzLEMWnE8V/J8x4lc6HNHWX0BXxH49ockaa42+tqDEPlu+/9FN3RzOnIvyLsiDvw irblnM/ZzZ/EEPCSX/I8UKUmN9iDP7pA3GXXnAqUIeZ5uai4mMtthyse4PO6u7WQgD1c KQc6Fslmw8gQt3BiaJ2LXdaoyCDWMnunwpfIa6a2GrrQsaFLcj7Rlz5VCPvWHoq3ddsA xx3wbjgmU4MRuYh40EfwezPmQOVcvDa38dhehekKJfJqGMJ49lJTWDJL9r3QcF0Ms1Jo qPYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xCsBuajZui1xw4/IZd1MHtvcC3PHk5LExRQ8YaXz22k=; b=j+Qo4f/S5WnQ/xt77cJposkszGwbmlYZrSLPLC7DPlj/hWjkKvI88+91K4tWZepvfO us0NwNtW6nOgzhOjdqBahh+EZolWS38mDjFiQhOo+GUYynWU60/6WaCrnKgxt97iyrlR gB8RGCdAFHzUSgpobkb0nYw8tMaIQRXV6HwP7+1Xv9XoF7LQsuzZiISP7Z28kXJ4Uhp9 rFuuwGb/k+O5/6NLKvtbY4l/MmNYr44wMImjYTVeJqlwuPeIkBZwk5QxH4MTXGbSkJaU gFBKtWDOfuJ6yuL2Vc3jmiDODfidRkv9wtLgHOgOmrbm8y+Ix2HVCOHlqHzRWQqDA9yU Gqhg== X-Gm-Message-State: AIVw110fnwEmUu5yyYWIGOeSKVXoTaFpBBkqBKxjNwec7oZmVJ+cWv3s TDiAyfql/KG5P47ddMM= X-Received: by 10.46.0.163 with SMTP id e35mr3259075lji.20.1499626733316; Sun, 09 Jul 2017 11:58:53 -0700 (PDT) Original-Received: from [172.20.10.2] (md-188-69-215-237.omni.lt. [188.69.215.237]) by smtp.gmail.com with ESMTPSA id t7sm1928776ljd.31.2017.07.09.11.58.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jul 2017 11:58:52 -0700 (PDT) In-Reply-To: <20170709185119.GA21572@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216371 Archived-At: The problem is those files come within a .zip file too. Kind of a chicken and egg scenario here for automatic code.. -Saulius > Am 09.07.2017 um 21:51 schrieb Alan Third : >=20 > On Sun, Jul 09, 2017 at 03:26:10PM +0300, Saulius Menkevi=C4=8Dius = wrote: >> There is arc-mode.el but it references existing binaries that should=20= >> be available on the system (unzip, 7zip, etc.) >>=20 >> Those executables are (usually) present on UNIX systems on $PATH,=20 >> but on Windows I am out of luck, apparently. >=20 > I=E2=80=99m not aware of any way to do this without using an external = binary, > but that=E2=80=99s not very hard. You can grab a Windows version of = unzip from >=20 > http://gnuwin32.sourceforge.net/packages/unzip.htm >=20 > and either add it=E2=80=99s directory to the windows PATH or put the = files > into an existing location on the PATH, like maybe into the Emacs > install=E2=80=99s bin directory. >=20 > --=20 > Alan Third