Ed Mooney writes:
 > I had the same problem. The symptom is that after you open an archive, 
 > you can't extract a member to its own buffer.
 > 
 > Under 2.3.4, archive-zip-extract gets set to ("unzip" "-qq" "-c"). 
 > Undert 2.3.5, it gets set to ("pkunzip" "-e" "-o-"). (In my environment, 
 > anyway. I don't know which extraction utility is the default, but I 
 > don't seem to have customized it.) A related difference between the two 
 > JDE versions is that jde-util.el uses archive-zip-extract in 2.3.5, but 
 > not in 2.3.4. I don't understand elisp well enough to know if it's being 
 > called or defined.
 > 
 > I fixed things by:
 > 
 >      M-x customize-apropos RET archive-zip-extract
 > 
 > Enter "unzip" for "Program:" and "-qq" and "-c" as options. Then, "Save 
 > for Future Sessions".

Hi Ed,

JDEE 2.3.5 adds some infrastructure to support navigation of zip and
jar files in jde-sourcepath. The infrastructure loads arc-mode on
JDEE startup. When arc-mode is loaded on Windows, it sets the
value of archive-zip-extract to ("pkunzip" "-e" "-o-") if 
archive-zip-use-pkzip is nonnil (the default). Otherwise, it sets the value
to ("unzip" "-qq" "-c"). In short, arc-mode is set up to use pkunzip
by default on Windows. If you want to avoid this, customize
archive-zip-use-pkzip to be off (nil).

Paul


 > 
 >    -- Ed
 > 
 > Paul Kinnucan wrote:
 > > Yoon Kyung Koo writes:
 > >  > After installing jde 2.3.5 I cannot read files embedded in zip or jar 
 > > file.
 > >  > The error message is as follows :
 > >  > 
 > >  > Searching for program: no such file or directory, pkunzip
 > >  > 
 > >  > I use unzip instead of pkunzip.
 > >  > ;;  use unzip instead of pkunzip
 > >  > (setq archive-zip-use-pkzip nil)
 > >  > 
 > > 
 > > The JDEE does not set this variable, as far as I know.
 > > 
 > > Paul
 > > 
 > 
 > -- 
 > Ed Mooney         |Sun Microsystems, Inc.|Time flies like
 > Java Web Services |UBUR02-201            |an arrow, but
 > [EMAIL PROTECTED] |1 Network Drive       |fruit flies like
 > 781-442-0459      |Burlington, MA  01803 |a banana. Groucho

Reply via email to