From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gareth Rees Newsgroups: gmane.emacs.bugs Subject: bug#4298: .egg files could open in archive-mode by default Date: Mon, 31 Aug 2009 15:58:42 +0100 Message-ID: Reply-To: Gareth Rees , 4298@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251734263 19373 80.91.229.12 (31 Aug 2009 15:57:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 15:57:43 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 31 17:57:36 2009 Return-path: Envelope-to: geb-bug-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 1Mi9G9-0004QI-DG for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 17:57:33 +0200 Original-Received: from localhost ([127.0.0.1]:42335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi9G8-0001b2-Tw for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 11:57:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mi8TM-0000OA-Vq for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 11:07:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mi8TE-0000Jz-Tx for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 11:07:06 -0400 Original-Received: from [199.232.76.173] (port=36653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi8TD-0000Ji-Eq for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 11:06:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52131) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mi8TC-0005MD-Jf for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 11:06:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7VF6tdx019694; Mon, 31 Aug 2009 08:06:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7VF56V9018757; Mon, 31 Aug 2009 08:05:06 -0700 Resent-Date: Mon, 31 Aug 2009 08:05:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Gareth Rees Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 31 Aug 2009 15:05:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4298 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125173074917393 (code B ref -1); Mon, 31 Aug 2009 15:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 31 Aug 2009 14:59:09 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7VEx7oi017390 for ; Mon, 31 Aug 2009 07:59:08 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mi8La-00040k-Vy for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:59:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mi8LV-0003ug-1s for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:59:05 -0400 Original-Received: from [199.232.76.173] (port=58607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi8LU-0003uB-Qy for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:59:00 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:56111 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mi8LU-0003Qn-F1 for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:59:00 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A5E531F055 for ; Mon, 31 Aug 2009 10:58:53 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :from:to:content-type:content-transfer-encoding:mime-version :subject:date; s=sasl; bh=rpoTyksf1NbOhVzgserIsfJTd3Y=; b=dBAM4M yQWZ97Qq3CACSZdLcjaYMT9YU6Nv62WBVaMvJ91YP5Gj5BDfxaL1gAhW1aEnq7bA OQkEftF0q0tltY52CkQghUjHprj/9EWoC/4Dbhvpwpy4+6eVnM6OLEShHcXXvM8F eSwTmgaSwSV0lxMptjfgLxXcyn80qepgM2G0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:from :to:content-type:content-transfer-encoding:mime-version:subject :date; q=dns; s=sasl; b=rLmEfvbiiX7A2L90hsIgBVTgc0MYmuKPAknEuEmF 70HAsxHwD+PlPK+yloTY1Hvlzeng6fEM7OAnPjxlvcVTwHV80Xw0uTk+qbqshmgy DmBbc1kZMaJWHBekQeGihG2/8RObAlFcc+OyOrqfvSucCGzLgSqBw2bVWJfoo51V OTo= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A25301F051 for ; Mon, 31 Aug 2009 10:58:53 -0400 (EDT) Original-Received: from [192.168.0.2] (unknown [82.69.91.179]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPA id 382E71F050 for ; Mon, 31 Aug 2009 10:58:52 -0400 (EDT) X-Mailer: Apple Mail (2.936) X-Pobox-Relay-ID: CCD4E14A-963E-11DE-9162-CA0F1FFB4A78-43646240!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 31 Aug 2009 11:07:05 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30684 Archived-At: Python modules are often distributed as files with the extension ".egg". These are just ZIP files with a convention about the layout of the contents, as described in [1]. It would be nice if Emacs could open these files in archive-mode by default, either by adding an entry for the file extension ".egg" to auto-mode-alist, or by adding a suitable pattern for ZIP files to magic-fallback-mode-alist. (Perhaps this suggestion will become moot when libmagic is integrated into Emacs.) [1] "The Internal Structure of Python Eggs"; http://svn.python.org/projects/sandbox/trunk/setuptools/doc/formats.txt -- Gareth Rees