GNU bug report logs - #2643
Handle .oxt files like zip files

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Web.DE>

Date: Thu, 12 Mar 2009 00:00:03 UTC

Severity: wishlist

Fixed in version 23.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-pretest-bug <at> gnu.org
Subject: bug#2643: 23.0.91; request for enhancement?
Date: Thu, 12 Mar 2009 20:40:55 -0600
Peter Dyballa wrote:
> Hello!
> 
> OpenOffice can load extension files with the file name extension .oxt, 
> which are PKzip files, starting with PK^C^D. Dired-mode's y tells:
> 
>     FileName.oxt: Zip archive data, at least v2.0 to extract
> 
> When I try to view it with v from dired-mode, GNU Emacs displays mostly 
> binary data. "Auto-Compression minor mode (no indicator)" is reported to 
> be on, though. Hard-linking it to file.zip allows me to do all the 
> things an archive-mode buffer allows. It also works with a hard-link 
> file.oxt.zip.

So it's just a matter of handling the .oxt extension the same as .zip?

(add-to-list 'auto-mode-alist '("\\.oxt\\'" . archive-mode))
(add-to-list 'auto-mode-alist '("\\.OXT\\'" . archive-mode))

-- 
Kevin Rodgers
Denver, Colorado, USA






This bug report was last modified 13 years and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.