help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I directly specify a zip file member as a command or command-line


From: R. Bernstein
Subject: How do I directly specify a zip file member as a command or command-line option?
Date: Mon, 22 Dec 2008 01:29:24 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix)

In GNU Emacs there is Zip-Archive mode and from a directory list I can
run (archive-extract) to view a member of the zip file. But I'd like
to run an emacs commnad to open the member directly without going
through the directory listing. (archive-zip-extract) seems to be
close, but that seems require setup on the outside with buffers.

The particular application I have in mind is a Python debugger where
sometimes the positions will be a file and line number inside a zip
file, specifically a Python egg.

Related to the above is the ability on the *command-line* to go to a
specific location inside a zip file. Emacs follows a convention for
editing a file and line number: FILE:LINENUM, but is there a
convention or way to specify a position inside some sort of archive?
If so, I'd make sure to arrange the debugger to output backtraces and
in that format.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]