From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rocky@panix.com (R. Bernstein) Newsgroups: gmane.emacs.help 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 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230039044 12106 80.91.229.12 (23 Dec 2008 13:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 13:30:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 23 14:31:51 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LF7MO-0001mN-UU for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Dec 2008 14:31:46 +0100 Original-Received: from localhost ([127.0.0.1]:44882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LF7L9-00006t-P7 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Dec 2008 08:30:27 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader1.panix.com 1229927365 24519 166.84.1.5 (22 Dec 2008 06:29:25 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 22 Dec 2008 06:29:25 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) Cancel-Lock: sha1:KwjMZW6IbRA9NjVnHWDn6iNIwZ8= Original-Xref: news.stanford.edu gnu.emacs.help:165568 X-Mailman-Approved-At: Tue, 23 Dec 2008 08:29:51 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60914 Archived-At: 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.