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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2643 in the body.
You can then email your comments to 2643 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2643; Package emacs. (Thu, 12 Mar 2009 00:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Web.DE>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 12 Mar 2009 00:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Web.DE>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; request for enhancement?
Date: Thu, 12 Mar 2009 00:54:45 +0100
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.

In GNU Emacs 23.0.91.1 (powerpc-apple-darwin8.11.0, GTK+ Version 2.14.7)
 of 2009-02-28 on localhost
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--x-includes=/opt/local/include' '--x- 
libraries=/opt/local/lib' '--enable-locallisppath=/Library/ 
Application Support/Emacs/calendar23:/Library/Application Support/ 
Emacs' 'PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/ 
pkgconfig:/usr/lib/pkgconfig' 'CFLAGS=-Wno-pointer-sign -H -pipe - 
fPIC -mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize - 
foptimize-register-move -freorder-blocks -freorder-blocks-and- 
partition -fthread-jumps -fpeephole -fno-crossjumping' 'LDFLAGS=- 
dead_strip -multiply_defined suppress -L/opt/local/lib' 'CPPFLAGS=-no- 
cpp-precomp -I/usr/include/openssl -I/sw/include/pango-1.0 -I/sw/lib/ 
fontconfig2/include -I/usr/local/include -I/sw/include''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Dired by date

Minor modes in effect:
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

--
Mit friedvollen Grüßen

  Pete

Windows, c'est un peu comme le beaujolais nouveau: à chaque nouvelle  
cuvée on sait que ce sera dégueulasse, mais on en prend quand même,  
par masochisme.






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2643; Package emacs. (Fri, 13 Mar 2009 02:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Rodgers <kevin.d.rodgers <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 13 Mar 2009 02:50:03 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-pretest-bug <at> gnu.org
Subject: Re: 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






Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Fri, 27 Mar 2009 03:05:09 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 27 Mar 2012 19:37:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Web.DE>:
bug acknowledged by developer. (Tue, 27 Mar 2012 19:37:02 GMT) Full text and rfc822 format available.

Message #17 received at 2643-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 2643-done <at> debbugs.gnu.org
Subject: Re: bug#2643: 23.0.91; request for enhancement?
Date: Tue, 27 Mar 2012 15:04:38 -0400
Version: 23.1

2009-03-13  Stefan Monnier  <monnier at iro.umontreal.ca>

   * files.el (auto-mode-alist): Add rules for OpenOffice extension packages




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 25 Apr 2012 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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