* bug#4298: .egg files could open in archive-mode by default @ 2009-08-31 14:58 ` Gareth Rees 2009-08-31 19:02 ` Juri Linkov 2009-09-01 19:40 ` bug#4298: marked as done (.egg files could open in archive-mode by default) Emacs bug Tracking System 0 siblings, 2 replies; 4+ messages in thread From: Gareth Rees @ 2009-08-31 14:58 UTC (permalink / raw) To: bug-gnu-emacs 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4298: .egg files could open in archive-mode by default 2009-08-31 14:58 ` bug#4298: .egg files could open in archive-mode by default Gareth Rees @ 2009-08-31 19:02 ` 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 1 sibling, 1 reply; 4+ messages in thread From: Juri Linkov @ 2009-08-31 19:02 UTC (permalink / raw) To: Gareth Rees; +Cc: 4298 > 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.) Emacs should support this regardless of the libmagic presence. Could you please try to open an .egg file in the latest CVS. -- Juri Linkov http://www.jurta.org/emacs/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4298: .egg files could open in archive-mode by default 2009-08-31 19:02 ` Juri Linkov @ 2009-08-31 20:14 ` Gareth Rees 0 siblings, 0 replies; 4+ messages in thread From: Gareth Rees @ 2009-08-31 20:14 UTC (permalink / raw) To: Juri Linkov; +Cc: 4298 Juri Linkov wrote: > Emacs should support this regardless of the libmagic presence. > > Could you please try to open an .egg file in the latest CVS. Unfortunately the latest CVS does not build for me: $ ./configure --with-ns && make ... Compiling /Users/gdr/emacs-cvs/emacs/lisp/url/url-dav.el In toplevel form: url/url-dav.el:36:1:Error: Cannot open doc string file "/Applications/ Emacs.app/Contents/Resources/etc/DOC-23.1.50.1" make[1]: *** [/Users/gdr/emacs-cvs/emacs/lisp/url/url-dav.elc] Error 1 make: *** [lisp] Error 2 (I don't know why it's looking in /Applications/Emacs.app for the doc string file instead of in the local build tree where it exists.) -- Gareth Rees ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4298: marked as done (.egg files could open in archive-mode by default) 2009-08-31 14:58 ` bug#4298: .egg files could open in archive-mode by default Gareth Rees 2009-08-31 19:02 ` Juri Linkov @ 2009-09-01 19:40 ` Emacs bug Tracking System 1 sibling, 0 replies; 4+ messages in thread From: Emacs bug Tracking System @ 2009-09-01 19:40 UTC (permalink / raw) To: Glenn Morris [-- Attachment #1: Type: text/plain, Size: 896 bytes --] Your message dated Tue, 01 Sep 2009 15:35:31 -0400 with message-id <wahbvmsbjw.fsf@fencepost.gnu.org> and subject line Re: bug#4298: .egg files could open in archive-mode by default has caused the Emacs bug report #4298, regarding .egg files could open in archive-mode by default to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 4298: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4298 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 3860 bytes --] From: Gareth Rees <gareth.rees@pobox.com> To: bug-gnu-emacs@gnu.org Subject: .egg files could open in archive-mode by default Date: Mon, 31 Aug 2009 15:58:42 +0100 Message-ID: <CD4BA927-CFCA-45D0-8208-2697477DD22E@pobox.com> 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 [-- Attachment #3: Type: message/rfc822, Size: 1814 bytes --] From: Glenn Morris <rgm@gnu.org> To: 4298-done@emacsbugs.donarmstrong.com Subject: Re: bug#4298: .egg files could open in archive-mode by default Date: Tue, 01 Sep 2009 15:35:31 -0400 Message-ID: <wahbvmsbjw.fsf@fencepost.gnu.org> Juri Linkov wrote: > Emacs should support this regardless of the libmagic presence. > > Could you please try to open an .egg file in the latest CVS. I downloaded a random .egg file and it opened fine for me in the CVS trunk (not in 23.1). ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-01 19:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <wahbvmsbjw.fsf@fencepost.gnu.org> 2009-08-31 14:58 ` bug#4298: .egg files could open in archive-mode by default Gareth Rees 2009-08-31 19:02 ` 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
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).