Thanks, Paul and Ed.

In my case, adding both archive-zip-use-pkzip and archive-zip-extract works.

;; use unzip instead of pkunzip
(setq archive-zip-use-pkzip nil)
(setq archive-zip-extract (quote ("unzip" "-qq" "-c")))


Paul Kinnucan wrote:

>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
>  
>

-- 
--------------------
 Java Architect yoonforh at tmax dot co dot kr (ICQ #21382429)
 Building on One Span Ahead Technology
 Process Engineer From Software Development To Business Modeling
 PGP  http://www.javadom.com/personal/yoonforhatyahoodotcom.asc


Reply via email to