all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gareth Rees <gareth.rees@pobox.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#4298: .egg files could open in archive-mode by default
Date: Mon, 31 Aug 2009 15:58:42 +0100	[thread overview]
Message-ID: <CD4BA927-CFCA-45D0-8208-2697477DD22E@pobox.com> (raw)

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






             reply	other threads:[~2009-08-31 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <wahbvmsbjw.fsf@fencepost.gnu.org>
2009-08-31 14:58 ` Gareth Rees [this message]
2009-08-31 19:02   ` bug#4298: .egg files could open in archive-mode by default Juri Linkov
2009-08-31 20:14     ` Gareth Rees
2009-09-01 19:40   ` bug#4298: marked as done (.egg files could open in archive-mode by default) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CD4BA927-CFCA-45D0-8208-2697477DD22E@pobox.com \
    --to=gareth.rees@pobox.com \
    --cc=4298@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.