Yoon Kyung Koo writes:
> 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")))
The second is redundant because arc-mode.el defines archive-zip-extract
as follows:
(defcustom archive-zip-extract
(if archive-zip-use-pkzip '("pkunzip" "-e" "-o-") '("unzip" "-qq" "-c"))
"*Program and its options to run in order to extract a zip file member.
Extraction should happen to standard output. Archive and member name will
be added. If `archive-zip-use-pkzip' is non-nil then this program is
expected to extract to a file junking the directory part of the name."
:type '(list (string :tag "Program")
(repeat :tag "Options"
:inline t
(string :format "%v")))
:group 'archive-zip)
Paul
>
>
> 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
>
>