bug#2643: 23.0.91; request for enhancement?

Kevin Rodgers <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.